use a proper secret

This commit is contained in:
Waylon S. Walker 2024-09-25 08:51:21 -05:00
parent d444560442
commit 6f376a2d0f
5 changed files with 30 additions and 2 deletions

View file

@ -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 }}"