Make init container security context configurable in the Helm chart (#9646)
The two init containers in the Helm deployment template had hardcoded securityContext blocks, unlike the main container which already renders its context from .Values.containerSecurityContext via the renderSecurityContext helper. Switch the init containers to the same pattern so operators can customise (or disable) their security context. Default behaviour is unchanged: containerSecurityContext defaults to enabled with values identical to the previous hardcoded block, and the helper continues to gate appArmorProfile on global.compatibility.appArmor.enabled. Verified with helm template that the rendered init-container securityContext is unchanged for the default values, honours the appArmor toggle, and is omitted entirely when containerSecurityContext.enabled=false. Adds a 9.16 release note.
D
Daniel Zabel committed
06300e76a0cf7d10c92ecdaf156841edbd0f2061
Parent: 397be4e
Committed by Dave Page <dpage@pgadmin.org>
on 6/9/2026, 2:17:01 PM