feat(chart): air-gap-friendly Odoo + Postgres image refs (B.10)
This commit is contained in:
@@ -28,9 +28,16 @@ spec:
|
||||
{{- include "instance.labels" . | nindent 8 }}
|
||||
odoosky.io/role: postgres
|
||||
spec:
|
||||
{{- with .Values.imageMirror.pullSecret }}
|
||||
# Air-gap support (B.10) — see odoo-deployment.yaml for the
|
||||
# full rationale. Same imageMirror.pullSecret is used for the
|
||||
# postgres image too so customers configure mirror auth once.
|
||||
imagePullSecrets:
|
||||
- name: {{ . }}
|
||||
{{- end }}
|
||||
containers:
|
||||
- name: postgres
|
||||
image: "{{ .Values.postgres.image }}:{{ .Values.postgres.tag }}"
|
||||
image: "{{ if .Values.imageMirror.registry }}{{ .Values.imageMirror.registry }}/{{ end }}{{ .Values.postgres.image }}:{{ .Values.postgres.tag }}"
|
||||
imagePullPolicy: IfNotPresent
|
||||
ports:
|
||||
- name: pg
|
||||
|
||||
Reference in New Issue
Block a user