|
8 | 8 | strategy: { type: Recreate } |
9 | 9 | template: |
10 | 10 | spec: |
| 11 | + serviceAccountName: pgo |
11 | 12 | containers: |
12 | 13 | - name: operator |
13 | 14 | image: postgres-operator |
14 | 15 | env: |
15 | 16 | - name: PGO_INSTALLER |
16 | 17 | value: kustomize |
17 | 18 | - name: PGO_INSTALLER_ORIGIN |
18 | | - value: postgres-operator-repo |
| 19 | + value: examples-repo |
| 20 | + - name: PGO_CONTROLLER_LEASE_NAME |
| 21 | + value: cpk-leader-election-lease |
19 | 22 | - name: PGO_NAMESPACE |
20 | | - valueFrom: |
21 | | - fieldRef: |
22 | | - fieldPath: metadata.namespace |
| 23 | + valueFrom: { fieldRef: { fieldPath: metadata.namespace } } |
23 | 24 | - name: CRUNCHY_DEBUG |
24 | 25 | value: "true" |
| 26 | + - name: RELATED_IMAGE_POSTGRES_15 |
| 27 | + value: image-crunchy-postgres-15 |
| 28 | + - name: RELATED_IMAGE_POSTGRES_15_GIS_3.3 |
| 29 | + value: image-crunchy-postgres-15-gis-3.3 |
25 | 30 | - name: RELATED_IMAGE_POSTGRES_16 |
26 | | - value: "registry.developers.crunchydata.com/crunchydata/crunchy-postgres:ubi9-16.11-2547" |
| 31 | + value: image-crunchy-postgres-16 |
27 | 32 | - name: RELATED_IMAGE_POSTGRES_16_GIS_3.3 |
28 | | - value: "registry.developers.crunchydata.com/crunchydata/crunchy-postgres-gis:ubi9-16.11-3.3-2547" |
| 33 | + value: image-crunchy-postgres-16-gis-3.3 |
29 | 34 | - name: RELATED_IMAGE_POSTGRES_16_GIS_3.4 |
30 | | - value: "registry.developers.crunchydata.com/crunchydata/crunchy-postgres-gis:ubi9-16.11-3.4-2547" |
| 35 | + value: image-crunchy-postgres-16-gis-3.4 |
31 | 36 | - name: RELATED_IMAGE_POSTGRES_17 |
32 | | - value: "registry.developers.crunchydata.com/crunchydata/crunchy-postgres:ubi9-17.7-2547" |
| 37 | + value: image-crunchy-postgres-17 |
33 | 38 | - name: RELATED_IMAGE_POSTGRES_17_GIS_3.4 |
34 | | - value: "registry.developers.crunchydata.com/crunchydata/crunchy-postgres-gis:ubi9-17.7-3.4-2547" |
| 39 | + value: image-crunchy-postgres-17-gis-3.4 |
35 | 40 | - name: RELATED_IMAGE_POSTGRES_17_GIS_3.5 |
36 | | - value: "registry.developers.crunchydata.com/crunchydata/crunchy-postgres-gis:ubi9-17.7-3.5-2547" |
| 41 | + value: image-crunchy-postgres-17-gis-3.5 |
37 | 42 | - name: RELATED_IMAGE_POSTGRES_17_GIS_3.6 |
38 | | - value: "registry.developers.crunchydata.com/crunchydata/crunchy-postgres-gis:ubi9-17.7-3.5-2547" |
| 43 | + value: image-crunchy-postgres-17-gis-3.6 |
39 | 44 | - name: RELATED_IMAGE_POSTGRES_18 |
40 | | - value: "registry.developers.crunchydata.com/crunchydata/crunchy-postgres:ubi9-18.1-2547" |
| 45 | + value: image-crunchy-postgres-18 |
41 | 46 | - name: RELATED_IMAGE_POSTGRES_18_GIS_3.6 |
42 | | - value: "registry.developers.crunchydata.com/crunchydata/crunchy-postgres-gis:ubi9-18.1-3.6-2547" |
| 47 | + value: image-crunchy-postgres-18-gis-3.6 |
43 | 48 | - name: RELATED_IMAGE_PGBACKREST |
44 | | - value: "registry.developers.crunchydata.com/crunchydata/crunchy-pgbackrest:ubi9-2.56.0-2547" |
| 49 | + value: image-pgbackrest |
45 | 50 | - name: RELATED_IMAGE_PGBOUNCER |
46 | | - value: "registry.developers.crunchydata.com/crunchydata/crunchy-pgbouncer:ubi9-1.24-2547" |
| 51 | + value: image-pgbouncer |
47 | 52 | - name: RELATED_IMAGE_PGEXPORTER |
48 | | - value: "registry.developers.crunchydata.com/crunchydata/crunchy-postgres-exporter:ubi9-0.18.1-2547" |
| 53 | + value: image-postgres-exporter |
49 | 54 | - name: RELATED_IMAGE_PGUPGRADE |
50 | | - value: "registry.developers.crunchydata.com/crunchydata/crunchy-upgrade:ubi9-18.1-2547" |
| 55 | + value: image-crunchy-upgrade |
51 | 56 | - name: RELATED_IMAGE_STANDALONE_PGADMIN |
52 | | - value: "registry.developers.crunchydata.com/crunchydata/crunchy-pgadmin4:ubi9-9.8-2547" |
| 57 | + value: image-pgadmin |
53 | 58 | - name: RELATED_IMAGE_COLLECTOR |
54 | | - value: "registry.developers.crunchydata.com/crunchydata/postgres-operator:ubi9-5.8.5-0" |
| 59 | + value: image-postgres-operator-6.0 |
55 | 60 | securityContext: |
| 61 | + seccompProfile: |
| 62 | + type: RuntimeDefault |
56 | 63 | allowPrivilegeEscalation: false |
57 | 64 | capabilities: { drop: [ALL] } |
58 | 65 | readOnlyRootFilesystem: true |
59 | 66 | runAsNonRoot: true |
60 | | - serviceAccountName: pgo |
| 67 | + ports: |
| 68 | + - containerPort: 8443 |
| 69 | + name: metrics |
| 70 | + livenessProbe: |
| 71 | + httpGet: |
| 72 | + path: /readyz |
| 73 | + port: 8081 |
| 74 | + initialDelaySeconds: 15 |
| 75 | + periodSeconds: 20 |
| 76 | + readinessProbe: |
| 77 | + httpGet: |
| 78 | + path: /healthz |
| 79 | + port: 8081 |
| 80 | + initialDelaySeconds: 5 |
| 81 | + periodSeconds: 10 |
0 commit comments