Fix external-secrets CRD sync failure with ServerSideApply
secretstores.external-secrets.io / clustersecretstores.external-secrets.io
CRDs embed a very large OpenAPI schema. Client-side apply stores the full
manifest in the last-applied-configuration annotation, exceeding
Kubernetes' 262144 byte annotation limit
("metadata.annotations: Too long"). Enable ServerSideApply for the
external-secrets Application to avoid that annotation entirely.
Co-authored-by: Copilot <[email protected]>
This commit is contained in:
@@ -53,6 +53,13 @@ applications:
|
|||||||
selfHeal: true
|
selfHeal: true
|
||||||
syncOptions:
|
syncOptions:
|
||||||
- CreateNamespace=true
|
- CreateNamespace=true
|
||||||
|
# The SecretStore/ClusterSecretStore CRDs embed a very large OpenAPI
|
||||||
|
# schema; a plain `kubectl apply` stores the full manifest in the
|
||||||
|
# `kubectl.kubernetes.io/last-applied-configuration` annotation,
|
||||||
|
# which exceeds Kubernetes' 262144 byte annotation limit and fails
|
||||||
|
# with "metadata.annotations: Too long". Server-side apply avoids
|
||||||
|
# writing that annotation entirely.
|
||||||
|
- ServerSideApply=true
|
||||||
|
|
||||||
# OpenBao secret management backend + its ClusterSecretStore binding for ESO.
|
# OpenBao secret management backend + its ClusterSecretStore binding for ESO.
|
||||||
- name: openbao
|
- name: openbao
|
||||||
|
|||||||
Reference in New Issue
Block a user