Closed ikke-t closed 6 months ago
Andrew found the error. I had declared WATCH_NAMESPACES=openshift-config,group-sync-operator
which broke it. I thought I need to add specificly another namespace there to pull in the configMap from openshift-config for CA.
Setting it blank fixed it.
This text needs to be changed in addition to handling the list. It says operator listens to only one group, where as it actually listens to all by default:
By default, the operator monitors resources in the namespace that it has been deployed within. This is defined by setting the WATCH_NAMESPACE environment variable. Support is available for accessing ConfigMaps and Secrets in other namespaces so that existing resources may be utilized as desired.
Hi, I just added the operator, and the sync won't happen. I don't see any kinda job or cronjob. My ldap config is this:
Any ideas what might be missing? I have this in via argocd, the operator and instance are defined here except for the secret, which is done manually:
https://github.com/RedHatNordicsSA/cool-lab/blob/main/ocp-configs/gitops/rh-ocpmgt/group-sync/instance/overlays/ldap/ldap-group-sync-patch.yaml
I know the ldap stuff works as my other helm configured clusters work fine. I'm trying to use this operator to automate it now.