Skip to content

Commit

Permalink
Operator Configuration: Personalize operator's pod selector
Browse files Browse the repository at this point in the history
Signed-off-by: nb-ohad <[email protected]>
  • Loading branch information
nb-ohad committed Jul 21, 2024
1 parent 0541318 commit ec54f4d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions config/manager/manager.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,14 @@ metadata:
spec:
selector:
matchLabels:
control-plane: controller-manager
control-plane: ceph-csi-op-controller-manager
replicas: 1
template:
metadata:
annotations:
kubectl.kubernetes.io/default-container: manager
labels:
control-plane: controller-manager
control-plane: ceph-csi-op-controller-manager
spec:
# TODO(user): Uncomment the following code to configure the nodeAffinity expression
# according to the platforms which are supported by your solution.
Expand Down
2 changes: 1 addition & 1 deletion internal/controller/driver_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,7 @@ func (r *driverReconcile) LoadAndValidateDesiredState() error {
mergeDriverSpecs(&r.driver.Spec, opConfig.Spec.DriverSpecDefaults)
}

// If provided, load an imageset from configmap to overwrite default images
// If provided, load an imageset from configmap to overwrite default images
r.images = maps.Clone(imageDefaults)
if r.driver.Spec.ImageSet != nil {
imageSetCM := corev1.ConfigMap{}
Expand Down

0 comments on commit ec54f4d

Please sign in to comment.