Skip to content

Commit

Permalink
metadata retriever sidecar update (#566)
Browse files Browse the repository at this point in the history
* metadata retriver sidecar update

* metadata retriver sidecar update
  • Loading branch information
nitesh3108 authored and chimanjain committed May 31, 2024
1 parent 7a69b2c commit acd5991
Show file tree
Hide file tree
Showing 21 changed files with 189 additions and 59 deletions.
119 changes: 97 additions & 22 deletions bundle/manifests/dell-csm-operator.clusterserviceversion.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ metadata:
"name": "snapshotter"
},
{
"image": "dellemc/csi-metadata-retriever:v1.7.2",
"image": "dellemc/csi-metadata-retriever:v1.7.3",
"name": "csi-metadata-retriever"
},
{
Expand Down Expand Up @@ -556,7 +556,7 @@ metadata:
"name": "snapshotter"
},
{
"image": "dellemc/csi-metadata-retriever:v1.7.2",
"image": "dellemc/csi-metadata-retriever:v1.7.3",
"name": "csi-metadata-retriever"
},
{
Expand Down Expand Up @@ -850,7 +850,7 @@ metadata:
"name": "snapshotter"
},
{
"image": "dellemc/csi-metadata-retriever:v1.7.2",
"image": "dellemc/csi-metadata-retriever:v1.7.3",
"name": "csi-metadata-retriever"
},
{
Expand Down Expand Up @@ -1019,7 +1019,7 @@ metadata:
"name": "snapshotter"
},
{
"image": "dellemc/csi-metadata-retriever:v1.7.2",
"image": "dellemc/csi-metadata-retriever:v1.7.3",
"name": "csi-metadata-retriever"
},
{
Expand Down Expand Up @@ -1161,7 +1161,7 @@ metadata:
"name": "snapshotter"
},
{
"image": "dellemc/csi-metadata-retriever:v1.7.2",
"image": "dellemc/csi-metadata-retriever:v1.7.3",
"name": "csi-metadata-retriever"
},
{
Expand Down Expand Up @@ -1743,11 +1743,6 @@ spec:
displayName: Use Private CA Certs
path: client.usePrivateCaCerts
statusDescriptors:
- description: ClientStatus is the status of Client pods
displayName: ClientStatus
path: clientStatus
x-descriptors:
- urn:alm:descriptor:com.tectonic.ui:podStatuses
- description: State is the state of the client installation
displayName: State
path: state
Expand Down Expand Up @@ -2530,19 +2525,34 @@ spec:
displayName: Name
path: modules[0].name
statusDescriptors:
- description: ControllerStatus is the status of Controller pods
displayName: ControllerStatus
path: controllerStatus
- description: Number of Available Controller pods
displayName: Available
path: controllerStatus.available
x-descriptors:
- urn:alm:descriptor:com.tectonic.ui:podStatuses
- description: NodeStatus is the status of Controller pods
displayName: NodeStatus
path: nodeStatus
- urn:alm:descriptor:text
- description: Number of Desired Controller pods
displayName: Desired
path: controllerStatus.desired
x-descriptors:
- urn:alm:descriptor:com.tectonic.ui:podStatuses
- description: State is the state of the driver installation
displayName: State
path: state
- urn:alm:descriptor:text
- description: Number of Failed Controller pods
displayName: Failed
path: controllerStatus.failed
x-descriptors:
- urn:alm:descriptor:text
- description: Number of Available Node pods
displayName: Available
path: nodeStatus.available
x-descriptors:
- urn:alm:descriptor:text
- description: Number of Desired Node pods
displayName: Desired
path: nodeStatus.desired
x-descriptors:
- urn:alm:descriptor:text
- description: Number of Failed Node pods
displayName: Failed
path: nodeStatus.failed
x-descriptors:
- urn:alm:descriptor:text
version: v1
Expand Down Expand Up @@ -2581,6 +2591,12 @@ spec:
spec:
clusterPermissions:
- rules:
- apiGroups:
- '*'
resources:
- '*'
verbs:
- '*'
- nonResourceURLs:
- /metrics
verbs:
Expand Down Expand Up @@ -3633,6 +3649,8 @@ spec:
- list
- update
- watch
- get
- patch
serviceAccountName: dell-csm-operator-manager-service-account
deployments:
- label:
Expand All @@ -3646,6 +3664,8 @@ spec:
strategy: {}
template:
metadata:
annotations:
storage.dell.com/CSMVersion: v1.10.2
labels:
control-plane: controller-manager
spec:
Expand All @@ -3668,6 +3688,61 @@ spec:
- --leader-elect
command:
- /manager
env:
- name: RELATED_IMAGE_dell-csm-operator
value: docker.io/dellemc/dell-csm-operator:v1.5.1
- name: RELATED_IMAGE_csi-isilon
value: docker.io/dellemc/csi-isilon:v2.10.1
- name: RELATED_IMAGE_csi-powermax
value: docker.io/dellemc/csi-powermax:v2.10.1
- name: RELATED_IMAGE_csipowermax-reverseproxy
value: docker.io/dellemc/csipowermax-reverseproxy:v2.9.1
- name: RELATED_IMAGE_csi-powerstore
value: docker.io/dellemc/csi-powerstore:v2.10.1
- name: RELATED_IMAGE_csi-unity
value: docker.io/dellemc/csi-unity:v2.10.1
- name: RELATED_IMAGE_csi-vxflexos
value: docker.io/dellemc/csi-vxflexos:v2.10.1
- name: RELATED_IMAGE_sdc
value: docker.io/dellemc/sdc:4.5.1
- name: RELATED_IMAGE_karavi-authorization-proxy
value: docker.io/dellemc/csm-authorization-sidecar:v1.10.1
- name: RELATED_IMAGE_dell-csi-replicator
value: docker.io/dellemc/dell-csi-replicator:v1.8.1
- name: RELATED_IMAGE_dell-replication-controller-manager
value: docker.io/dellemc/dell-replication-controller:v1.8.1
- name: RELATED_IMAGE_topology
value: docker.io/dellemc/csm-topology:v1.8.1
- name: RELATED_IMAGE_otel-collector
value: docker.io/otel/opentelemetry-collector:0.42.0
- name: RELATED_IMAGE_metrics-powerscale
value: docker.io/dellemc/csm-metrics-powerscale:v1.5.1
- name: RELATED_IMAGE_metrics-powermax
value: docker.io/dellemc/csm-metrics-powermax:v1.3.1
- name: RELATED_IMAGE_metrics-powerflex
value: docker.io/dellemc/csm-metrics-powerflex:v1.8.1
- name: RELATED_IMAGE_podmon-node
value: docker.io/dellemc/podmon:v1.9.1
- name: RELATED_IMAGE_kube-rbac-proxy
value: gcr.io/kubebuilder/kube-rbac-proxy:v0.8.0
- name: RELATED_IMAGE_attacher
value: registry.k8s.io/sig-storage/csi-attacher:v4.5.0
- name: RELATED_IMAGE_provisioner
value: registry.k8s.io/sig-storage/csi-provisioner:v4.0.0
- name: RELATED_IMAGE_snapshotter
value: registry.k8s.io/sig-storage/csi-snapshotter:v7.0.1
- name: RELATED_IMAGE_registrar
value: registry.k8s.io/sig-storage/csi-node-driver-registrar:v2.10.0
- name: RELATED_IMAGE_resizer
value: registry.k8s.io/sig-storage/csi-resizer:v1.10.0
- name: RELATED_IMAGE_externalhealthmonitorcontroller
value: registry.k8s.io/sig-storage/csi-external-health-monitor-controller:v0.11.0
- name: RELATED_IMAGE_metadataretriever
value: dellemc/csi-metadata-retriever:v1.7.3
- name: RELATED_IMAGE_dell-connectivity-client
value: docker.io/dellemc/connectivity-client-docker-k8s:1.2.3
- name: RELATED_IMAGE_cert-persister
value: docker.io/dellemc/connectivity-cert-persister-k8s:0.11.0
image: docker.io/dellemc/dell-csm-operator:v1.5.1
imagePullPolicy: Always
livenessProbe:
Expand Down Expand Up @@ -3777,7 +3852,7 @@ spec:
name: resizer
- image: registry.k8s.io/sig-storage/csi-external-health-monitor-controller:v0.11.0
name: externalhealthmonitorcontroller
- image: dellemc/csi-metadata-retriever:v1.7.2
- image: dellemc/csi-metadata-retriever:v1.7.3
name: metadataretriever
- image: docker.io/dellemc/connectivity-client-docker-k8s:1.2.3
name: dell-connectivity-client
Expand Down
2 changes: 1 addition & 1 deletion config/manager/manager.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ spec:
name: RELATED_IMAGE_resizer
- value: registry.k8s.io/sig-storage/csi-external-health-monitor-controller:v0.11.0
name: RELATED_IMAGE_externalhealthmonitorcontroller
- value: dellemc/csi-metadata-retriever:v1.7.2
- value: dellemc/csi-metadata-retriever:v1.7.3
name: RELATED_IMAGE_metadataretriever
- value: docker.io/dellemc/connectivity-client-docker-k8s:1.2.3
name: RELATED_IMAGE_dell-connectivity-client
Expand Down
2 changes: 1 addition & 1 deletion config/samples/storage_v1_csm_powerflex.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ spec:
- name: snapshotter
image: registry.k8s.io/sig-storage/csi-snapshotter:v7.0.1
- name: csi-metadata-retriever
image: dellemc/csi-metadata-retriever:v1.7.2
image: dellemc/csi-metadata-retriever:v1.7.3

# sdc-monitor is disabled by default, due to high CPU usage
- name: sdc-monitor
Expand Down
2 changes: 1 addition & 1 deletion config/samples/storage_v1_csm_powermax.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ spec:
- name: snapshotter
image: registry.k8s.io/sig-storage/csi-snapshotter:v7.0.1
- name: csi-metadata-retriever
image: dellemc/csi-metadata-retriever:v1.7.2
image: dellemc/csi-metadata-retriever:v1.7.3
# health monitor is disabled by default, refer to driver documentation before enabling it
- name: external-health-monitor
enabled: false
Expand Down
2 changes: 1 addition & 1 deletion config/samples/storage_v1_csm_powerscale.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ spec:
- name: snapshotter
image: registry.k8s.io/sig-storage/csi-snapshotter:v7.0.1
- name: csi-metadata-retriever
image: dellemc/csi-metadata-retriever:v1.7.2
image: dellemc/csi-metadata-retriever:v1.7.3
# health monitor is disabled by default, refer to driver documentation before enabling it
- name: external-health-monitor
enabled: false
Expand Down
2 changes: 1 addition & 1 deletion config/samples/storage_v1_csm_powerstore.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ spec:
- name: snapshotter
image: registry.k8s.io/sig-storage/csi-snapshotter:v7.0.1
- name: csi-metadata-retriever
image: dellemc/csi-metadata-retriever:v1.7.2
image: dellemc/csi-metadata-retriever:v1.7.3

# health monitor is disabled by default, refer to driver documentation before enabling it
- name: external-health-monitor
Expand Down
2 changes: 1 addition & 1 deletion config/samples/storage_v1_csm_unity.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ spec:
- name: snapshotter
image: registry.k8s.io/sig-storage/csi-snapshotter:v7.0.1
- name: csi-metadata-retriever
image: dellemc/csi-metadata-retriever:v1.7.2
image: dellemc/csi-metadata-retriever:v1.7.3
# Uncomment the following to configure how often external-provisioner polls the driver to detect changed capacity
# Configure when the storageCapacity is set as "true"
# Allowed values: 1m,2m,3m,...,10m,...,60m etc. Default value: 5m
Expand Down
91 changes: 73 additions & 18 deletions deploy/operator.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,18 @@ rules:
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
name: dell-csm-operator-application-mobility-velero-server
rules:
- apiGroups:
- '*'
resources:
- '*'
verbs:
- '*'
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
creationTimestamp: null
name: dell-csm-operator-manager-role
Expand Down Expand Up @@ -1150,36 +1162,24 @@ subjects:
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
name: dell-csm-operator-manager-rolebinding
name: dell-csm-operator-application-mobility-velero-server-rolebinding
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
name: dell-csm-operator-manager-role
name: dell-csm-operator-application-mobility-velero-server
subjects:
- kind: ServiceAccount
name: dell-csm-operator-manager-service-account
namespace: dell-csm-operator
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
name: application-mobility-velero-server
rules:
- apiGroups:
- '*'
resources:
- '*'
verbs:
- '*'
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
name: application-mobility-velero-server-rolebinding
name: dell-csm-operator-manager-rolebinding
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
name: application-mobility-velero-server
name: dell-csm-operator-manager-role
subjects:
- kind: ServiceAccount
name: dell-csm-operator-manager-service-account
Expand Down Expand Up @@ -1247,16 +1247,71 @@ spec:
control-plane: controller-manager
template:
metadata:
labels:
control-plane: controller-manager
annotations:
storage.dell.com/CSMVersion: v1.10.2
labels:
control-plane: controller-manager
spec:
containers:
- args:
- --leader-elect
command:
- /manager
env:
- name: RELATED_IMAGE_dell-csm-operator
value: docker.io/dellemc/dell-csm-operator:v1.5.1
- name: RELATED_IMAGE_csi-isilon
value: docker.io/dellemc/csi-isilon:v2.10.1
- name: RELATED_IMAGE_csi-powermax
value: docker.io/dellemc/csi-powermax:v2.10.1
- name: RELATED_IMAGE_csipowermax-reverseproxy
value: docker.io/dellemc/csipowermax-reverseproxy:v2.9.1
- name: RELATED_IMAGE_csi-powerstore
value: docker.io/dellemc/csi-powerstore:v2.10.1
- name: RELATED_IMAGE_csi-unity
value: docker.io/dellemc/csi-unity:v2.10.1
- name: RELATED_IMAGE_csi-vxflexos
value: docker.io/dellemc/csi-vxflexos:v2.10.1
- name: RELATED_IMAGE_sdc
value: docker.io/dellemc/sdc:4.5.1
- name: RELATED_IMAGE_karavi-authorization-proxy
value: docker.io/dellemc/csm-authorization-sidecar:v1.10.1
- name: RELATED_IMAGE_dell-csi-replicator
value: docker.io/dellemc/dell-csi-replicator:v1.8.1
- name: RELATED_IMAGE_dell-replication-controller-manager
value: docker.io/dellemc/dell-replication-controller:v1.8.1
- name: RELATED_IMAGE_topology
value: docker.io/dellemc/csm-topology:v1.8.1
- name: RELATED_IMAGE_otel-collector
value: docker.io/otel/opentelemetry-collector:0.42.0
- name: RELATED_IMAGE_metrics-powerscale
value: docker.io/dellemc/csm-metrics-powerscale:v1.5.1
- name: RELATED_IMAGE_metrics-powermax
value: docker.io/dellemc/csm-metrics-powermax:v1.3.1
- name: RELATED_IMAGE_metrics-powerflex
value: docker.io/dellemc/csm-metrics-powerflex:v1.8.1
- name: RELATED_IMAGE_podmon-node
value: docker.io/dellemc/podmon:v1.9.1
- name: RELATED_IMAGE_kube-rbac-proxy
value: gcr.io/kubebuilder/kube-rbac-proxy:v0.8.0
- name: RELATED_IMAGE_attacher
value: registry.k8s.io/sig-storage/csi-attacher:v4.5.0
- name: RELATED_IMAGE_provisioner
value: registry.k8s.io/sig-storage/csi-provisioner:v4.0.0
- name: RELATED_IMAGE_snapshotter
value: registry.k8s.io/sig-storage/csi-snapshotter:v7.0.1
- name: RELATED_IMAGE_registrar
value: registry.k8s.io/sig-storage/csi-node-driver-registrar:v2.10.0
- name: RELATED_IMAGE_resizer
value: registry.k8s.io/sig-storage/csi-resizer:v1.10.0
- name: RELATED_IMAGE_externalhealthmonitorcontroller
value: registry.k8s.io/sig-storage/csi-external-health-monitor-controller:v0.11.0
- name: RELATED_IMAGE_metadataretriever
value: dellemc/csi-metadata-retriever:v1.7.3
- name: RELATED_IMAGE_dell-connectivity-client
value: docker.io/dellemc/connectivity-client-docker-k8s:1.2.3
- name: RELATED_IMAGE_cert-persister
value: docker.io/dellemc/connectivity-cert-persister-k8s:0.11.0
image: docker.io/dellemc/dell-csm-operator:v1.5.1
imagePullPolicy: Always
livenessProbe:
Expand Down
2 changes: 1 addition & 1 deletion operatorconfig/driverconfig/common/default.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,4 @@ images:
sdcmonitor: dellemc/sdc:4.5.1

#"images.metadataretriever" defines the container images used for csi metadata retriever
metadataretriever: dellemc/csi-metadata-retriever:v1.7.2
metadataretriever: dellemc/csi-metadata-retriever:v1.7.3
Loading

0 comments on commit acd5991

Please sign in to comment.