Skip to content

Commit

Permalink
Add dependabot compatibility for csi-powermax images (#515)
Browse files Browse the repository at this point in the history
  • Loading branch information
suryagupta4 authored and shaynafinocchiaro committed Oct 29, 2024
1 parent 6d6519e commit 68ccb3e
Show file tree
Hide file tree
Showing 3 changed files with 42 additions and 29 deletions.
22 changes: 11 additions & 11 deletions charts/csi-powermax/templates/controller.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ spec:
{{- if hasKey .Values "podmon" }}
{{- if eq .Values.podmon.enabled true }}
- name: podmon
image: {{ required "Must provide the podmon container image." .Values.images.podmon }}
image: {{ required "Must provide the podmon container image." .Values.images.podmon.image }}
imagePullPolicy: {{ .Values.imagePullPolicy }}
args:
{{- toYaml .Values.podmon.controller.args | nindent 12 }}
Expand All @@ -208,7 +208,7 @@ spec:
{{- end }}
{{- end }}
- name: attacher
image: {{ required "Must provide the CSI attacher container image." .Values.images.attacher }}
image: {{ required "Must provide the CSI attacher container image." .Values.images.attacher.image }}
imagePullPolicy: {{ .Values.imagePullPolicy }}
args:
- "--csi-address=$(ADDRESS)"
Expand All @@ -223,7 +223,7 @@ spec:
- name: socket-dir
mountPath: /var/run/csi
- name: provisioner
image: {{ required "Must provide the CSI provisioner container image." .Values.images.provisioner }}
image: {{ required "Must provide the CSI provisioner container image." .Values.images.provisioner.image }}
imagePullPolicy: {{ .Values.imagePullPolicy }}
args:
- "--csi-address=$(ADDRESS)"
Expand Down Expand Up @@ -256,7 +256,7 @@ spec:
{{- if hasKey .Values.controller "snapshot" }}
{{- if eq .Values.controller.snapshot.enabled true }}
- name: snapshotter
image: {{ required "Must provide the CSI snapshotter container image." .Values.images.snapshotter }}
image: {{ required "Must provide the CSI snapshotter container image." .Values.images.snapshotter.image }}
imagePullPolicy: {{ .Values.imagePullPolicy }}
args:
- "--csi-address=$(ADDRESS)"
Expand All @@ -275,7 +275,7 @@ spec:
{{- end }}
{{- if eq .Values.replication.enabled true}}
- name: dell-csi-replicator
image: {{ required "Must provide the Dell CSI Replicator Resizer image." .Values.images.replication }}
image: {{ required "Must provide the Dell CSI Replicator Resizer image." .Values.images.replication.image }}
imagePullPolicy: {{ .Values.imagePullPolicy }}
args:
- "--csi-address=$(ADDRESS)"
Expand All @@ -301,7 +301,7 @@ spec:
{{- end }}
{{- if eq .Values.migration.enabled true}}
- name: dell-csi-migrator
image: {{ required "Must provide the Dell CSI Migrator Resizer image." .Values.images.migration }}
image: {{ required "Must provide the Dell CSI Migrator Resizer image." .Values.images.migration.image }}
imagePullPolicy: {{ .Values.imagePullPolicy }}
args:
- "--csi-address=$(ADDRESS)"
Expand All @@ -327,7 +327,7 @@ spec:
{{- if hasKey .Values.controller "resizer" }}
{{- if eq .Values.controller.resizer.enabled true }}
- name: resizer
image: {{ required "Must provide the CSI resizer container image." .Values.images.resizer }}
image: {{ required "Must provide the CSI resizer container image." .Values.images.resizer.image }}
imagePullPolicy: {{ .Values.imagePullPolicy }}
args:
- "--csi-address=$(ADDRESS)"
Expand All @@ -346,7 +346,7 @@ spec:
{{- if eq .Values.authorization.enabled true }}
- name: karavi-authorization-proxy
imagePullPolicy: {{ .Values.imagePullPolicy }}
image: {{ required "Must provide the authorization sidecar container image." .Values.images.authorization }}
image: {{ required "Must provide the authorization sidecar container image." .Values.images.authorization.image }}
env:
- name: PROXY_HOST
value: "{{ .Values.authorization.proxyHost }}"
Expand Down Expand Up @@ -377,7 +377,7 @@ spec:
{{- if eq .Values.controller.healthMonitor.enabled true }}
- name: csi-external-health-monitor-controller
imagePullPolicy: {{ .Values.imagePullPolicy }}
image: {{ required "Must provide the CSI external health monitor controller image." .Values.images.healthmonitor }}
image: {{ required "Must provide the CSI external health monitor controller image." .Values.images.healthmonitor.image }}
args:
- "--v=5"
- "--csi-address=$(ADDRESS)"
Expand All @@ -395,7 +395,7 @@ spec:
{{- end }}
{{- end }}
- name: driver
image: {{ required "Must provide the PowerMax driver image repository." .Values.images.driver }}
image: {{ required "Must provide the PowerMax driver image repository." .Values.images.driver.image }}
imagePullPolicy: {{ .Values.imagePullPolicy }}
command: [ "/csi-powermax.sh" ]
env:
Expand Down Expand Up @@ -509,7 +509,7 @@ spec:
mountPath: /powermax-array-config
{{- if eq .Values.csireverseproxy.deployAsSidecar true }}
- name: reverseproxy
image: {{ required "Must provided an image for reverseproxy container." .Values.images.csireverseproxy }}
image: {{ required "Must provided an image for reverseproxy container." .Values.images.csireverseproxy.image }}
imagePullPolicy: {{ .Values.imagePullPolicy }}
env:
- name: X_CSI_REVPROXY_CONFIG_DIR
Expand Down
10 changes: 5 additions & 5 deletions charts/csi-powermax/templates/node.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ spec:
capabilities:
add: ["SYS_ADMIN"]
allowPrivilegeEscalation: true
image: {{ required "Must provide the PowerMax driver image repository." .Values.images.driver }}
image: {{ required "Must provide the PowerMax driver image repository." .Values.images.driver.image }}
imagePullPolicy: {{ .Values.imagePullPolicy }}
command: [ "/csi-powermax.sh" ]
env:
Expand Down Expand Up @@ -289,7 +289,7 @@ spec:
{{- end }}
{{- end }}
- name: registrar
image: {{ required "Must provide the CSI node registrar container image." .Values.images.registrar }}
image: {{ required "Must provide the CSI node registrar container image." .Values.images.registrar.image }}
args:
- "--v=5"
- "--csi-address=$(ADDRESS)"
Expand Down Expand Up @@ -319,7 +319,7 @@ spec:
add: [ "SYS_ADMIN" ]
allowPrivilegeEscalation: true
imagePullPolicy: {{ .Values.imagePullPolicy }}
image: {{ required "Must provide the node rescanner sidecar container image." .Values.images.noderescan }}
image: {{ required "Must provide the node rescanner sidecar container image." .Values.images.noderescan.image }}
args:
- "--csi-address=$(ADDRESS)"
- "--retry-interval-start=1s"
Expand Down Expand Up @@ -357,7 +357,7 @@ spec:
{{- if eq .Values.authorization.enabled true }}
- name: karavi-authorization-proxy
imagePullPolicy: {{ .Values.imagePullPolicy }}
image: {{ required "Must provide the authorization sidecar container image." .Values.images.authorization }}
image: {{ required "Must provide the authorization sidecar container image." .Values.images.authorization.image }}
env:
- name: PROXY_HOST
value: "{{ .Values.authorization.proxyHost }}"
Expand Down Expand Up @@ -392,7 +392,7 @@ spec:
capabilities:
add: [ "SYS_ADMIN" ]
allowPrivilegeEscalation: true
image: {{ required "Must provide the podmon container image." .Values.images.podmon }}
image: {{ required "Must provide the podmon container image." .Values.images.podmon.image }}
imagePullPolicy: {{ .Values.imagePullPolicy }}
args:
{{- toYaml .Values.podmon.node.args | nindent 12 }}
Expand Down
39 changes: 26 additions & 13 deletions charts/csi-powermax/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -78,23 +78,36 @@ version: "v2.11.0"
# To use your own images, or a private registry, change the values here.
images:
# "driver" defines the container image, used for the driver container.
driver: quay.io/dell/container-storage-modules/csi-powermax:nightly # TODO replace nightly with the latest release tag after release
csireverseproxy: quay.io/dell/container-storage-modules/csipowermax-reverseproxy:nightly # TODO replace nightly with the latest release tag after release
driver:
image: quay.io/dell/container-storage-modules/csi-powermax:nightly # TODO replace nightly with the latest release tag after release
csireverseproxy:
image: quay.io/dell/container-storage-modules/csipowermax-reverseproxy:nightly # TODO replace nightly with the latest release tag after release
# CSI sidecars
attacher: registry.k8s.io/sig-storage/csi-attacher:v4.6.1
provisioner: registry.k8s.io/sig-storage/csi-provisioner:v5.0.1
snapshotter: registry.k8s.io/sig-storage/csi-snapshotter:v8.0.1
resizer: registry.k8s.io/sig-storage/csi-resizer:v1.11.1
registrar: registry.k8s.io/sig-storage/csi-node-driver-registrar:v2.10.1
healthmonitor: registry.k8s.io/sig-storage/csi-external-health-monitor-controller:v0.12.1
attacher:
image: registry.k8s.io/sig-storage/csi-attacher:v4.6.1
provisioner:
image: registry.k8s.io/sig-storage/csi-provisioner:v5.0.1
snapshotter:
image: registry.k8s.io/sig-storage/csi-snapshotter:v8.0.1
resizer:
image: registry.k8s.io/sig-storage/csi-resizer:v1.11.1
registrar:
image: registry.k8s.io/sig-storage/csi-node-driver-registrar:v2.10.1
healthmonitor:
image: registry.k8s.io/sig-storage/csi-external-health-monitor-controller:v0.12.1
# CSM sidecars
replication: dellemc/dell-csi-replicator:v1.10.0
authorization: dellemc/csm-authorization-sidecar:v1.11.0
migration: dellemc/dell-csi-migrator:v1.5.0
podmon: dellemc/podmon:v1.11.0
replication:
image: dellemc/dell-csi-replicator:v1.10.0
authorization:
image: dellemc/csm-authorization-sidecar:v1.11.0
migration:
image: dellemc/dell-csi-migrator:v1.5.0
podmon:
image: dellemc/podmon:v1.11.0
# Node rescan sidecar does a rescan on nodes for identifying new paths
# Default value: dellemc/dell-csi-node-rescanner:v1.4.0
noderescan: dellemc/dell-csi-node-rescanner:v1.4.0
noderescan:
image: dellemc/dell-csi-node-rescanner:v1.4.0
## K8S/DRIVER ATTRIBUTES
########################
# customDriverName: If enabled, sets the driver name to the
Expand Down

0 comments on commit 68ccb3e

Please sign in to comment.