Skip to content

Commit e438116

Browse files
committed
[FIX] Force to recreate pods on repo changes
1 parent dbdab0c commit e438116

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

charts/adhoc-odoo/v0.2.9/templates/deployment.yaml

+9
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,15 @@ spec:
9090
valueFrom:
9191
fieldRef:
9292
fieldPath: metadata.name
93+
{{/* Dynamic Entrypoint */}}
94+
{{- if .Values.odoo.entrypoint.repos }}
95+
- name: REPOS_YAML
96+
value: {{ .Values.odoo.entrypoint.repos | quote }}
97+
{{- end }}
98+
{{- if .Values.odoo.entrypoint.custom }}
99+
- name: CUSTOM_CONFIG
100+
value: {{ .Values.odoo.entrypoint.custom | quote }}
101+
{{- end }}
93102
{{- range $key, $value := .Values.odoo.extraEnvVars }}
94103
- name: {{ $key }}
95104
value: {{ $value | quote }}

0 commit comments

Comments
 (0)