Skip to content

Commit

Permalink
use wkspace-specific service account
Browse files Browse the repository at this point in the history
  • Loading branch information
michaeljguarino committed Feb 7, 2024
1 parent 8c965dc commit 0d035b0
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion charts/cron/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ apiVersion: v2
name: cron
description: simple chart for deploying a cron workload
type: application
version: 0.1.9
version: 0.1.10
appVersion: "1.16.0"
2 changes: 1 addition & 1 deletion charts/cron/templates/cronjob.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ spec:
template:
spec:
restartPolicy: Never
serviceAccountName: default
serviceAccountName: mottmac
{{- with .Values.imagePullSecrets }}
imagePullSecrets:
{{- toYaml . | nindent 10 }}
Expand Down
2 changes: 1 addition & 1 deletion charts/webapp/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ apiVersion: v2
name: webapp
description: basic webapp workload
type: application
version: 0.1.11
version: 0.1.12
appVersion: "1.16.0"
2 changes: 1 addition & 1 deletion charts/webapp/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ spec:
imagePullSecrets:
{{- toYaml . | nindent 8 }}
{{- end }}
# serviceAccountName: {{ include "webapp.serviceAccountName" . }}
serviceAccountName: mottmac
securityContext:
{{- toYaml .Values.podSecurityContext | nindent 8 }}
containers:
Expand Down

0 comments on commit 0d035b0

Please sign in to comment.