# .yamllint.yaml
extends: default

rules:
  # Allow long lines for base64 encoded values and URLs
  line-length:
    max: 200
    allow-non-breakable-words: true
    allow-non-breakable-inline-mappings: true

  # Kubernetes manifests use 2-space indentation
  indentation:
    spaces: 2
    indent-sequences: consistent

  # Allow multiple documents (---) in a single file
  document-start: enable

  # Be lenient with comments
  comments:
    require-starting-space: true
    min-spaces-from-content: 1

  # Allow empty values (common in Kustomize patches)
  empty-values: enable

  truthy:
    # Allow 'on' and 'yes' values (common in Kubernetes)
    allowed-values: ['true', 'false', 'yes', 'no', 'on', 'off']
