Skip to content

Commit

Permalink
Merge pull request #13 from elinesterov/eli/add-sa
Browse files Browse the repository at this point in the history
add service account
  • Loading branch information
elinesterov authored Sep 17, 2023
2 parents 6271e7a + d8043c3 commit 5c71f3b
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/spiffe-demo-app/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ apiVersion: v2
name: spiffe-demo-app
description: A Helm chart to install spiffe-demo-app
type: application
version: 0.3.2
version: 0.3.3
1 change: 1 addition & 0 deletions charts/spiffe-demo-app/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ spec:
k8s.spirl.com/spiffe-csi: enabled
{{- end }}
spec:
serviceAccountName: {{ .Release.Name }}-app
containers:
- name: spiffe-demo-app
image: {{ .Values.image.registry }}/{{ .Values.image.repository }}:{{ .Values.image.tag }}
Expand Down
5 changes: 5 additions & 0 deletions charts/spiffe-demo-app/templates/sa.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
apiVersion: v1
kind: ServiceAccount
metadata:
name: {{ .Release.Name }}-app
namespace: {{ .Release.Namespace }}

0 comments on commit 5c71f3b

Please sign in to comment.