feat(chart): air-gap-friendly Odoo + Postgres image refs (B.10)

This commit is contained in:
OdooSky v3
2026-05-05 17:59:17 +02:00
parent 8ab695b93d
commit 6425526314
3 changed files with 38 additions and 3 deletions

View File

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