Skip to content

Commit

Permalink
feat: use by default ghcr.io registry for stirling-pdf image to avoid…
Browse files Browse the repository at this point in the history
… rate limit

Signed-off-by: Ludovic Ortega <[email protected]>
  • Loading branch information
M0NsTeRRR committed Nov 16, 2024
1 parent 67ead23 commit b57b90d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions charts/stirling-pdf/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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. |
Expand Down
4 changes: 2 additions & 2 deletions charts/stirling-pdf/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
1 change: 1 addition & 0 deletions charts/stirling-pdf/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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: ""
Expand Down

0 comments on commit b57b90d

Please sign in to comment.