Skip to content

Commit

Permalink
try manager with side cars
Browse files Browse the repository at this point in the history
  • Loading branch information
amitnarwal27 committed Nov 11, 2024
1 parent ae74959 commit e826fe9
Showing 1 changed file with 38 additions and 36 deletions.
74 changes: 38 additions & 36 deletions kustomize/install/manager/manager.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,39 +10,41 @@ spec:
spec:
serviceAccountName: pgo
containers:
- name: operator
image: postgres-operator
env:
- name: PGO_NAMESPACE
valueFrom: { fieldRef: { fieldPath: metadata.namespace } }
- name: CRUNCHY_DEBUG
value: "true"
- name: RELATED_IMAGE_POSTGRES_15
value: image-crunchy-postgres-15
- name: RELATED_IMAGE_POSTGRES_15_GIS_3.3
value: image-crunchy-postgres-15-gis-3.3
- name: RELATED_IMAGE_POSTGRES_16
value: image-crunchy-postgres-16
- name: RELATED_IMAGE_POSTGRES_16_GIS_3.3
value: image-crunchy-postgres-16-gis-3.3
- name: RELATED_IMAGE_POSTGRES_16_GIS_3.4
value: image-crunchy-postgres-16-gis-3.4
- name: RELATED_IMAGE_PGADMIN
value: image-pgadmin-v4
- name: RELATED_IMAGE_PGBACKREST
value: image-pgbackrest
- name: RELATED_IMAGE_PGBOUNCER
value: image-pgbouncer
- name: RELATED_IMAGE_PGEXPORTER
value: image-postgres-exporter
- name: RELATED_IMAGE_PGUPGRADE
value: image-crunchy-upgrade
- name: RELATED_IMAGE_STANDALONE_PGADMIN
value: image-pgadmin
securityContext:
seccompProfile:
type: RuntimeDefault
allowPrivilegeEscalation: false
capabilities: { drop: [ALL] }
readOnlyRootFilesystem: true
runAsNonRoot: true
- name: operator
image: postgres-operator
env:
- name: PGO_NAMESPACE
valueFrom: { fieldRef: { fieldPath: metadata.namespace } }
- name: PGO_FEATURE_GATES
value: "InstanceSidecars=true"
- name: CRUNCHY_DEBUG
value: "true"
- name: RELATED_IMAGE_POSTGRES_15
value: image-crunchy-postgres-15
- name: RELATED_IMAGE_POSTGRES_15_GIS_3.3
value: image-crunchy-postgres-15-gis-3.3
- name: RELATED_IMAGE_POSTGRES_16
value: image-crunchy-postgres-16
- name: RELATED_IMAGE_POSTGRES_16_GIS_3.3
value: image-crunchy-postgres-16-gis-3.3
- name: RELATED_IMAGE_POSTGRES_16_GIS_3.4
value: image-crunchy-postgres-16-gis-3.4
- name: RELATED_IMAGE_PGADMIN
value: image-pgadmin-v4
- name: RELATED_IMAGE_PGBACKREST
value: image-pgbackrest
- name: RELATED_IMAGE_PGBOUNCER
value: image-pgbouncer
- name: RELATED_IMAGE_PGEXPORTER
value: image-postgres-exporter
- name: RELATED_IMAGE_PGUPGRADE
value: image-crunchy-upgrade
- name: RELATED_IMAGE_STANDALONE_PGADMIN
value: image-pgadmin
securityContext:
seccompProfile:
type: RuntimeDefault
allowPrivilegeEscalation: false
capabilities: { drop: [ALL] }
readOnlyRootFilesystem: true
runAsNonRoot: true

0 comments on commit e826fe9

Please sign in to comment.