Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
91 commits
Select commit Hold shift + click to select a range
cd1b27b
[release-1.36] feat: add support for load balancer, listener, and poo…
k8s-infra-cherrypick-robot Jul 30, 2026
a86dcd4
fix openstack getServerByName return error code - Additional notes: (…
k8s-infra-cherrypick-robot Sep 4, 2026
ef3cad7
k8s-keystone-auth: Don't log tokens (#3180)
k8s-infra-cherrypick-robot Sep 4, 2026
d6b6885
Add mandre to approvers (#3183)
k8s-infra-cherrypick-robot Sep 4, 2026
789ece9
[release-1.36] [magnum-auto-healer] Add certificate validation (#3188)
k8s-infra-cherrypick-robot Sep 4, 2026
a13d342
Bump golangci-lint (#3198)
k8s-infra-cherrypick-robot Sep 9, 2026
bc3a336
Fix cloud-node-controller ClusterRoleBinding subject (#3197)
k8s-infra-cherrypick-robot Sep 9, 2026
72456fd
[release-1.36] Sync chart changes from master (#3196)
stephenfin Sep 9, 2026
355653b
merge upstream/release-1.36 into main
Sep 10, 2026
293e4f9
CARRY: Add DOWNSTREAM_OWNERS
dulek Oct 12, 2023
6b11379
CARRY: Don't ignore vendor directory
mandre Jun 12, 2025
29ce822
CARRY: Add .snyk configuration file
mandre Jan 3, 2024
c3cedb7
CARRY: Add images
mandre Feb 6, 2024
823dcb3
UPSTREAM: <carry>: update go mod dependency for konflux
ashwindasr Apr 4, 2025
cbd5b4c
CARRY: Vendoring
mandre Jun 12, 2025
9fa994b
DROP: Additional changes to gitignore needed for vendoring
mandre Jun 12, 2025
60c06e6
Bump golangci to 1.61 (#2664)
k8s-infra-cherrypick-robot Sep 18, 2024
afd9dc8
allow node service to run without openstack client (#2662)
k8s-infra-cherrypick-robot Sep 18, 2024
c0b65ca
[release-1.31]: prepare a new release (#2660)
kayrus Sep 19, 2024
9d0a33b
Bump go deps (#2674)
k8s-infra-cherrypick-robot Sep 19, 2024
e56bffc
Bump chart releaser
kayrus Sep 19, 2024
595f6f9
fix global config requirement for node-service (#2683)
k8s-infra-cherrypick-robot Oct 1, 2024
7a2257b
CARRY: Add DOWNSTREAM_OWNERS
dulek Oct 12, 2023
51fd0f4
CARRY: Add images
mandre Feb 6, 2024
2c84007
CARRY: Vendoring
mandre Oct 16, 2024
a7db325
[release-1.30] [occm] add a node selector support for loadbalancer se…
k8s-infra-cherrypick-robot May 28, 2024
bcef3b0
CARRY: Add DOWNSTREAM_OWNERS
dulek Oct 12, 2023
d228368
CARRY: Add .snyk configuration file
mandre Jan 3, 2024
5b866b9
CARRY: Add images
mandre Feb 6, 2024
260a88a
CARRY: More snyk ignores
dulek Jan 29, 2024
3291ebf
Remove dulek from shiftstack-team
stephenfin May 15, 2024
ef1638a
UPSTREAM: <carry>: Updating ose-openstack-cloud-controller-manager-co…
EmilienM Jun 14, 2024
05c0d85
UPSTREAM: <carry>: Updating ose-openstack-cinder-csi-driver-container…
EmilienM Jun 14, 2024
bd96cab
UPSTREAM: <carry>: Updating csi-driver-manila-container image to be c…
EmilienM Jun 14, 2024
25bad6f
CARRY: Vendoring
EmilienM Jun 14, 2024
bfc39fc
CARRY: Add DOWNSTREAM_OWNERS
dulek Oct 12, 2023
0d43f16
CARRY: Add .snyk configuration file
mandre Jan 3, 2024
8d67c3a
CARRY: Add images
mandre Feb 6, 2024
fe29e5d
CARRY: Vendoring
tsmetana Mar 19, 2019
f23b5ce
CARRY: More snyk ignores
dulek Jan 29, 2024
781eaf1
Bump golangci-lint for go 1.22 (#2567)
k8s-infra-cherrypick-robot Apr 3, 2024
5f648fe
Remove enforcement of IPv6 LB as internal (#2557) (#2566)
MaysaMacedo Apr 3, 2024
dfc4e74
Allow changing cluster-name on existing deployments (#2568)
k8s-infra-cherrypick-robot Apr 9, 2024
ef1080a
Updating ose-openstack-cinder-csi-driver-container image to be consis…
May 21, 2024
47dbd97
Remove dulek from shiftstack-team
stephenfin May 15, 2024
c2b270a
[tests]: fix 1.29 tests CI (#2608)
kayrus May 29, 2024
6045072
[release-1.29] [occm] add a node selector support for loadbalancer se…
k8s-infra-cherrypick-robot May 29, 2024
be064af
Updating ose-openstack-cinder-csi-driver-container image to be consis…
Sep 4, 2024
80702e6
Updating csi-driver-manila-container image to be consistent with ART …
Sep 4, 2024
8f526bb
UPSTREAM: <carry>: Updating ose-openstack-cloud-controller-manager-co…
Sep 5, 2024
be640f5
[release-1.31] [occm] fix ovn security groups (#2713)
k8s-infra-cherrypick-robot Nov 15, 2024
23e7e54
Updating ose-openstack-cinder-csi-driver-container image to be consis…
Dec 4, 2024
a76ec90
UPSTREAM: <carry>: Updating ose-openstack-cloud-controller-manager-co…
Dec 6, 2024
40b47b7
Updating csi-driver-manila-container image to be consistent with ART …
Dec 4, 2024
5606fd3
Automated cherry pick of #2722: prepare release 1.31.2 (#2723)
zetaab Nov 23, 2024
ad8c9cb
cinder-csi-plugin: Add --with-topology option (#2743) (#2746)
EmilienM Dec 12, 2024
eb7d910
Update golang.org/x/net to v0.33.0 (#2769)
lentzi90 Feb 14, 2025
1e8547a
tests: increase golangci-lint timeout (#2775)
k8s-infra-cherrypick-robot Feb 19, 2025
e208e94
[cinder-csi-plugin] Refactor list volumes (#2766) (#2842)
kayrus Feb 20, 2025
fbdc8a3
[release-131] preapre a new 1.31.3 release (#2850)
kayrus Feb 26, 2025
ed25b98
[charts] fix chart version
kayrus Feb 26, 2025
3dc14f7
Updating and vendoring go modules after an upstream merge
Feb 27, 2025
80692e1
UPSTREAM: <carry>: update go mod dependency for konflux
ashwindasr Apr 4, 2025
563a6b0
cinder-csi-plugin, manila-csi-plugin: Correct formatting character
stephenfin Mar 24, 2025
d42cf69
OWNERS: Update team osasinfra
pierreprinetti May 21, 2025
f8119bd
CARRY: don't ignore json files
mandre Jul 8, 2025
87c5f79
[release-1.33][manila-csi-plugin] Add support for authentication via …
Jun 20, 2025
60984e6
fix lbaas logs (#2923)
k8s-infra-cherrypick-robot Jul 2, 2025
ae3ad87
[manila-csi-plugin] support muilple share rules
moonek Nov 20, 2024
2e3b4ea
shiftstack: Update OWNERS
pierreprinetti Oct 6, 2025
4bf35e4
Updating ose-openstack-cinder-csi-driver-container image to be consis…
Sep 11, 2025
19ab304
UPSTREAM: <carry>: Updating ose-openstack-cloud-controller-manager-co…
Sep 30, 2025
fc34457
Updating csi-driver-manila-container image to be consistent with ART …
Sep 14, 2025
96e2fcf
CARRY: Don't ignore vendor directory
mandre Jun 12, 2025
d675b77
CARRY: Vendoring
mandre Oct 14, 2025
7963b72
DROP: Downgrade go version to 1.24
mandre Oct 14, 2025
b7e50a1
[release-1.34] update test deps (#3018)
k8s-infra-cherrypick-robot Oct 15, 2025
a25a25d
release 1.34.1 (#3016)
zetaab Oct 15, 2025
f1b540d
NO-JIRA: Update ShiftStack OWNERS
pierreprinetti Nov 20, 2025
906848b
Updating ose-openstack-cinder-csi-driver-container image to be consis…
Dec 18, 2025
68748fd
UPSTREAM: <carry>: Updating ose-openstack-cloud-controller-manager-co…
Dec 20, 2025
a2704c0
Updating csi-driver-manila-container image to be consistent with ART …
Jan 15, 2026
f792695
CARRY: Update DOWNSTREAM_OWNERS
stephenfin Feb 26, 2026
1ca044a
Updating csi-driver-manila-container image to be consistent with ART …
Mar 2, 2026
e314b3f
UPSTREAM: <carry>: Updating ose-openstack-cloud-controller-manager-co…
Mar 4, 2026
3072394
Updating ose-openstack-cinder-csi-driver-container image to be consis…
Mar 2, 2026
d67c412
CARRY: Vendoring
stephenfin Apr 27, 2026
cf0c6d2
Updating and vendoring go modules after an upstream merge
stephenfin May 15, 2026
5e00b25
Bump image versions
stephenfin May 15, 2026
5d64a5b
OCPBUGS-96822: Bump golang.org/x/net to v0.55.0
jkaurredhat Jul 3, 2026
fb84b90
UPSTREAM: <drop>: Updating and vendoring go modules after an upstream…
Sep 10, 2026
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
2 changes: 1 addition & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,6 @@ jobs:
git config user.email "$GITHUB_ACTOR@users.noreply.github.com"

- name: Run chart-releaser
uses: helm/chart-releaser-action@a917fd15b20e8b64b94d9158ad54cd6345335584
uses: helm/chart-releaser-action@v1.6.0
env:
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
22 changes: 7 additions & 15 deletions .golangci.yaml
Original file line number Diff line number Diff line change
@@ -1,12 +1,6 @@
version: "2"
output:
formats:
text:
path: stdout
colors: false
issues:
max-same-issues: 0
max-issues-per-linter: 0
run:
concurrency: 2
timeout: 10m0s
linters:
exclusions:
generated: lax
Expand All @@ -22,9 +16,7 @@ linters:
formatters:
enable:
- gofmt
exclusions:
generated: lax
paths:
- third_party$
- builtin$
- examples$
output:
formats:
 - format: line-number
 path: stdout
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ $(BUILD_CMDS): $(SOURCES)
test: unit functional

check: work
go run github.com/golangci/golangci-lint/v2/cmd/golangci-lint@v2.3.1 run --timeout=20m ./...
go run github.com/golangci/golangci-lint/cmd/golangci-lint@v1.61.0 run --timeout=20m ./...

unit: work
go test -tags=unit $(shell go list ./... | sed -e '/sanity/ { N; d; }' | sed -e '/tests/ {N; d;}') $(TESTARGS)
Expand Down
2 changes: 2 additions & 0 deletions OWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,11 @@ emeritus_approvers:
- dulek
approvers:
- kayrus
- mandre
- stephenfin
- zetaab
reviewers:
- kayrus
- mandre
- stephenfin
- zetaab
4 changes: 2 additions & 2 deletions charts/cinder-csi-plugin/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
apiVersion: v1
appVersion: v1.36.0
appVersion: v1.31.3
description: Cinder CSI Chart for OpenStack
name: openstack-cinder-csi
version: 2.36.0
version: 2.31.7
home: https://github.com/kubernetes/cloud-provider-openstack
icon: https://github.com/kubernetes/kubernetes/blob/master/logo/logo.png
maintainers:
Expand Down
1 change: 1 addition & 0 deletions charts/cinder-csi-plugin/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ Deploys a Cinder csi provisioner to your cluster, with the appropriate storageCl
- Enable deployment of storageclasses using `storageClass.enabled`
- Tag the retain or delete class as default class using `storageClass.delete.isDefault` in your value yaml
- Set `storageClass.<reclaim-policy>.allowVolumeExpansion` to `true` or `false`
- Set `storageClass.<reclaim-policy>.parameters` to add parameters (e.g. `availability` or `type`) to the storageclass

First add the repo:

Expand Down
3 changes: 3 additions & 0 deletions charts/cinder-csi-plugin/ci/snapshotter-disabled-values.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
csi:
snapshotter:
enabled: false
3 changes: 3 additions & 0 deletions charts/cinder-csi-plugin/ci/snapshotter-enabled-values.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
csi:
snapshotter:
enabled: true
3 changes: 3 additions & 0 deletions charts/cinder-csi-plugin/ci/topology-disabled-values.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
csi:
provisioner:
topology: "false"
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,6 @@ spec:
- "--timeout={{ .Values.timeout }}"
- "--leader-election=true"
- "--default-fstype=ext4"
- "--feature-gates=Topology={{ .Values.csi.provisioner.topology }}"
- "--extra-create-metadata"
{{- if .Values.csi.provisioner.extraArgs }}
{{- with .Values.csi.provisioner.extraArgs }}
Expand All @@ -86,6 +85,7 @@ spec:
- name: socket-dir
mountPath: /var/lib/csi/sockets/pluginproxy/
resources: {{ toYaml .Values.csi.provisioner.resources | nindent 12 }}
{{- if dig "enabled" true .Values.csi.snapshotter }}
- name: csi-snapshotter
securityContext:
{{- toYaml .Values.csi.plugin.controllerPlugin.securityContext | nindent 12 }}
Expand All @@ -111,6 +111,7 @@ spec:
- mountPath: /var/lib/csi/sockets/pluginproxy/
name: socket-dir
resources: {{ toYaml .Values.csi.snapshotter.resources | nindent 12 }}
{{- end }}
- name: csi-resizer
securityContext:
{{- toYaml .Values.csi.plugin.controllerPlugin.securityContext | nindent 12 }}
Expand Down Expand Up @@ -172,6 +173,7 @@ spec:
- "--cloud-config=$(CLOUD_CONFIG)"
- "--cluster=$(CLUSTER_NAME)"
- "--provide-node-service=false"
- "--with-topology={{ .Values.csi.provisioner.topology }}"
{{- if .Values.csi.plugin.httpEndpoint.enabled }}
- "--http-endpoint=:{{ .Values.csi.plugin.httpEndpoint.port }}"
{{- end }}
Expand All @@ -193,8 +195,10 @@ spec:
value: unix://csi/csi.sock
- name: CLOUD_CONFIG
value: /etc/config/{{ .Values.secret.filename }}
{{- if .Values.clusterID }}
- name: CLUSTER_NAME
value: "{{ .Values.clusterID }}"
{{- end }}
{{- if .Values.csi.plugin.extraEnv }}
{{- toYaml .Values.csi.plugin.extraEnv | nindent 12 }}
{{- end }}
Expand Down Expand Up @@ -245,8 +249,8 @@ spec:
hostAliases:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- if .Values.priorityClassName }}
priorityClassName: {{ .Values.priorityClassName }}
{{- if .Values.csi.plugin.controllerPlugin.priorityClassName }}
priorityClassName: {{ .Values.csi.plugin.controllerPlugin.priorityClassName }}
{{- end }}
{{- with .Values.imagePullSecrets }}
imagePullSecrets:
Expand Down
2 changes: 2 additions & 0 deletions charts/cinder-csi-plugin/templates/controllerplugin-rbac.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ roleRef:
name: csi-provisioner-role
apiGroup: rbac.authorization.k8s.io

{{- if dig "enabled" true .Values.csi.snapshotter }}
---
kind: ClusterRole
apiVersion: rbac.authorization.k8s.io/v1
Expand Down Expand Up @@ -125,6 +126,7 @@ roleRef:
kind: ClusterRole
name: csi-snapshotter-role
apiGroup: rbac.authorization.k8s.io
{{- end }}
---
kind: ClusterRole
apiVersion: rbac.authorization.k8s.io/v1
Expand Down
10 changes: 6 additions & 4 deletions charts/cinder-csi-plugin/templates/nodeplugin-daemonset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ spec:
{{- include "cinder-csi.nodeplugin.podAnnotations" . | nindent 8 }}
spec:
serviceAccount: csi-cinder-node-sa
# Host network access is usually necessary if using metadata service,
# since not all CNIs support link-local addresses, or if the OpenStack
# control plane is on a management network that is not advertised to pods
hostNetwork: true
dnsPolicy: {{ .Values.csi.plugin.nodePlugin.dnsPolicy }}
securityContext:
Expand Down Expand Up @@ -82,8 +85,6 @@ spec:
- name: cinder-csi-plugin
securityContext:
privileged: true
capabilities:
add: ["SYS_ADMIN"]
allowPrivilegeEscalation: true
image: "{{ .Values.csi.plugin.image.repository }}:{{ .Values.csi.plugin.image.tag | default .Chart.AppVersion }}"
imagePullPolicy: {{ .Values.csi.plugin.image.pullPolicy }}
Expand All @@ -93,6 +94,7 @@ spec:
- "--endpoint=$(CSI_ENDPOINT)"
- "--provide-controller-service=false"
- "--cloud-config=$(CLOUD_CONFIG)"
- "--with-topology={{ .Values.csi.provisioner.topology }}"
{{- if .Values.csi.plugin.extraArgs }}
{{- with .Values.csi.plugin.extraArgs }}
{{- tpl . $ | trim | nindent 12 }}
Expand Down Expand Up @@ -177,8 +179,8 @@ spec:
hostAliases:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- if .Values.priorityClassName }}
priorityClassName: {{ .Values.priorityClassName }}
{{- if .Values.csi.plugin.nodePlugin.priorityClassName }}
priorityClassName: {{ .Values.csi.plugin.nodePlugin.priorityClassName }}
{{- end }}
{{- with .Values.imagePullSecrets }}
imagePullSecrets:
Expand Down
10 changes: 9 additions & 1 deletion charts/cinder-csi-plugin/templates/storageclass.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ metadata:
provisioner: cinder.csi.openstack.org
reclaimPolicy: Delete
allowVolumeExpansion: {{ .Values.storageClass.delete.allowVolumeExpansion }}
{{- with .Values.storageClass.delete.parameters }}
parameters:
{{- toYaml . | nindent 2 }}
{{- end }}
---
apiVersion: storage.k8s.io/v1
kind: StorageClass
Expand All @@ -22,4 +26,8 @@ metadata:
provisioner: cinder.csi.openstack.org
reclaimPolicy: Retain
allowVolumeExpansion: {{ .Values.storageClass.retain.allowVolumeExpansion }}
{{- end }}
{{- with .Values.storageClass.retain.parameters }}
parameters:
{{- toYaml . | nindent 2 }}
{{- end }}
{{- end }}
33 changes: 18 additions & 15 deletions charts/cinder-csi-plugin/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ csi:
extraArgs: {}
extraEnv: []
snapshotter:
enabled: true
image:
repository: registry.k8s.io/sig-storage/csi-snapshotter
tag: v8.4.0
Expand Down Expand Up @@ -90,17 +91,19 @@ csi:
readOnly: true
nodePlugin:
dnsPolicy: ClusterFirstWithHostNet
priorityClassName: "system-node-critical"
# Optional additional annotations to add to the nodePlugin Pods.
podAnnotations: {}
# Optional additional labels to add to the nodePlugin Pods.
podLabels: {}
podSecurityContext: {}
securityContext: {}
# capabilities:
# drop:
# - ALL
# seccompProfile:
# type: RuntimeDefault
securityContext:
# Images use distroless/static:latest which runs as root; runAsNonRoot
# and allowPrivilegeEscalation cannot be set until upstream switches to
# a nonroot base image.
readOnlyRootFilesystem: true
seccompProfile:
type: RuntimeDefault
affinity: {}
nodeSelector: {}
tolerations:
Expand All @@ -125,6 +128,7 @@ csi:
# maxSurge is the maximum number of pods that can be
# created over the desired number of pods.
maxSurge: 1
priorityClassName: "system-cluster-critical"
# Optional additional annotations to add to the controllerPlugin Pods.
podAnnotations: {}
# Optional additional labels to add to the controllerPlugin Pods.
Expand All @@ -135,13 +139,10 @@ csi:
# runAsGroup: 65532
# fsGroup: 65532
# fsGroupChangePolicy: OnRootMismatch
securityContext: {}
# capabilities:
# drop:
# - ALL
# seccompProfile:
# type: RuntimeDefault
# readOnlyRootFilesystem: true
securityContext:
readOnlyRootFilesystem: true
seccompProfile:
type: RuntimeDefault
affinity: {}
nodeSelector: {}
tolerations: []
Expand Down Expand Up @@ -196,9 +197,13 @@ storageClass:
delete:
isDefault: false
allowVolumeExpansion: true
# optional parameters for the StorageClass, e.g. availability or type
parameters: {}
retain:
isDefault: false
allowVolumeExpansion: true
# optional parameters for the StorageClass, e.g. availability or type
parameters: {}
# any kind of custom StorageClasses
# custom: |-
# ---
Expand Down Expand Up @@ -226,8 +231,6 @@ clusterID: "kubernetes"
# Enable PVC annotations support to create PVCs with extra parameters
pvcAnnotations: false

priorityClassName: ""

imagePullSecrets: []
# - name: my-imagepull-secret

Expand Down
4 changes: 2 additions & 2 deletions charts/manila-csi-plugin/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
apiVersion: v1
appVersion: v1.36.0
appVersion: v1.31.3
description: Manila CSI Chart for OpenStack
name: openstack-manila-csi
version: 2.36.0
version: 2.31.3
home: http://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 @@ -21,6 +21,8 @@ spec:
containers:
{{- range .Values.shareProtocols }}
- name: {{ .protocolSelector | lower }}-provisioner
securityContext:
{{- toYaml $.Values.controllerplugin.securityContext | nindent 12 }}
image: "{{ $.Values.controllerplugin.provisioner.image.repository }}:{{ $.Values.controllerplugin.provisioner.image.tag }}"
args:
- "-v={{ $.Values.logVerbosityLevel }}"
Expand All @@ -44,6 +46,8 @@ spec:
resources:
{{ toYaml $.Values.controllerplugin.provisioner.resources | indent 12 }}
- name: {{ .protocolSelector | lower }}-snapshotter
securityContext:
{{- toYaml $.Values.controllerplugin.securityContext | nindent 12 }}
image: "{{ $.Values.controllerplugin.snapshotter.image.repository }}:{{ $.Values.controllerplugin.snapshotter.image.tag }}"
args:
- "-v={{ $.Values.logVerbosityLevel }}"
Expand All @@ -61,6 +65,8 @@ spec:
resources:
{{ toYaml $.Values.controllerplugin.snapshotter.resources | indent 12 }}
- name: {{ .protocolSelector | lower }}-resizer
securityContext:
{{- toYaml $.Values.controllerplugin.securityContext | nindent 12 }}
image: "{{ $.Values.controllerplugin.resizer.image.repository }}:{{ $.Values.controllerplugin.resizer.image.tag }}"
args:
- "-v={{ $.Values.logVerbosityLevel }}"
Expand All @@ -81,8 +87,6 @@ spec:
- name: {{ .protocolSelector | lower }}-nodeplugin
securityContext:
privileged: true
capabilities:
add: ["SYS_ADMIN"]
allowPrivilegeEscalation: true
image: "{{ $.Values.csimanila.image.repository }}:{{ $.Values.csimanila.image.tag | default $.Chart.AppVersion }}"
command: ["/bin/sh", "-c",
Expand All @@ -101,7 +105,7 @@ spec:
{{- if .compatibilitySettings }}
--compatibility-settings={{ .compatibilitySettings }}
{{- end }}
--cluster-id="{{ $.Values.csimanila.clusterID }}"
--cluster-id=$(CLUSTER_NAME)
{{- if $.Values.csimanila.pvcAnnotations }}
--pvc-annotations
{{- end }}'
Expand All @@ -115,9 +119,17 @@ spec:
value: "unix://{{ .fwdNodePluginEndpoint.dir }}/{{ .fwdNodePluginEndpoint.sockFile }}"
- name: MANILA_SHARE_PROTO
value: "{{ .protocolSelector }}"
{{- if $.Values.csimanila.clusterID }}
- name: CLUSTER_NAME
value: {{ $.Values.csimanila.clusterID }}
{{- end }}
{{- if $.Values.controllerplugin.nodeplugin.extraEnv }}
{{- toYaml $.Values.controllerplugin.nodeplugin.extraEnv | nindent 12 }}
{{- end }}
{{- with $.Values.controllerplugin.nodeplugin.envFrom }}
envFrom:
{{- toYaml . | nindent 12 }}
{{- end }}
imagePullPolicy: {{ $.Values.csimanila.image.pullPolicy }}
volumeMounts:
- name: {{ .protocolSelector | lower }}-plugin-dir
Expand Down Expand Up @@ -174,6 +186,9 @@ spec:
hostAliases:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- if .Values.controllerplugin.priorityClassName }}
priorityClassName: {{ .Values.controllerplugin.priorityClassName }}
{{- end }}
{{- if .Values.imagePullSecrets }}
imagePullSecrets:
{{- toYaml .Values.imagePullSecrets | nindent 8 }}
Expand Down
Loading