You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/learn/keyconcepts.adoc
+9
Original file line number
Diff line number
Diff line change
@@ -47,6 +47,15 @@ sample/
47
47
deployments.
48
48
<3> The `values.yaml` file contains default values for the chart.
49
49
50
+
Helm charts for cluster management, deployment utilities, and security and certificate management are stored in separate repositories under the link:https://github.com/validatedpatterns[Validated Patterns GitHub organization]. The specific Helm chart repositories include:
The OpenShift validated patterns framework uses https://docs.openshift.com/container-platform/latest/cicd/gitops/understanding-openshift-gitops.html[OpenShift GitOps] (ArgoCD) as the primary driver for deploying patterns and keeping them up to date. Validated patterns use Helm charts as the primary artifacts for GitOps. https://helm.sh/[Helm charts] provide a mechanism for templating that is powerful when building repeatable, automated deployments across different deployment environments (i.e. clouds, data-centers, edge, etc.)
17
+
The OpenShift validated patterns framework uses https://docs.openshift.com/container-platform/latest/cicd/gitops/understanding-openshift-gitops.html[OpenShift GitOps] (ArgoCD) as the primary driver for deploying patterns and keeping them up to date. Validated patterns use Helm charts as the primary artifacts for GitOps. https://helm.sh/[Helm charts] offer a powerful templating mechanism for creating repeatable, automated deployments across various environments, including clouds, datacenters, and edge locations.
18
18
19
19
The framework provides consistency across any cloud provider - public or private. So while you could automate the handling for each of the cloud providers, the framework utilizes one Kubernetes distribution that runs on public or private clouds - the hybrid and/or multi cloud model.
20
20
@@ -37,43 +37,38 @@ The Multicloud GitOps approach enables centralized management of multiple cloud
We see the same or similar files in the both patterns directories.
139
127
140
128
== The `common` directory
141
129
142
-
The core components that make the Validated Patterns framework are contained in the common repository. These include:
143
-
144
-
* OpenShift GitOps configuration
145
-
* Supports our clusterGroup and GitOps policies
146
-
* Validated Pattern framework build scripts and Makefiles
147
-
* Secrets Management with HashiCorp Vault
148
-
* Operator CRDs and other assets
149
-
* Various utility scripts
150
-
151
-
The common repository contains all the shared manifests for the Validated Patterns Framework. These components are configured to work together within the GitOps framework. Instead of duplicating configurations across patterns, shared technologies are centralized in this common directory. Pattern-specific post-deployment configurations, if needed, should be added to the Helm charts in the charts directory. Typically, you won't need to modify the common directory unless working on the framework itself.
152
-
153
-
=== Breakdown of common repository
154
-
155
-
This table details the key components of the common repository:
156
-
157
-
[cols="2,2", options="header"]
158
-
|===
159
-
| Component | Description
160
-
161
-
| acm | Contains the helm charts which contains policies and is used to configure the deployment of the Advance Cluster Manager.
162
-
| ansible | This directory contains the ansible roles and modules that support the secrets management for a pattern.
163
-
| clustergroup | Contains the helm chart used to create namespace, subscriptions, projects, and applications described in the values files. This is the seed for all patterns.
164
-
| golang-external-secrets | Helm chart for External Secrets Operator that integrates external secret management systems like AWS Secrets Manager, HashiCorp Vault, Google Secrets Manager, Azure Key Vault, IBM Cloud Secrets Manager, Akeyless.
165
-
| hashicorp-vault | Contains the helm chart for HashiCorp Vault.
166
-
|operator-install | Contains the helm chart used by the Validated Patterns Operator to create the openshift-gitops component and create the initial ArgoCD applications for the Validated Pattern.
167
-
| scripts | Directory which contains utility scripts used by the Validated Pattern Framework.
168
-
|===
130
+
Common is a collection of scripts to start the initial deployment of a pattern using the command line interface. The Makefile contains targets for deploying the pattern. The `Makefile` is the primary entry point for deploying a pattern. To maintain modularity, version control, and independent management, cluster management, deployment utilities, and security and certificate helm charts are stored in separate repositories under the link:https://github.com/validatedpatterns[Validated Patterns GitHub organization]. Ansible automation or utilities are in the link:https://github.com/validatedpatterns/rhvp.cluster_utils[rhvp.cluster_utils].
169
131
170
132
== The `charts` directory
171
133
@@ -184,43 +146,46 @@ _Application charts_ are a collection of templates that can be packaged into ver
184
146
_Library charts_ provide useful utilities or functions for the chart developer. They're included as a dependency of application charts to inject those utilities and functions into the rendering
185
147
pipeline. Library charts do not define any templates and therefore cannot be deployed.
186
148
187
-
These groupings are used by OpenShift GitOps to deploy into the cluster. The configurations for each of the components inside an application are synced every three minutes by OpenShift GitOps to make sure that the site is up to date. The configuration can also be synced manually if you do not wish to wait up to three minutes.
149
+
These groupings are used by OpenShift GitOps to deploy into the cluster. The configurations for each of the components inside an application are synced every three minutes by OpenShift GitOps to make sure that the site is up to date. The configuration can also be synced manually if you do not want to wait up to three minutes. For example for industrial-edge the charts directory looks like this:
188
150
189
151
[source,text]
190
152
----
191
153
.
192
154
├── datacenter
193
-
│ ├── external-secrets
194
-
│ ├── manuela-data-lake
195
-
│ ├── manuela-tst
196
-
│ ├── opendatahub
197
-
│ └── pipelines
198
-
├── factory
199
-
│ └── manuela-stormshift
200
-
└── secrets
201
-
└── pipeline-setup
155
+
│ ├── data-science-cluster
156
+
│ ├── data-science-project
157
+
│ ├── manuela-data-lake
158
+
│ ├── manuela-tst
159
+
│ └── pipelines
160
+
└── factory
161
+
└── manuela-stormshift
202
162
----
203
163
The configuration YAML for each component of the application is stored in the templates subdirectory.
204
164
205
165
[source,text]
206
166
----
207
167
.
208
-
├── external-secrets
209
-
│ ├── Chart.yaml
210
-
│ ├── templates
211
-
│ └── values.yaml
168
+
├── data-science-cluster
169
+
│ ├── Chart.yaml
170
+
│ ├── kustomization.yaml
171
+
│ ├── templates
172
+
│ └── values.yaml
173
+
├── data-science-project
174
+
│ ├── Chart.yaml
175
+
│ ├── kustomization.yaml
176
+
│ ├── templates
177
+
│ └── values.yaml
212
178
├── manuela-data-lake
213
-
│ ├── Chart.yaml
214
-
│ ├── templates
215
-
│ └── values.yaml
179
+
│ ├── Chart.yaml
180
+
│ ├── Kafka2S3Route.java
181
+
│ ├── templates
182
+
│ └── values.yaml
216
183
├── manuela-tst
217
-
│ ├── Chart.yaml
218
-
│ ├── templates
219
-
│ └── values.yaml
220
-
├── opendatahub
221
-
│ ├── Chart.yaml
222
-
│ ├── templates
223
-
│ └── values.yaml
184
+
│ ├── Chart.yaml
185
+
│ ├── Kafka2S3Route.java
186
+
│ ├── MQTT2KafkaRoute.java
187
+
│ ├── templates
188
+
│ └── values.yaml
224
189
└── pipelines
225
190
├── Chart.yaml
226
191
├── extra
@@ -229,6 +194,7 @@ The configuration YAML for each component of the application is stored in the te
229
194
├── templates
230
195
└── values.yaml
231
196
----
197
+
232
198
== The `scripts` directory
233
199
234
200
In some cases, an Operator or Helm chart may require additional configuration. When extra code is needed for deployment, it should be placed in the scripts directory. Typically, consumers of a validated pattern won't interact directly with these scripts, as they are executed by the existing automation (for example through the Makefile or OpenShift GitOps). If extra adjustments are required for your application, place the scripts here and run them through automation. The scripts directory should generally be treated as off-limits unless you're modifying the framework itself.
0 commit comments