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/modules/ROOT/pages/04-applicationsets.adoc
+12-12Lines changed: 12 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -107,7 +107,7 @@ Delete the Application:
107
107
[.console-input]
108
108
[source,yaml,subs="attributes",role=execute]
109
109
----
110
-
delete app coolstore -n {user}-argocd
110
+
oc delete app coolstore -n {user}-argocd
111
111
----
112
112
113
113
Wait for all of the Applications to be removed from the Argo CD UI.
@@ -121,7 +121,7 @@ This is where the Argo CD link:https://argo-cd.readthedocs.io/en/stable/operator
121
121
comes into play. ApplicationSets enables you to generate Application resources using templating. Each ApplicationSet can include one or
122
122
more generators that power the creation of Applications. Argo CD currently includes many different generators and enables users to create custom generators via a Plugin architecture.
123
123
124
-
There are a number of link:https://argo-cd.readthedocs.io/en/stable/operator-manual/applicationset/Generators[generators,window="_blank"] available, some common examples of these generators include:
124
+
Some common examples of these link:https://argo-cd.readthedocs.io/en/stable/operator-manual/applicationset/Generators[generators,window="_blank"] include:
125
125
126
126
* Using the link:https://argo-cd.readthedocs.io/en/stable/operator-manual/applicationset/Generators-List[List,window="_blank"] generator for generating applications for different environments. We will look at an example of this shortly
127
127
* Leveraging the link:https://argo-cd.readthedocs.io/en/stable/operator-manual/applicationset/Generators-Git/[git,window="_blank"] generator to create Applications based on the contents of a git repo, we will look at this in Module 4 as a more dynamic way to generate apps for environments.
@@ -133,23 +133,23 @@ and link:https://argo-cd.readthedocs.io/en/stable/operator-manual/applicationset
133
133
== Static Generation with List Generator
134
134
135
135
Let's look at a simple example of an Application that uses a List generator to create Applications for different environments
136
-
for the `coolstore` Application we deployed earlier. This will be a similar use case to what we saw with App-of-Apps but done
136
+
for the `coolstore` Application. This will be a similar use case to what we saw with App-of-Apps but done
137
137
with ApplicationSets.
138
138
139
139
Deploy the ApplicationSet using the following command:
140
140
141
141
[.console-input]
142
142
[source,sh,subs="attributes",role=execute]
143
143
----
144
-
sed 's/$USER/{user}/' ~/workshop/content/modules/ROOT/examples/coolstore-gitops-appset.yaml | sed 's/$SUBDOMAIN/{subdomain}/' | oc apply -f - -n {user}-argocd
144
+
sed 's/$USER/{user}/' ~/workshop/content/modules/ROOT/examples/applicationsets/coolstore-list-appset.yaml | sed 's/$SUBDOMAIN/{subdomain}/' | oc apply -f - -n {user}-argocd
145
145
----
146
146
147
147
Next have a look at the ApplicationSet that was deployed with this command:
0 commit comments