diff --git a/charts/stirling-pdf/README.md b/charts/stirling-pdf/README.md index 3a56a5d..22439a8 100644 --- a/charts/stirling-pdf/README.md +++ b/charts/stirling-pdf/README.md @@ -40,6 +40,7 @@ helm repo add stirling-pdf https://stirling-tools.github.io/Stirling-PDF-chart | envsFrom | list | `[]` | Environment variables from secrets or configmaps to add to the stirling-pdf pods | | extraArgs | list | `[]` | | | image.pullPolicy | string | `"IfNotPresent"` | | +| image.registry | string | `"ghcr.io"` | | | image.repository | string | `"frooodle/s-pdf"` | | | image.sha | string | `""` | | | image.tag | string | `""` | Overrides the image tag whose default is the chart appVersion. | diff --git a/charts/stirling-pdf/templates/deployment.yaml b/charts/stirling-pdf/templates/deployment.yaml index ed898e2..9c85f38 100644 --- a/charts/stirling-pdf/templates/deployment.yaml +++ b/charts/stirling-pdf/templates/deployment.yaml @@ -59,9 +59,9 @@ spec: containers: - name: {{ .Chart.Name }} {{- if .Values.image.sha }} - image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}@sha256:{{ .Values.image.sha }}" + image: "{{ .Values.image.registry }}/{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}@sha256:{{ .Values.image.sha }}" {{- else }} - image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}" + image: "{{ .Values.image.registry }}/{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}" {{- end }} imagePullPolicy: {{ .Values.image.pullPolicy }} securityContext: diff --git a/charts/stirling-pdf/values.yaml b/charts/stirling-pdf/values.yaml index 6f1092c..d8051bc 100644 --- a/charts/stirling-pdf/values.yaml +++ b/charts/stirling-pdf/values.yaml @@ -5,6 +5,7 @@ replicaCount: 1 strategy: type: RollingUpdate image: + registry: ghcr.io repository: frooodle/s-pdf # -- Overrides the image tag whose default is the chart appVersion. tag: ""