-
Bug
-
Resolution: Won't Do
-
Normal
-
None
-
None
-
3
-
False
-
False
-
-
GITOPS Sprint 213
openshift-gitops-operator.v1.3.0
[Issue]
Tried the following below configuration to set cluster scoped argoCD instance where Enabled dex authentication and disabled the default argoCD instance and it is working fine but the cluster-config parameter[ARGOCD_CLUSTER_CONFIG_NAMESPACES] isn't applied to the operator's deployment by the operator.
apiVersion: operators.coreos.com/v1alpha1 kind: Subscription metadata: name: openshift-gitops-operator namespace: openshift-operators config: env: - name: DISABLE_DEX value: "false" - name: DISABLE_DEFAULT_ARGOCD_INSTANCE value: "true" - name: ARGOCD_CLUSTER_CONFIG_NAMESPACES value: openshift-gitops, operations-argocd
Workaround suggested by jfischer@redhat.com:
workaround is to put the env vars in alphabetical orders in the subscription
Eg:
config: env: - name: ARGOCD_CLUSTER_CONFIG_NAMESPACES value: openshift-gitops, operations-argocd - name: DISABLE_DEFAULT_ARGOCD_INSTANCE value: "true" - name: DISABLE_DEX value: "false"