Skip to content

Commit 7122b0d

Browse files
Pieter Chitman99
Pieter C
authored andcommitted
simplify operator yaml (#28)
1 parent a49abde commit 7122b0d

File tree

1 file changed

+4
-21
lines changed

1 file changed

+4
-21
lines changed

deploy/operator.yaml

Lines changed: 4 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@ spec:
2020
command:
2121
- postgres-operator
2222
imagePullPolicy: Always
23+
envFrom:
24+
- secretRef:
25+
name: ext-postgres-operator
2326
env:
2427
- name: WATCH_NAMESPACE
2528
value: ""
@@ -28,24 +31,4 @@ spec:
2831
fieldRef:
2932
fieldPath: metadata.name
3033
- name: OPERATOR_NAME
31-
value: "ext-postgres-operator"
32-
- name: POSTGRES_HOST
33-
valueFrom:
34-
secretKeyRef:
35-
name: ext-postgres-operator
36-
key: POSTGRES_HOST
37-
- name: POSTGRES_USER
38-
valueFrom:
39-
secretKeyRef:
40-
name: ext-postgres-operator
41-
key: POSTGRES_USER
42-
- name: POSTGRES_PASS
43-
valueFrom:
44-
secretKeyRef:
45-
name: ext-postgres-operator
46-
key: POSTGRES_PASS
47-
- name: POSTGRES_URI_ARGS
48-
valueFrom:
49-
secretKeyRef:
50-
name: ext-postgres-operator
51-
key: POSTGRES_URI_ARGS
34+
value: "ext-postgres-operator"

0 commit comments

Comments
 (0)