Skip to content

Commit

Permalink
remove etcd-ca-bundle from openshift-config
Browse files Browse the repository at this point in the history
  • Loading branch information
tjungblu committed Jul 10, 2024
1 parent 16373f2 commit b1708de
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions pkg/operator/resourcesynccontroller/resourcesynccontroller.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,14 +49,6 @@ func NewResourceSyncController(
return nil, err
}

if err := resourceSyncController.SyncConfigMapConditionally(
resourcesynccontroller.ResourceLocation{Namespace: operatorclient.GlobalUserSpecifiedConfigNamespace, Name: "etcd-ca-bundle"},
resourcesynccontroller.ResourceLocation{Namespace: operatorclient.TargetNamespace, Name: "etcd-ca-bundle"},
caBundleExistsFunc,
); err != nil {
return nil, err
}

// "etcd-serving-ca" escaped to almost all control plane operators and tests in the OpenShift org, we have to keep it for the time being
if err := resourceSyncController.SyncConfigMapConditionally(
resourcesynccontroller.ResourceLocation{Namespace: operatorclient.GlobalUserSpecifiedConfigNamespace, Name: "etcd-serving-ca"},
Expand Down

0 comments on commit b1708de

Please sign in to comment.