Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/main' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
rudimk committed Mar 27, 2024
2 parents 9f73097 + c01dad7 commit ce1c487
Show file tree
Hide file tree
Showing 10 changed files with 31 additions and 1 deletion.
1 change: 1 addition & 0 deletions addons/metabase/templates/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ kind: Service
metadata:
name: {{ include "docker-template.fullname" . }}
labels:
porter.run/tailscale-svc: "true"
{{- include "docker-template.labels" . | nindent 4 }}
spec:
{{ if .Values.ingress.enabled }}
Expand Down
4 changes: 4 additions & 0 deletions applications/job/templates/cronjob.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,10 @@ spec:
{{ else }}
serviceAccountName: {{ include "docker-template.serviceAccountName" . }}
{{- end }}
{{- if and .Values.image .Values.image.imagePullSecret }}
imagePullSecrets:
- name: {{ .Values.image.imagePullSecret }}
{{- end }}
containers:
- name: {{ .Chart.Name }}
{{- if .Values.global }}
Expand Down
4 changes: 4 additions & 0 deletions applications/job/templates/hook-configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,10 @@ data:
options:
- name: edns0
{{- end }}
{{- if and .Values.image .Values.image.imagePullSecret }}
imagePullSecrets:
- name: {{ .Values.image.imagePullSecret }}
{{- end }}
containers:
- name: {{ .Chart.Name }}
{{- if .Values.global }}
Expand Down
4 changes: 4 additions & 0 deletions applications/job/templates/hook.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@ spec:
spec:
serviceAccountName: {{ include "docker-template.fullname" . }}
restartPolicy: Never
{{- if and .Values.image .Values.image.imagePullSecret }}
imagePullSecrets:
- name: {{ .Values.image.imagePullSecret }}
{{- end }}
containers:
- name: job-manager
image: public.ecr.aws/o1j4x7p4/job-manager:latest
Expand Down
2 changes: 2 additions & 0 deletions applications/job/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ image:
pullPolicy: Always
# Overrides the image tag whose default is the chart appVersion.
tag: latest
# A single imagePullSecret that will be injected into the deployment; only use in extreme cases, else it must be left blank.
imagePullSecret:

serviceAccount:
# Specifies whether a service account should be created
Expand Down
4 changes: 4 additions & 0 deletions applications/web/templates/deployment-blue-green.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,10 @@ spec:
options:
- name: edns0
{{- end }}
{{- if and $.Values.image $.Values.image.imagePullSecret }}
imagePullSecrets:
- name: {{ $.Values.image.imagePullSecret }}
{{- end }}
containers:
- name: {{ $.Chart.Name }}
securityContext:
Expand Down
5 changes: 4 additions & 1 deletion applications/web/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,10 @@ spec:
options:
- name: edns0
{{- end }}
{{- if and .Values.image .Values.image.imagePullSecret }}
imagePullSecrets:
- name: {{ .Values.image.imagePullSecret }}
{{- end }}
containers:
- name: {{ .Chart.Name }}
securityContext:
Expand Down Expand Up @@ -353,7 +357,6 @@ spec:
mountPath: /secrets/
readOnly: true
{{ end }}

{{- if gt (len .Values.nodeSelector) 0}}
nodeSelector:
{{- range $k, $v := .Values.nodeSelector }}
Expand Down
2 changes: 2 additions & 0 deletions applications/web/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ image:
pullPolicy: Always
# Overrides the image tag whose default is the chart appVersion.
tag: latest
# A single imagePullSecret that will be injected into the deployment; only use in extreme cases, else it must be left blank.
imagePullSecret:

podLabels: {}

Expand Down
4 changes: 4 additions & 0 deletions applications/worker/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,10 @@ spec:
options:
- name: edns0
{{- end }}
{{- if and .Values.image .Values.image.imagePullSecret }}
imagePullSecrets:
- name: {{ .Values.image.imagePullSecret }}
{{- end }}
containers:
- name: {{ .Chart.Name }}
securityContext:
Expand Down
2 changes: 2 additions & 0 deletions applications/worker/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ image:
pullPolicy: Always
# Overrides the image tag whose default is the chart appVersion.
tag: latest
# A single imagePullSecret that will be injected into the deployment; only use in extreme cases, else it must be left blank.
imagePullSecret:

podLabels: {}

Expand Down

0 comments on commit ce1c487

Please sign in to comment.