From 1064d7201a4ef69ec42600abd55c1fa51387d133 Mon Sep 17 00:00:00 2001 From: Giulio Cardillo Date: Sat, 21 Mar 2026 11:00:26 +0100 Subject: [PATCH] Disable default ArgoCD instance We want to avoid that the ArgoCD instance is initially deployed with default settings and then redeployed with our customizations. The DISABLE_DEFAULT_ARGOCD_INSTANCE flag in the Gitops Subscription prevents the default instance from being created by the Gitops Operator. The reason for this choice is that the first default deployment might not be configured properly (for example missing Git server certificates) and the Applications will be in failed state until ArgoCD is redeployed by the Patterns Operator --- internal/controller/subscription.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/internal/controller/subscription.go b/internal/controller/subscription.go index 028ab5872..9cb015069 100644 --- a/internal/controller/subscription.go +++ b/internal/controller/subscription.go @@ -65,6 +65,10 @@ func newSubscriptionFromConfigMap(r kubernetes.Interface) (*operatorv1alpha1.Sub Name: "ARGOCD_CLUSTER_CONFIG_NAMESPACES", Value: "*", }, + { + Name: "DISABLE_DEFAULT_ARGOCD_INSTANCE", + Value: "true", + }, }, }, }