Skip to content

Commit 63bd9db

Browse files
committed
accept code review comments
1 parent 1abb0bd commit 63bd9db

2 files changed

Lines changed: 2 additions & 6 deletions

File tree

helm-charts/mend-renovate-ee/templates/server-deployment.yaml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,7 @@ spec:
3333
{{- toYaml . | nindent 8 }}
3434
{{- end }}
3535
spec:
36-
{{- if .Values.renovateServer.automountServiceAccountToken }}
37-
automountServiceAccountToken: {{ .Values.renovateServer.automountServiceAccountToken }}
38-
{{- end }}
36+
automountServiceAccountToken: {{ .Values.renovateServer.automountServiceAccountToken | default false }}
3937
{{- with .Values.renovateServer.podSecurityContext }}
4038
securityContext: {{- toYaml . | nindent 8 }}
4139
{{- end }}

helm-charts/mend-renovate-ee/templates/worker-deployment.yaml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,7 @@ spec:
3434
{{- toYaml . | nindent 8 }}
3535
{{- end }}
3636
spec:
37-
{{- if .Values.renovateWorker.automountServiceAccountToken }}
38-
automountServiceAccountToken: {{ .Values.renovateWorker.automountServiceAccountToken }}
39-
{{- end }}
37+
automountServiceAccountToken: {{ .Values.renovateWorker.automountServiceAccountToken | default false }}
4038
{{- with .Values.renovateWorker.podSecurityContext }}
4139
securityContext: {{- toYaml . | nindent 8 }}
4240
{{- end }}

0 commit comments

Comments
 (0)