Skip to content

Commit cfc8cfc

Browse files
authored
[sophora-ugc]: service account name (#159)
1 parent e4ec55f commit cfc8cfc

File tree

3 files changed

+5
-1
lines changed

3 files changed

+5
-1
lines changed

charts/sophora-ugc/CHANGELOG.md

+3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
# Changelog
22

3+
## 2.0.8
4+
- Add service account name to pod.
5+
36
## 2.0.7
47
- All deployment secrets are optional now. You can use `env` in your `values.yaml` instead, or leave it empty.
58

charts/sophora-ugc/Chart.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ type: application
1515
# This is the chart version. This version number should be incremented each time you make changes
1616
# to the chart and its templates, including the app version.
1717
# Versions are expected to follow Semantic Versioning (https://semver.org/)
18-
version: 2.0.7
18+
version: 2.0.8
1919

2020
# This is the version number of the application being deployed. This version number should be
2121
# incremented each time you make changes to the application. Versions are not expected to

charts/sophora-ugc/templates/deployment.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ spec:
3232
{{- if .Values.ugc.extraInitContainers }}
3333
{{ include "common.tplvalues.render" (dict "value" .Values.ugc.extraInitContainers "context" $) | nindent 8 }}
3434
{{- end }}
35+
serviceAccountName: {{ include "sophora-ugc.serviceAccountName" . }}
3536
containers:
3637
- name: {{ .Chart.Name }}
3738
image: "{{ .Values.ugc.image.repository }}:{{ .Values.ugc.image.tag | default .Chart.AppVersion }}"

0 commit comments

Comments
 (0)