authentik: align volumeClaimTemplates TypeMeta with SSA-created live object
StatefulSet/authentik-postgres has been eternally OutOfSync since ~Sprint 65 even though 'kubectl diff --server-side --field-manager=argocd-controller' shows zero real change. The STS was created via ServerSideApply, so the live object carries apiVersion/kind inside volumeClaimTemplates[]; git omitting them makes ArgoCD's normalized diff disagree forever. Declare them in git. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
@@ -113,7 +113,12 @@ spec:
|
|||||||
- name: pgdata
|
- name: pgdata
|
||||||
mountPath: /var/lib/postgresql/data
|
mountPath: /var/lib/postgresql/data
|
||||||
volumeClaimTemplates:
|
volumeClaimTemplates:
|
||||||
- metadata:
|
# apiVersion/kind included deliberately: this STS was created via ArgoCD ServerSideApply,
|
||||||
|
# so the live object carries PVC TypeMeta inside volumeClaimTemplates; omitting it here
|
||||||
|
# leaves the app eternally OutOfSync even though kubectl SSA dry-run shows no change.
|
||||||
|
- apiVersion: v1
|
||||||
|
kind: PersistentVolumeClaim
|
||||||
|
metadata:
|
||||||
name: pgdata
|
name: pgdata
|
||||||
spec:
|
spec:
|
||||||
storageClassName: longhorn
|
storageClassName: longhorn
|
||||||
|
|||||||
Reference in New Issue
Block a user