File tree Expand file tree Collapse file tree 10 files changed +52
-9
lines changed
charts/openstack-cloud-controller-manager Expand file tree Collapse file tree 10 files changed +52
-9
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ description: Openstack Cloud Controller Manager Helm Chart
4
4
icon : https://object-storage-ca-ymq-1.vexxhost.net/swift/v1/6e4619c416ff4bd19e1c087f27a43eea/www-images-prod/openstack-logo/OpenStack-Logo-Vertical.png
5
5
home : https://github.com/kubernetes/cloud-provider-openstack
6
6
name : openstack-cloud-controller-manager
7
- version : 1.4 .0
7
+ version : 1.5 .0
8
8
maintainers :
9
9
- name : morremeyer
10
10
Original file line number Diff line number Diff line change @@ -2,6 +2,10 @@ apiVersion: rbac.authorization.k8s.io/v1
2
2
kind : ClusterRole
3
3
metadata :
4
4
name : system:openstack-cloud-controller-manager
5
+ annotations :
6
+ {{- with .Values.commonAnnotations }}
7
+ {{- toYaml . | nindent 4 }}
8
+ {{- end }}
5
9
rules :
6
10
- apiGroups :
7
11
- coordination.k8s.io
Original file line number Diff line number Diff line change @@ -3,6 +3,10 @@ kind: ClusterRoleBinding
3
3
apiVersion : rbac.authorization.k8s.io/v1
4
4
metadata :
5
5
name : system:{{ include "occm.name" . }}:auth-delegate
6
+ annotations :
7
+ {{- with .Values.commonAnnotations }}
8
+ {{- toYaml . | nindent 4 }}
9
+ {{- end }}
6
10
subjects :
7
11
- kind : User
8
12
name : system:serviceaccount:{{ .Release.Namespace }}:{{ include "occm.name" . }}
Original file line number Diff line number Diff line change @@ -2,6 +2,10 @@ apiVersion: rbac.authorization.k8s.io/v1
2
2
kind : ClusterRoleBinding
3
3
metadata :
4
4
name : system:openstack-cloud-controller-manager
5
+ annotations :
6
+ {{- with .Values.commonAnnotations }}
7
+ {{- toYaml . | nindent 4 }}
8
+ {{- end }}
5
9
roleRef :
6
10
apiGroup : rbac.authorization.k8s.io
7
11
kind : ClusterRole
Original file line number Diff line number Diff line change @@ -5,6 +5,10 @@ metadata:
5
5
namespace : {{ .Release.Namespace }}
6
6
labels :
7
7
{{- include "occm.labels" . | nindent 4 }}
8
+ annotations :
9
+ {{- with .Values.commonAnnotations }}
10
+ {{- toYaml . | nindent 4 }}
11
+ {{- end }}
8
12
spec :
9
13
selector :
10
14
matchLabels :
17
21
checksum/config : {{ include "cloudConfig" . | sha256sum }}
18
22
labels :
19
23
{{- include "occm.controllermanager.labels" . | nindent 8 }}
24
+ annotations :
25
+ {{- with .Values.commonAnnotations }}
26
+ {{- toYaml . | nindent 8 }}
27
+ {{- end }}
20
28
spec :
21
29
{{- with .Values.nodeSelector }}
22
30
nodeSelector :
Original file line number Diff line number Diff line change 2
2
apiVersion : v1
3
3
kind : Secret
4
4
metadata :
5
- name : {{ .Values.secret.name | default "cloud-config" }}
6
- namespace : {{ .Release.Namespace }}
5
+ name : {{ .Values.secret.name | default "cloud-config" }}
6
+ namespace : {{ .Release.Namespace }}
7
+ annotations :
8
+ {{- with .Values.commonAnnotations }}
9
+ {{- toYaml . | nindent 4 }}
10
+ {{- end }}
7
11
type : Opaque
8
12
data :
9
- {{ if .Values.cloudConfigContents -}}
10
- cloud.conf : |
11
- {{ .Values.cloudConfigContents | b64enc }}
12
- {{ else -}}
13
- cloud.conf : {{ include "cloudConfig" . | b64enc }}
14
- {{ end -}}
13
+ {{ if .Values.cloudConfigContents -}}
14
+ cloud.conf : |
15
+ {{ .Values.cloudConfigContents | b64enc }}
16
+ {{ else -}}
17
+ cloud.conf : {{ include "cloudConfig" . | b64enc }}
18
+ {{ end -}}
15
19
{{- end }}
Original file line number Diff line number Diff line change @@ -6,6 +6,10 @@ metadata:
6
6
{{- include "occm.labels" . | nindent 4 }}
7
7
name : {{ include "occm.name" . }}
8
8
namespace : {{ .Release.Namespace }}
9
+ annotations :
10
+ {{- with .Values.commonAnnotations }}
11
+ {{- toYaml . | nindent 4 }}
12
+ {{- end }}
9
13
spec :
10
14
ports :
11
15
- name : http
Original file line number Diff line number Diff line change @@ -3,3 +3,7 @@ kind: ServiceAccount
3
3
metadata :
4
4
name : openstack-cloud-controller-manager
5
5
namespace : {{ .Release.Namespace }}
6
+ annotations :
7
+ {{- with .Values.commonAnnotations }}
8
+ {{- toYaml . | nindent 4 }}
9
+ {{- end }}
Original file line number Diff line number Diff line change @@ -6,6 +6,10 @@ metadata:
6
6
{{- include "occm.labels" . | nindent 4 }}
7
7
name : {{ include "occm.name" . }}
8
8
namespace : {{ .Release.Namespace }}
9
+ annotations :
10
+ {{- with .Values.commonAnnotations }}
11
+ {{- toYaml . | nindent 4 }}
12
+ {{- end }}
9
13
spec :
10
14
endpoints :
11
15
- bearerTokenFile : /var/run/secrets/kubernetes.io/serviceaccount/token
Original file line number Diff line number Diff line change 2
2
#
3
3
# Define deployment mode for the controller and provide cloud credentials in cloudConfig at the end of the file
4
4
#
5
+ # # Annotations to apply to all resources
6
+ commonAnnotations : {}
7
+ # commonAnnotations:
8
+ # "helm.sh/hook": pre-install,pre-upgrade
9
+ # "helm.sh/hook-weight": "-100"
10
+ # "helm.sh/hook-delete-policy": before-hook-creation
11
+
5
12
# Image repository name and tag
6
13
image :
7
14
repository : docker.io/k8scloudprovider/openstack-cloud-controller-manager
You can’t perform that action at this time.
0 commit comments