Skip to content

Commit

Permalink
fix(helm chart): provide service account with access to multi-region (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
iainsproat authored Nov 7, 2024
1 parent 0a6e184 commit a80e515
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,7 @@ metadata:
automountServiceAccountToken: false
secrets:
- name: {{ default .Values.secretName .Values.db.connectionString.secretName }}
{{- if .Values.featureFlags.workspacesMultiRegionEnabled }}
- name: {{ default .Values.secretName .Values.multiRegion.config.secretName }}
{{- end }}
{{- end -}}
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,7 @@ metadata:
automountServiceAccountToken: false
secrets:
- name: {{ default .Values.secretName .Values.db.connectionString.secretName }}
{{- if .Values.featureFlags.workspacesMultiRegionEnabled }}
- name: {{ default .Values.secretName .Values.multiRegion.config.secretName }}
{{- end }}
{{- end -}}
Original file line number Diff line number Diff line change
Expand Up @@ -38,5 +38,7 @@ secrets:
{{- if .Values.featureFlags.workspaceModuleEnabled }}
- name: {{ default .Values.secretName .Values.server.licenseTokenSecret.secretName }}
{{- end }}

{{- if .Values.featureFlags.workspacesMultiRegionEnabled }}
- name: {{ default .Values.secretName .Values.multiRegion.config.secretName }}
{{- end }}
{{- end -}}
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,7 @@ metadata:
automountServiceAccountToken: false
secrets:
- name: {{ default .Values.secretName .Values.db.connectionString.secretName }}
{{- if .Values.featureFlags.workspacesMultiRegionEnabled }}
- name: {{ default .Values.secretName .Values.multiRegion.config.secretName }}
{{- end }}
{{- end -}}
3 changes: 3 additions & 0 deletions utils/helm/speckle-server/templates/server/serviceaccount.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,5 +38,8 @@ secrets:
{{- if .Values.featureFlags.workspaceModuleEnabled }}
- name: {{ default .Values.secretName .Values.server.licenseTokenSecret.secretName }}
{{- end }}
{{- if .Values.featureFlags.workspacesMultiRegionEnabled }}
- name: {{ default .Values.secretName .Values.multiRegion.config.secretName }}
{{- end }}

{{- end -}}
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,7 @@ metadata:
automountServiceAccountToken: false
secrets:
- name: {{ ( default .Values.secretName .Values.db.connectionString.secretName ) }}
{{- if .Values.featureFlags.workspacesMultiRegionEnabled }}
- name: {{ default .Values.secretName .Values.multiRegion.config.secretName }}
{{- end }}
{{- end -}}

0 comments on commit a80e515

Please sign in to comment.