Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions helm/cloud-provider-openstack-app/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ version: [[ .Version ]]

dependencies:
- name: openstack-cloud-controller-manager
version: 1.3.0
version: 2.27.1
- name: openstack-cinder-csi
version: 2.2.0
version: 2.27.1

icon: https://s.giantswarm.io/app-icons/openstack/1/light.svg
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
apiVersion: v1
appVersion: v1.24.6
appVersion: v1.27.1
description: Cinder CSI Chart for OpenStack
name: openstack-cinder-csi
version: 2.2.0
version: 2.27.1
home: https://github.com/kubernetes/cloud-provider-openstack
icon: https://github.com/kubernetes/kubernetes/blob/master/logo/logo.png
maintainers:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,12 @@ spec:
- "--csi-address=$(ADDRESS)"
- "--timeout={{ .Values.timeout }}"
- "--leader-election=true"
- "--default-fstype=ext4"
{{- if .Values.csi.attacher.extraArgs }}
{{- with .Values.csi.attacher.extraArgs }}
{{- tpl . $ | trim | nindent 12 }}
{{- end }}
{{- end }}
env:
- name: ADDRESS
value: /var/lib/csi/sockets/pluginproxy/csi.sock
Expand All @@ -50,6 +56,11 @@ spec:
- "--default-fstype=ext4"
- "--feature-gates=Topology={{ .Values.csi.provisioner.topology }}"
- "--extra-create-metadata"
{{- if .Values.csi.provisioner.extraArgs }}
{{- with .Values.csi.provisioner.extraArgs }}
{{- tpl . $ | trim | nindent 12 }}
{{- end }}
{{- end }}
env:
- name: ADDRESS
value: /var/lib/csi/sockets/pluginproxy/csi.sock
Expand All @@ -65,6 +76,11 @@ spec:
- "--csi-address=$(ADDRESS)"
- "--timeout={{ .Values.timeout }}"
- "--leader-election=true"
{{- if .Values.csi.snapshotter.extraArgs }}
{{- with .Values.csi.snapshotter.extraArgs }}
{{- tpl . $ | trim | nindent 12 }}
{{- end }}
{{- end }}
env:
- name: ADDRESS
value: /var/lib/csi/sockets/pluginproxy/csi.sock
Expand All @@ -81,6 +97,11 @@ spec:
- "--timeout={{ .Values.timeout }}"
- "--handle-volume-inuse-error=false"
- "--leader-election=true"
{{- if .Values.csi.resizer.extraArgs }}
{{- with .Values.csi.resizer.extraArgs }}
{{- tpl . $ | trim | nindent 12 }}
{{- end }}
{{- end }}
env:
- name: ADDRESS
value: /var/lib/csi/sockets/pluginproxy/csi.sock
Expand All @@ -94,6 +115,11 @@ spec:
args:
- "-v={{ .Values.logVerbosityLevel }}"
- "--csi-address=$(ADDRESS)"
{{- if .Values.csi.livenessprobe.extraArgs }}
{{- with .Values.csi.livenessprobe.extraArgs }}
{{- tpl . $ | trim | nindent 12 }}
{{- end }}
{{- end }}
env:
- name: ADDRESS
value: /var/lib/csi/sockets/pluginproxy/csi.sock
Expand All @@ -110,6 +136,11 @@ spec:
- "--endpoint=$(CSI_ENDPOINT)"
- "--cloud-config=$(CLOUD_CONFIG)"
- "--cluster=$(CLUSTER_NAME)"
{{- if .Values.csi.plugin.extraArgs }}
{{- with .Values.csi.plugin.extraArgs }}
{{- tpl . $ | trim | nindent 12 }}
{{- end }}
{{- end }}
env:
- name: CSI_ENDPOINT
value: unix://csi/csi.sock
Expand Down Expand Up @@ -153,3 +184,7 @@ spec:
{{- if .Values.priorityClassName }}
priorityClassName: {{ .Values.priorityClassName }}
{{- end }}
{{- with .Values.imagePullSecrets }}
imagePullSecrets:
{{- toYaml . | nindent 8 }}
{{- end }}
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,11 @@ spec:
- "-v={{ .Values.logVerbosityLevel }}"
- "--csi-address=$(ADDRESS)"
- "--kubelet-registration-path=$(DRIVER_REG_SOCK_PATH)"
{{- if .Values.csi.nodeDriverRegistrar.extraArgs }}
{{- with .Values.csi.nodeDriverRegistrar.extraArgs }}
{{- tpl . $ | trim | nindent 12 }}
{{- end }}
{{- end }}
env:
- name: ADDRESS
value: /csi/csi.sock
Expand All @@ -45,6 +50,11 @@ spec:
args:
- "-v={{ .Values.logVerbosityLevel }}"
- --csi-address=/csi/csi.sock
{{- if .Values.csi.livenessprobe.extraArgs }}
{{- with .Values.csi.livenessprobe.extraArgs }}
{{- tpl . $ | trim | nindent 12 }}
{{- end }}
{{- end }}
volumeMounts:
- name: socket-dir
mountPath: /csi
Expand All @@ -62,6 +72,11 @@ spec:
- "-v={{ .Values.logVerbosityLevel }}"
- "--endpoint=$(CSI_ENDPOINT)"
- "--cloud-config=$(CLOUD_CONFIG)"
{{- if .Values.csi.plugin.extraArgs }}
{{- with .Values.csi.plugin.extraArgs }}
{{- tpl . $ | trim | nindent 12 }}
{{- end }}
{{- end }}
env:
- name: CSI_ENDPOINT
value: unix://csi/csi.sock
Expand Down Expand Up @@ -127,3 +142,7 @@ spec:
{{- if .Values.priorityClassName }}
priorityClassName: {{ .Values.priorityClassName }}
{{- end }}
{{- with .Values.imagePullSecrets }}
imagePullSecrets:
{{- toYaml . | nindent 8 }}
{{- end }}
Original file line number Diff line number Diff line change
Expand Up @@ -7,48 +7,54 @@ timeout: 3m
csi:
attacher:
image:
repository: k8s.gcr.io/sig-storage/csi-attacher
tag: v3.4.0
repository: registry.k8s.io/sig-storage/csi-attacher
tag: v4.2.0
pullPolicy: IfNotPresent
resources: {}
extraArgs: {}
provisioner:
topology: "true"
image:
repository: k8s.gcr.io/sig-storage/csi-provisioner
tag: v3.1.0
repository: registry.k8s.io/sig-storage/csi-provisioner
tag: v3.4.1
pullPolicy: IfNotPresent
resources: {}
extraArgs: {}
snapshotter:
image:
repository: k8s.gcr.io/sig-storage/csi-snapshotter
tag: v5.0.1
repository: registry.k8s.io/sig-storage/csi-snapshotter
tag: v6.2.1
pullPolicy: IfNotPresent
resources: {}
extraArgs: {}
resizer:
image:
repository: k8s.gcr.io/sig-storage/csi-resizer
tag: v1.4.0
repository: registry.k8s.io/sig-storage/csi-resizer
tag: v1.7.0
pullPolicy: IfNotPresent
resources: {}
extraArgs: {}
livenessprobe:
image:
repository: k8s.gcr.io/sig-storage/livenessprobe
tag: v2.6.0
repository: registry.k8s.io/sig-storage/livenessprobe
tag: v2.9.0
pullPolicy: IfNotPresent
failureThreshold: 5
initialDelaySeconds: 10
timeoutSeconds: 10
periodSeconds: 60
resources: {}
extraArgs: {}
nodeDriverRegistrar:
image:
repository: k8s.gcr.io/sig-storage/csi-node-driver-registrar
tag: v2.5.0
repository: registry.k8s.io/sig-storage/csi-node-driver-registrar
tag: v2.6.2
pullPolicy: IfNotPresent
resources: {}
extraArgs: {}
plugin:
image:
repository: docker.io/k8scloudprovider/cinder-csi-plugin
repository: registry.k8s.io/provider-os/cinder-csi-plugin
pullPolicy: IfNotPresent
tag: # defaults to .Chart.AppVersion
volumes:
Expand Down Expand Up @@ -85,15 +91,7 @@ csi:
nodeSelector: {}
tolerations: []
resources: {}
snapshotController:
enabled: false
image:
repository: k8s.gcr.io/sig-storage/snapshot-controller
tag: v5.0.1
resources: {}
affinity: {}
nodeSelector: {}
tolerations: []
extraArgs: {}

