diff --git a/kustomize/components/clairpostgres/postgres.deployment.yaml b/kustomize/components/clairpostgres/postgres.deployment.yaml index cb9ade4c8..57f867049 100644 --- a/kustomize/components/clairpostgres/postgres.deployment.yaml +++ b/kustomize/components/clairpostgres/postgres.deployment.yaml @@ -20,6 +20,8 @@ spec: spec: terminationGracePeriodSeconds: 180 serviceAccountName: clair-postgres + securityContext: + fsGroup: 2000 volumes: - name: clair-postgres-conf-sample configMap: diff --git a/kustomize/components/postgres/postgres.deployment.yaml b/kustomize/components/postgres/postgres.deployment.yaml index 6f18ad244..81875d72f 100644 --- a/kustomize/components/postgres/postgres.deployment.yaml +++ b/kustomize/components/postgres/postgres.deployment.yaml @@ -20,6 +20,8 @@ spec: spec: terminationGracePeriodSeconds: 180 serviceAccountName: quay-database + securityContext: + fsGroup: 2000 volumes: - name: postgres-conf-sample configMap: