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
@@ -238,15 +238,34 @@ Delete the ApplicationSet before continuting to the next section:
238
238
oc delete appset coolstore -n {user}-argocd
239
239
----
240
240
241
+
[NOTE]
242
+
It may take a minute or two for it to delete as it deletes the entire chain of applications and resources, be patient.
243
+
241
244
== Dynamic Generation with git Generator
242
245
243
-
A common pattern when deploying an application to multiple environments is to have a repository that contains the following structure:
246
+
A common pattern when deploying an application with kustomize with multiple environments is to have a repository that contains the following structure:
244
247
245
248
* *base*: the common assets that we want to deploy
246
249
* *overlays*:
247
250
** *dev*: specific values that will override the ones in the base for the "dev" environment
251
+
** *stage*: specific values that will override the ones in the base for the "stage" environment
248
252
** *prod*: specific values that will override the ones in the base for the "prod" environment
249
253
254
+
You can view this structure in your cloned repository:
255
+
256
+
[.console-input]
257
+
[source,sh,subs="attributes",role=execute]
258
+
----
259
+
tree ~/workshop/content/modules/ROOT/examples/coolstore
260
+
----
261
+
262
+
[.console-output]
263
+
[source,yaml,subs="attributes+,+macros"]
264
+
----
265
+
266
+
----
267
+
268
+
250
269
Let's deploy these applications using an ApplicationSet as we did previously but this time we will use a git generator.
0 commit comments