# Log verbosity level.
# See https://github.com/kubernetes/community/blob/master/contributors/devel/sig-instrumentation/logging.md
Expand Down Expand Up @@ -124,14 +122,7 @@ storageClass:
isDefault: false
allowVolumeExpansion: true
# any kind of custom StorageClasses
# custom: |-
# ---
# apiVersion: snapshot.storage.k8s.io/v1beta1
# kind: VolumeSnapshotClass
# metadata:
# name: csi-cinder-snapclass
# driver: cinder.csi.openstack.org
# deletionPolicy: Delete
# custom: |-
# ---
# apiVersion: storage.k8s.io/v1
# kind: StorageClass
Expand All @@ -142,9 +133,19 @@ storageClass:
# allowVolumeExpansion: true
# parameters:
# type: SAS
# ---
# apiVersion: snapshot.storage.k8s.io/v1
# kind: VolumeSnapshotClass
# metadata:
# name: csi-cinder-snapclass
# driver: cinder.csi.openstack.org
# deletionPolicy: Delete

# You may set ID of the cluster where openstack-cinder-csi is deployed. This value will be appended
# to volume metadata in newly provisioned volumes as `cinder.csi.openstack.org/cluster=<cluster ID>`.
clusterID: "kubernetes"

priorityClassName: ""

