Spaces:
Paused
Paused
fix(chart): add config checksum (#1738)
Browse files- chart/Chart.yaml +1 -1
- chart/templates/deployment.yaml +3 -2
chart/Chart.yaml
CHANGED
|
@@ -1,5 +1,5 @@
|
|
| 1 |
apiVersion: v2
|
| 2 |
name: chat-ui
|
| 3 |
-
version: 0.0.
|
| 4 |
type: application
|
| 5 |
icon: https://huggingface.co/front/assets/huggingface_logo-noborder.svg
|
|
|
|
| 1 |
apiVersion: v2
|
| 2 |
name: chat-ui
|
| 3 |
+
version: 0.0.1-latest
|
| 4 |
type: application
|
| 5 |
icon: https://huggingface.co/front/assets/huggingface_logo-noborder.svg
|
chart/templates/deployment.yaml
CHANGED
|
@@ -24,10 +24,11 @@ spec:
|
|
| 24 |
template:
|
| 25 |
metadata:
|
| 26 |
labels: {{ include "labels.standard" . | nindent 8 }}
|
| 27 |
-
{{- if $.Values.envVars.NODE_LOG_STRUCTURED_DATA }}
|
| 28 |
annotations:
|
|
|
|
|
|
|
| 29 |
co.elastic.logs/json.expand_keys: "true"
|
| 30 |
-
|
| 31 |
spec:
|
| 32 |
{{- if .Values.serviceAccount.enabled }}
|
| 33 |
serviceAccountName: "{{ .Values.serviceAccount.name | default (include "name" .) }}"
|
|
|
|
| 24 |
template:
|
| 25 |
metadata:
|
| 26 |
labels: {{ include "labels.standard" . | nindent 8 }}
|
|
|
|
| 27 |
annotations:
|
| 28 |
+
checksum/config: {{ include (print $.Template.BasePath "/config.yaml") . | sha256sum }}
|
| 29 |
+
{{- if $.Values.envVars.NODE_LOG_STRUCTURED_DATA }}
|
| 30 |
co.elastic.logs/json.expand_keys: "true"
|
| 31 |
+
{{- end }}
|
| 32 |
spec:
|
| 33 |
{{- if .Values.serviceAccount.enabled }}
|
| 34 |
serviceAccountName: "{{ .Values.serviceAccount.name | default (include "name" .) }}"
|