Skip to content

Commit

Permalink
fix (secret): add imagePullSecret for portal (#166)
Browse files Browse the repository at this point in the history
On-behalf-of: @SAP angel.kafazov@sap.com

Signed-off-by: Angel Kafazov <akafazov@cst-bg.net>
  • Loading branch information
akafazov authored Jan 7, 2025
1 parent f946d43 commit bdbefa2
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/portal/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: v2
description: Helm Chart for the openmfp Portal
name: portal
version: 0.69.218
version: 0.69.219
appVersion: "0.283.0"
dependencies:
- name: common
Expand Down
1 change: 1 addition & 0 deletions charts/portal/templates/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ spec:
labels:
app: {{ include "common.entity.name" . }}
spec:
{{- include "common.imagePullSecret" . | indent 6}}
{{ include "common.container.securityContext" . | nindent 6 }}
containers:
- name: {{ include "common.entity.name" . }}
Expand Down
2 changes: 2 additions & 0 deletions charts/portal/tests/__snapshot__/deploy_test.yaml.snap
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,8 @@ matches the snapshot:
requests:
cpu: 40m
memory: 50Mi
imagePullSecrets:
- name: github
securityContext:
readOnlyRootFilesystem: true
runAsNonRoot: true
Expand Down
4 changes: 4 additions & 0 deletions charts/portal/tests/__snapshot__/istio_test.yaml.snap
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,8 @@ matches the snapshot:
requests:
cpu: 40m
memory: 50Mi
imagePullSecrets:
- name: github
securityContext:
readOnlyRootFilesystem: true
runAsNonRoot: true
Expand Down Expand Up @@ -234,6 +236,8 @@ matches the snapshot with istio disabled:
requests:
cpu: 40m
memory: 50Mi
imagePullSecrets:
- name: github
securityContext:
readOnlyRootFilesystem: true
runAsNonRoot: true
Expand Down

0 comments on commit bdbefa2

Please sign in to comment.