Skip to content

Commit 3a3d41d

Browse files
committed
brought devel inline with main branch
updated installers to drop all capabilities [sc-14936]
1 parent 7391119 commit 3a3d41d

File tree

6 files changed

+6
-2
lines changed

6 files changed

+6
-2
lines changed

helm/install/templates/manager-upgrade.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,5 +36,6 @@ spec:
3636
{{- include "install.relatedImages" . | indent 8 }}
3737
securityContext:
3838
allowPrivilegeEscalation: false
39+
capabilities: { drop: [ALL] }
3940
readOnlyRootFilesystem: true
4041
runAsNonRoot: true

helm/install/templates/manager.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,5 +42,6 @@ spec:
4242
{{- end }}
4343
securityContext:
4444
allowPrivilegeEscalation: false
45+
capabilities: { drop: [ALL] }
4546
readOnlyRootFilesystem: true
4647
runAsNonRoot: true

helm/postgres/templates/postgres.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ spec:
145145
{{ toYaml .Values.service | indent 4 }}
146146
{{- end }}
147147
{{- if .Values.dataSource }}
148-
service:
148+
dataSource:
149149
{{ toYaml .Values.dataSource | indent 4 }}
150150
{{- end }}
151151
{{- if .Values.databaseInitSQL }}

kustomize/certmanager/postgres/postgres.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ kind: PostgresCluster
33
metadata:
44
name: hippo
55
spec:
6-
image: registry.developers.crunchydata.com/crunchydata/crunchy-postgres:ubi8-4-0
6+
image: registry.developers.crunchydata.com/crunchydata/crunchy-postgres:ubi8-14.4-0
77
postgresVersion: 14
88
customReplicationTLSSecret:
99
name: hippo-repl-tls

kustomize/install/manager/manager-upgrade.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ spec:
3030
value: "registry.developers.crunchydata.com/crunchydata/crunchy-upgrade:ubi8-5.1.2-0"
3131
securityContext:
3232
allowPrivilegeEscalation: false
33+
capabilities: { drop: [ALL] }
3334
readOnlyRootFilesystem: true
3435
runAsNonRoot: true
3536
serviceAccountName: postgres-operator-upgrade

kustomize/install/manager/manager.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ spec:
4848
value: "registry.developers.crunchydata.com/crunchydata/crunchy-postgres-exporter:ubi8-5.1.2-0"
4949
securityContext:
5050
allowPrivilegeEscalation: false
51+
capabilities: { drop: [ALL] }
5152
readOnlyRootFilesystem: true
5253
runAsNonRoot: true
5354
serviceAccountName: pgo

0 commit comments

Comments
 (0)