imagePullSecrets: []
# - name: my-imagepull-secret
Original file line number Diff line number Diff line change
@@ -1,14 +1,11 @@
apiVersion: v1
appVersion: v1.24.6
appVersion: v1.27.1
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: 1.3.0
version: 2.27.1
maintainers:
- name: morremeyer
email: kubernetes@maurice-meyer.de
url: https://maurice-meyer.de
- name: eumel8
email: f.kloeker@telekom.de
url: https://www.telekom.com
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@ apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
name: system:openstack-cloud-controller-manager
annotations:
{{- with .Values.commonAnnotations }}
{{- toYaml . | nindent 4 }}
{{- end }}
rules:
- apiGroups:
- coordination.k8s.io
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@ kind: ClusterRoleBinding
apiVersion: rbac.authorization.k8s.io/v1
metadata:
name: system:{{ include "occm.name" . }}:auth-delegate
annotations:
{{- with .Values.commonAnnotations }}
{{- toYaml . | nindent 4 }}
{{- end }}
subjects:
- kind: User
name: system:serviceaccount:{{ .Release.Namespace }}:{{ include "occm.name" . }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@ apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
name: system:openstack-cloud-controller-manager
annotations:
{{- with .Values.commonAnnotations }}
{{- toYaml . | nindent 4 }}
{{- end }}
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,13 @@ apiVersion: apps/v1
kind: DaemonSet
metadata:
name: {{ include "occm.name" . }}
namespace: {{ .Release.Namespace }}
labels:
{{- include "occm.labels" . | nindent 4 }}
annotations:
{{- with .Values.commonAnnotations }}
{{- toYaml . | nindent 4 }}
{{- end }}
spec:
selector:
matchLabels:
Expand All @@ -16,6 +21,10 @@ spec:
checksum/config: {{ include "cloudConfig" . | sha256sum }}
labels:
{{- include "occm.controllermanager.labels" . | nindent 8 }}
annotations:
{{- with .Values.commonAnnotations }}
{{- toYaml . | nindent 8 }}
{{- end }}
spec:
{{- with .Values.nodeSelector }}
nodeSelector:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,18 @@
apiVersion: v1
kind: Secret
metadata:
name: {{ .Values.secret.name | default "cloud-config" }}
name: {{ .Values.secret.name | default "cloud-config" }}
namespace: {{ .Release.Namespace }}
annotations:
{{- with .Values.commonAnnotations }}
{{- toYaml . | nindent 4 }}
{{- end }}
type: Opaque
data:
cloud.conf: {{ include "cloudConfig" . | b64enc }}
{{ if .Values.cloudConfigContents -}}
cloud.conf: |
{{ .Values.cloudConfigContents | b64enc }}
{{ else -}}
cloud.conf: {{ include "cloudConfig" . | b64enc }}
{{ end -}}
{{- end }}
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@ metadata:
labels:
{{- include "occm.labels" . | nindent 4 }}
name: {{ include "occm.name" . }}
namespace: {{ .Release.Namespace }}
annotations:
{{- with .Values.commonAnnotations }}
{{- toYaml . | nindent 4 }}
{{- end }}
spec:
ports:
- name: http
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,8 @@ apiVersion: v1
kind: ServiceAccount
metadata:
name: openstack-cloud-controller-manager
namespace: {{ .Release.Namespace }}
annotations:
{{- with .Values.commonAnnotations }}
{{- toYaml . | nindent 4 }}
{{- end }}
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@ metadata:
labels:
{{- include "occm.labels" . | nindent 4 }}
name: {{ include "occm.name" . }}
namespace: {{ .Release.Namespace }}
annotations:
{{- with .Values.commonAnnotations }}
{{- toYaml . | nindent 4 }}
{{- end }}
spec:
endpoints:
- bearerTokenFile: /var/run/secrets/kubernetes.io/serviceaccount/token
Expand Down
Loading