Skip to content

Commit

Permalink
Support extraEnv on the cloud-controller-manager helm chart (#2462)
Browse files Browse the repository at this point in the history
  • Loading branch information
neoaggelos authored Nov 2, 2023
1 parent eeba485 commit 2d74594
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/openstack-cloud-controller-manager/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ description: Openstack Cloud Controller Manager Helm Chart
icon: https://object-storage-ca-ymq-1.vexxhost.net/swift/v1/6e4619c416ff4bd19e1c087f27a43eea/www-images-prod/openstack-logo/OpenStack-Logo-Vertical.png
home: https://github.com/kubernetes/cloud-provider-openstack
name: openstack-cloud-controller-manager
version: 2.29.0-alpha.4
version: 2.29.0-alpha.5
maintainers:
- name: eumel8
email: [email protected]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,9 @@ spec:
value: /etc/config/cloud.conf
- name: CLUSTER_NAME
value: {{ .Values.cluster.name }}
{{- if .Values.extraEnv }}
{{- toYaml .Values.extraEnv | nindent 12 }}
{{- end }}
{{- if .Values.extraInitContainers }}
initContainers: {{ toYaml .Values.extraInitContainers | nindent 6 }}
{{- end }}
Expand Down
5 changes: 5 additions & 0 deletions charts/openstack-cloud-controller-manager/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,11 @@ extraInitContainers: []
# image: busybox
# command: ['sh', '-c', 'echo waiting for 10 seconds; sleep 10;']

# Additional environment variables for the cloud-controller-manager.
extraEnv: []
# - name: OS_CCM_REGIONAL
# value: "true"

# Set resources for Kubernetes daemonset
resources: {}
# resources:
Expand Down

0 comments on commit 2d74594

Please sign in to comment.