-
Notifications
You must be signed in to change notification settings - Fork 83
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use separate Secret for csi-driver-controller
```improvement user An issue causing kube-controller-manager to panic when upgrading an OpenStack cluster from `v1.18` to `v1.19` is now fixed. ``` Signed-off-by: ialidzhikov <[email protected]>
- Loading branch information
1 parent
ae74d2a
commit 2f9be52
Showing
7 changed files
with
59 additions
and
34 deletions.
There are no files selected for viewing
19 changes: 19 additions & 0 deletions
19
charts/internal/cloud-provider-config/templates/cloud-provider-disk-config-csi.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
{{- define "cloud-provider-disk-config-csi" -}} | ||
[Global] | ||
{{ include "cloud-provider-config-credentials" . }} | ||
{{ include "cloud-provider-config-meta" . }} | ||
|
||
[BlockStorage] | ||
rescan-on-resize={{ .Values.rescanBlockStorageOnResize }} | ||
{{- end -}} | ||
{{- if semverCompare ">= 1.19-0" .Values.kubernetesVersion }} | ||
--- | ||
apiVersion: v1 | ||
kind: Secret | ||
metadata: | ||
name: cloud-provider-disk-config-csi | ||
namespace: {{ .Release.Namespace }} | ||
type: Opaque | ||
data: | ||
cloudprovider.conf: {{ include "cloud-provider-disk-config-csi" . | b64enc }} | ||
{{- end }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters