mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2026-08-17 16:34:44 -05:00
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.