Skip to content

Commit

Permalink
bugfix(cluster): Propagate inheritFromAzureAD to the barman configura…
Browse files Browse the repository at this point in the history
…tion (#251)

Signed-off-by: Pieter <[email protected]>
  • Loading branch information
Pionerd authored Apr 8, 2024
1 parent 0179d31 commit 7347bce
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion charts/cluster/templates/_barman_object_store.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,9 @@
destinationPath: "https://{{ required "You need to specify Azure storageAccount if destinationPath is not specified." .scope.azure.storageAccount }}.{{ .scope.azure.serviceName }}.core.windows.net/{{ .scope.azure.containerName }}{{ .scope.azure.path }}"
{{- end }}
azureCredentials:
{{- if .scope.azure.connectionString }}
{{- if .scope.azure.inheritFromAzureAD }}
inheritFromAzureAD: true
{{- else if .scope.azure.connectionString }}
connectionString:
name: {{ .chartFullname }}-backup-azure{{ .secretSuffix }}-creds
key: AZURE_CONNECTION_STRING
Expand Down

0 comments on commit 7347bce

Please sign in to comment.