dell / csm

Dell Container Storage Modules (CSM)
Apache License 2.0
71 stars 15 forks source link

[BUG]: CSM-Operator resets dell-replication-controller-config configmap #1531

Closed nitesh3108 closed 2 weeks ago

nitesh3108 commented 3 weeks ago

Bug Description

Configmap (dell-replication-controller-config) is installed as part of the controller.yaml with empty values for clusterId and targets. Once we inject the cluster details using repctl cluster inject, the configmap is updated with the correct information. However, during the csm-operator reconcile loop, the configmap is getting reset, resulting in resetting the configmap.

Logs

apiVersion: v1
data:
  config.yaml: |
    clusterId: ""
    targets: []
    CSI_LOG_LEVEL: "debug"
kind: ConfigMap
metadata:
  creationTimestamp: "2024-10-17T07:28:04Z"
  name: dell-replication-controller-config
  namespace: dell-replication-controller
  resourceVersion: "4625863"
  uid: 39cc48a0-c527-47c0-9d52-0e18ddcfcaa4 

This configmap is installed as part of the controller.yaml with empty values for clusterId and targets. Once we inject the cluster details using repctl cluster inject, the configmap is updated with the correct information. However, during the csm-operator reconcile loop, the configmap is getting reset.

Screenshots

No response

Additional Environment Information

No response

Steps to Reproduce

Expected Behavior

CSM Driver(s)

Installation Type

CSM Operator

Container Storage Modules Enabled

No response

Container Orchestrator

CSM 1.11

Operating System

RHEL