Skip to content

Commit df9a5e7

Browse files
authored
Merge pull request #658 from mbaldessari/blog-post-own-argo
Add blog post about upcoming changes
2 parents 2b91c68 + 5064d8f commit df9a5e7

1 file changed

Lines changed: 78 additions & 0 deletions

File tree

Lines changed: 78 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,78 @@
1+
---
2+
date: 2026-04-13
3+
title: Validated Patterns now deploys its own ArgoCD instance
4+
summary: The 0.0.70 patterns operator now creates and manages a dedicated ArgoCD instance in the vp-gitops namespace instead of relying on the default openshift-gitops instance
5+
author: Michele Baldessari
6+
blog_tags:
7+
- patterns
8+
- argocd
9+
- gitops
10+
---
11+
:toc:
12+
:imagesdir: /images
13+
14+
== Preamble
15+
16+
Until now the Validated Patterns operator relied on the default ArgoCD instance
17+
created by the OpenShift GitOps operator in the `openshift-gitops` namespace.
18+
While this worked, it meant that the patterns framework shared its ArgoCD
19+
instance with whatever else the cluster administrator or the gitops operator
20+
itself might configure there. Starting with the 0.0.70 version of the patterns
21+
operator, new deployments will get their own dedicated ArgoCD instance running
22+
in a brand-new `vp-gitops` namespace.
23+
24+
== Why the change
25+
26+
Sharing the default `openshift-gitops` ArgoCD instance had a few drawbacks:
27+
28+
* *Potential conflicts* Any other workload or operator that also relied on the
29+
default ArgoCD instance could interfere with the patterns deployment,
30+
and vice versa.
31+
* *Lifecycle coupling* Upgrades or configuration changes to the
32+
gitops-operator's default instance could unexpectedly affect a running
33+
pattern.
34+
* *Limited customization* Because the default instance is owned and managed by
35+
the gitops-operator, the patterns operator had limited control over its
36+
configuration (e.g. init-containers, resource settings, sync policies).
37+
38+
By owning its own ArgoCD instance in the `vp-gitops` namespace, the patterns
39+
operator can configure it exactly the way it needs without worrying about
40+
external interference.
41+
42+
== What changes for new deployments
43+
44+
On a fresh cluster where no previous Validated Patterns deployment exists, the
45+
operator now:
46+
47+
1. Tells the gitops-operator to *not* create the default ArgoCD instance by
48+
setting the `DISABLE_DEFAULT_ARGOCD_INSTANCE=true` environment variable on
49+
the gitops-operator subscription. This avoids having an unused ArgoCD
50+
instance sitting in `openshift-gitops`.
51+
2. Creates the `vp-gitops` namespace itself and deploys a dedicated ArgoCD CR
52+
there.
53+
3. Creates a *ConsoleLink* resource so that the new ArgoCD instance shows up
54+
in the OpenShift console application menu (the nine-box), labelled
55+
"ArgoCD VP". This makes it easy to find and access.
56+
57+
== What changes for existing deployments
58+
59+
*Nothing.* If you already have a running Validated Patterns deployment that
60+
uses the default `openshift-gitops` ArgoCD instance, it will continue to work
61+
exactly as before. The operator detects whether the legacy
62+
`openshift-gitops/openshift-gitops` ArgoCD CR exists at reconciliation time.
63+
If it does, the operator operates in legacy mode: it keeps using the existing
64+
instance and does not set `DISABLE_DEFAULT_ARGOCD_INSTANCE` on the
65+
gitops-operator subscription. Your environment is not affected in any way.
66+
67+
This detection happens automatically on every reconcile loop, so there is no
68+
manual configuration or migration step needed. Existing clusters that upgrade
69+
the patterns operator will simply keep running as they always have.
70+
71+
== Summary
72+
73+
This change gives the Validated Patterns framework its own independent ArgoCD
74+
instance, improving isolation and giving the operator full control over its
75+
GitOps engine. Existing deployments are unaffected and will continue to use
76+
the `openshift-gitops` instance they were deployed with. New deployments will
77+
automatically get the dedicated `vp-gitops` instance with no additional
78+
configuration required.

0 commit comments

Comments
 (0)