Files
jakman85andClaude Opus 4.8 275ac466b2 wire Cloudflare DNS token secrets + exempt *.sops.yaml from yamllint
- Rename the committed encrypted secrets to canonical cloudflare-api-token.sops.yaml
  (cert-manager + external-dns namespaces) and uncomment the resource lines in both
  kustomizations, so cert-manager DNS-01 + ExternalDNS get the token at reconcile.
- Exempt **/*.sops.yaml from ci/yamllint.yaml: SOPS re-emits encrypted files with its
  own indentation + long ENC[...] lines (never hand-edited), which was failing the lint
  gate on main after the secrets were committed. Same treatment as **/vault.yml.

Both Secrets confirmed present + encrypted in the platform build; gate PASS.

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
2026-08-17 00:35:45 -05:00

42 lines
1.4 KiB
YAML

# ci/yamllint.yaml — lint config for the yaml/lint gate stage.
# Kept under ci/ (not repo root) because WS-GITOPS(CI) owns only .gitea/ and ci/.
# Pass with: yamllint -c ci/yamllint.yaml <paths>
extends: default
yaml-files:
- "*.yaml"
- "*.yml"
# Machine-generated encrypted files — skip them:
# - ansible-vault files are a `$ANSIBLE_VAULT;...` blob, not parseable YAML.
# - SOPS-encrypted secrets (*.sops.yaml) are re-emitted by `sops` with its own indentation
# and long ENC[...] / mac lines; they're never hand-edited, so linting them is noise.
ignore: |
**/vault.yml
**/*.sops.yaml
rules:
# Kubernetes / Kustomize / Helm manifests routinely exceed 80 cols; allow room
# but keep a sane ceiling so lines stay reviewable.
line-length:
max: 160
level: warning
# '---' at the top of multi-doc manifests is idiomatic; don't force it, don't ban it.
document-start: disable
# Helm/Kustomize templates and CRDs use 'on:', 'yes'/'no' keys legitimately.
truthy:
allowed-values: ["true", "false"]
check-keys: false
# Gitea/GitHub Actions expressions `${{ ... }}` and inline flow maps
# (`with: { fetch-depth: 0 }`) legitimately carry a space inside braces.
braces:
max-spaces-inside: 1
min-spaces-inside: 0
comments:
min-spaces-from-content: 1
# Long inline comments in manifests are common.
comments-indentation: disable
indentation:
spaces: 2
indent-sequences: consistent