Skip to content

Commit

Permalink
feat: Using service account variable in SA yaml file (#527)
Browse files Browse the repository at this point in the history
* Using service account variable name in SA yaml file

* Fixing wrong service account name in ee chart

---------

Co-authored-by: Weijian Yang <[email protected]>
  • Loading branch information
weijiany and Weijian Yang authored Aug 2, 2024
1 parent ff5881f commit 67ed938
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion helm-charts/mend-renovate-ce/templates/serviceaccount.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
apiVersion: v1
kind: ServiceAccount
metadata:
name: {{ include "mend-renovate.fullname" . }}-sa
name: {{ include "mend-renovate.service-account-name" . }}
namespace: {{ .Release.Namespace }}
labels:
app.kubernetes.io/name: {{ include "mend-renovate.name" . }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
apiVersion: v1
kind: ServiceAccount
metadata:
name: {{ include "mend-renovate.fullname" . }}-server-sa
name: {{ include "mend-renovate.server-service-account-name" . }}
namespace: {{ .Release.Namespace }}
labels:
app.kubernetes.io/name: {{ include "mend-renovate.name" . }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
apiVersion: v1
kind: ServiceAccount
metadata:
name: {{ include "mend-renovate.fullname" . }}-worker-sa
name: {{ include "mend-renovate.worker-service-account-name" . }}
namespace: {{ .Release.Namespace }}
labels:
app.kubernetes.io/name: {{ include "mend-renovate.name" . }}
Expand Down

0 comments on commit 67ed938

Please sign in to comment.