use a proper secret
This commit is contained in:
parent
d444560442
commit
6f376a2d0f
5 changed files with 30 additions and 2 deletions
|
|
@ -38,10 +38,13 @@ spec:
|
|||
env:
|
||||
- name: CITY
|
||||
value: "{{ .Values.city }}"
|
||||
- name: API_KEY
|
||||
value: "{{ .Values.apiKey }}"
|
||||
- name: MOUNT_PATH
|
||||
value: "{{ .Values.mountPath }}"
|
||||
- name: API_KEY
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: openweathermap-api-key
|
||||
key: openweathermap-api-key
|
||||
volumeMounts:
|
||||
- name: sqlite-data
|
||||
mountPath: "{{ .Values.mountPath }}"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue