Skip to content

Commit cfef8b0

Browse files
committed
Adding content about installing MCG
1 parent 033d0d7 commit cfef8b0

File tree

2 files changed

+2
-79
lines changed

2 files changed

+2
-79
lines changed

content/learn/quickstart.adoc

Lines changed: 0 additions & 77 deletions
Original file line numberDiff line numberDiff line change
@@ -53,83 +53,6 @@ Before beginning, ensure you have the following:
5353
* Local Git repository with pattern manifests
5454
* Proper network policies configured
5555

56-
== Getting Started with Multicloud GitOps
57-
58-
=== What is Multicloud GitOps?
59-
60-
Multicloud GitOps is a foundational pattern that demonstrates GitOps principles for managing applications across multiple clusters. It provides:
61-
62-
* A GitOps framework using ArgoCD
63-
* Infrastructure-as-Code practices
64-
* Multi-cluster management capabilities
65-
* Template for secure secret management
66-
67-
=== Why Start with this Pattern?
68-
69-
The Multicloud GitOps pattern is recommended as your first pattern because:
70-
71-
. It establishes core GitOps practices
72-
. Provides a minimal but complete implementation
73-
. Serves as a foundation for other patterns
74-
. Demonstrates key validated patterns concepts
75-
76-
[NOTE]
77-
====
78-
Other patterns build upon these concepts, making this an ideal starting point for your validated patterns journey.
79-
====
80-
81-
== Installing the Validated Patterns Operator
82-
83-
. Navigate to the OpenShift OperatorHub
84-
. Search for "Validated Patterns Operator"
85-
. Click "Install"
86-
. Select installation mode:
87-
+
88-
[source,yaml]
89-
----
90-
Installation Mode: All namespaces
91-
Installed Namespace: openshift-operators
92-
Update Channel: stable
93-
Approval Strategy: Automatic
94-
----
95-
96-
== Installing the Multicloud GitOps Pattern
97-
98-
=== Creating the Pattern Custom Resource
99-
100-
. Create a new YAML file named `pattern-cr.yaml`:
101-
+
102-
[source,yaml]
103-
----
104-
apiVersion: ran.openshift.io/v1beta1
105-
kind: Pattern
106-
metadata:
107-
name: multicloud-gitops
108-
namespace: patterns
109-
spec:
110-
version: latest
111-
gitSpec:
112-
targetRepo: https://github.com/validatedpatterns/multicloud-gitops
113-
targetBranch: main
114-
----
115-
116-
. Apply the Custom Resource:
117-
+
118-
[source,bash]
119-
----
120-
oc apply -f pattern-cr.yaml
121-
----
122-
123-
=== Verifying the Installation
124-
125-
Monitor the deployment:
126-
127-
[source,bash]
128-
----
129-
oc get pods -n patterns
130-
oc get applications -n openshift-gitops
131-
----
132-
13356
== Configuring Secrets
13457

13558
Secret management in validated patterns follows GitOps best practices while maintaining security. Here's how to configure your secrets:

content/learn/using-validated-pattern-operator.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
---
22
menu:
33
learn:
4-
parent: Patterns quick start
4+
parent: Infrastructure
55
title: Using the Validated Patterns Operator
66
aliases: /infrastructure/using-validated-pattern-operator/
7-
weight: 20
7+
weight: 50
88
---
99

1010
:toc:

0 commit comments

Comments
 (0)