diff --git a/roles/installer/templates/postgres.yaml.j2 b/roles/installer/templates/postgres.yaml.j2 index bf2e018a..f87c8420 100644 --- a/roles/installer/templates/postgres.yaml.j2 +++ b/roles/installer/templates/postgres.yaml.j2 @@ -56,6 +56,8 @@ spec: - image: '{{ postgres_image }}:{{ postgres_image_version }}' imagePullPolicy: '{{ image_pull_policy }}' name: postgres + securityContext: + fsGroup: 999 env: # For postgres_image based on rhel8/postgresql-12 - name: POSTGRESQL_DATABASE