diff --git a/charts/stirling-pdf/Chart.yaml b/charts/stirling-pdf/Chart.yaml index 52fb043..1822ba9 100644 --- a/charts/stirling-pdf/Chart.yaml +++ b/charts/stirling-pdf/Chart.yaml @@ -1,5 +1,5 @@ apiVersion: v2 -appVersion: 0.32.0 +appVersion: 0.33.1 description: locally hosted web application that allows you to perform various operations on PDF files home: https://github.com/Stirling-Tools/Stirling-PDF @@ -13,4 +13,4 @@ maintainers: name: stirling-pdf-chart sources: - https://github.com/Stirling-Tools/Stirling-PDF-chart -version: 1.1.0 +version: 1.2.0 diff --git a/charts/stirling-pdf/README.md b/charts/stirling-pdf/README.md index 9a6b3db..beb1982 100644 --- a/charts/stirling-pdf/README.md +++ b/charts/stirling-pdf/README.md @@ -1,6 +1,6 @@ # stirling-pdf-chart -![Version: 1.1.0](https://img.shields.io/badge/Version-1.1.0-informational?style=flat-square) ![AppVersion: 0.32.0](https://img.shields.io/badge/AppVersion-0.32.0-informational?style=flat-square) +![Version: 1.2.0](https://img.shields.io/badge/Version-1.2.0-informational?style=flat-square) ![AppVersion: 0.33.1](https://img.shields.io/badge/AppVersion-0.33.1-informational?style=flat-square) locally hosted web application that allows you to perform various operations on PDF files @@ -40,8 +40,10 @@ 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.repository | string | `"frooodle/s-pdf"` | | -| image.tag | string | `nil` | | +| image.registry | string | `"ghcr.io"` | | +| image.repository | string | `"stirling-tools/stirling-pdf"` | | +| image.sha | string | `""` | | +| image.tag | string | `""` | Overrides the image tag whose default is the chart appVersion. | | ingress | object | `{"annotations":{},"enabled":false,"hosts":[],"ingressClassName":null,"labels":{},"pathType":"ImplementationSpecific"}` | Ingress for load balancer | | ingress.annotations | object | `{}` | Stirling-pdf Ingress annotations | | ingress.hosts | list | `[]` | Must be provided if Ingress is enabled | diff --git a/charts/stirling-pdf/templates/deployment.yaml b/charts/stirling-pdf/templates/deployment.yaml index e642592..9c85f38 100644 --- a/charts/stirling-pdf/templates/deployment.yaml +++ b/charts/stirling-pdf/templates/deployment.yaml @@ -58,7 +58,11 @@ spec: {{- include "stirlingpdf.imagePullSecrets" . | indent 6 }} containers: - name: {{ .Chart.Name }} - image: {{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }} + {{- if .Values.image.sha }} + image: "{{ .Values.image.registry }}/{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}@sha256:{{ .Values.image.sha }}" + {{- else }} + image: "{{ .Values.image.registry }}/{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}" + {{- end }} imagePullPolicy: {{ .Values.image.pullPolicy }} securityContext: {{- toYaml .Values.containerSecurityContext | nindent 10 }} diff --git a/charts/stirling-pdf/values.yaml b/charts/stirling-pdf/values.yaml index 53526d1..cd16f75 100644 --- a/charts/stirling-pdf/values.yaml +++ b/charts/stirling-pdf/values.yaml @@ -5,9 +5,11 @@ replicaCount: 1 strategy: type: RollingUpdate image: - repository: frooodle/s-pdf - # took Chart appVersion by default - tag: ~ + registry: ghcr.io + repository: stirling-tools/stirling-pdf + # -- Overrides the image tag whose default is the chart appVersion. + tag: "" + sha: "" pullPolicy: IfNotPresent secret: labels: {}