fix
This commit is contained in:
@@ -42,12 +42,11 @@ appSpec:
|
|||||||
namespace: gitea
|
namespace: gitea
|
||||||
chartDir: gitea
|
chartDir: gitea
|
||||||
valuesDir: gitea
|
valuesDir: gitea
|
||||||
# Adoption-only: the live init container still has plaintext `value`
|
# NOT using the Application-wide `replace: true` here anymore — it
|
||||||
# fields for GITEA_ADMIN_USERNAME/PASSWORD from the original imperative
|
# forces a full PUT of every resource this Application renders, and a
|
||||||
# install; our values switch those to `valueFrom: secretKeyRef`. Patch
|
# bound PVC's spec is immutable (volumeName/storageClassName get
|
||||||
# (client-side or server-side) can't clear the old field while adding
|
# filled in by the provisioner after binding; a PUT that omits them
|
||||||
# the new one — see the note in generic-argo-apps-chart's template.
|
# looks like clearing them, which the API correctly refuses). The
|
||||||
# Replace does a full PUT instead, so it just works. Safe to remove
|
# Deployment-only fix now lives as a per-resource sync-option
|
||||||
# once the live object no longer carries the old `value` fields —
|
# annotation in helm-overrides/k8s-admin-prd-ase1/gitea/custom-values.yaml
|
||||||
# after that first successful sync, plain patching is fine again.
|
# (deployment.annotations), which only Replaces the Deployment.
|
||||||
replace: true
|
|
||||||
Reference in New Issue
Block a user