kubernetes/test/declarative_validation/coverage-allowlist.yaml
Yongrui Lin 87a1f97c90 test/declarative_validation: drop Scale allowlist exemptions and regen
Remove the autoscaling/v1.Scale, apps/v1beta1.Scale, and apps/v1beta2.Scale
entries from coverage-allowlist.yaml, then regenerate declarative-validation
test fixtures so the corresponding RegisterDeclaredRules calls and TestMain
files are emitted under autoscaling/scale/ and apps/scale/.
2026-05-13 20:08:14 +00:00

24 lines
722 B
YAML

# Suppressions for declarative-validation coverage.
#
# Every field is required. apiVersion matches exactly (use the standard
# "<group>/<version>" form, or "<version>" for core). kind, path,
# errorType, and origin match exactly OR wildcard with '*' (no implicit
# wildcarding, so an entry can never silently overexclude). reason is
# required.
#
# Example:
# - apiVersion: autoscaling/v1 # one specific rule
# kind: Scale
# path: spec.replicas
# errorType: FieldValueInvalid
# origin: minimum
# reason: tested separately
#
# Run hack/update-codegen.sh after editing.
- apiVersion: extensions/v1beta1
kind: '*'
path: '*'
errorType: '*'
origin: '*'
reason: Not served by kube-apiserver.