Skip to content

Commit 2babeaa

Browse files
reference configmap for env vars
1 parent bc22a8e commit 2babeaa

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

apps/whoogle/deployment.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,10 @@ spec:
4141
capabilities:
4242
drop:
4343
- "ALL"
44+
envFrom:
45+
- configMapRef:
46+
name: "whoogle-config"
47+
optional: true
4448
resources:
4549
requests:
4650
memory: "148Mi"
@@ -57,6 +61,9 @@ spec:
5761
- maxSkew: 1
5862
topologyKey: "location"
5963
whenUnsatisfiable: "ScheduleAnyway"
64+
labelSelector:
65+
matchLabels:
66+
app: "whoogle"
6067
volumes:
6168
- name: "tmp"
6269
emptyDir:

0 commit comments

Comments
 (0)