Skip to content

Commit edb2af4

Browse files
committed
Fix git appset
1 parent ccf89a3 commit edb2af4

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

content/modules/ROOT/examples/applicationsets/coolstore-git-appset.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ spec:
1616
user: $USER
1717
template:
1818
metadata:
19-
name: app-{{.path.basename}}
19+
name: web-{{.path.basename}}
2020
namespace: '{{ .values.user }}-argocd'
2121
spec:
2222
destination:
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
apiVersion: kustomize.config.k8s.io/v1beta1
22
kind: Kustomization
33
resources:
4-
- dep-coolstore.yaml
5-
- web-nodejs-route.yaml
6-
- web-nodejs-svc.yaml
4+
- web-deploy.yaml
5+
- web-route.yaml
6+
- web-svc.yaml

content/modules/ROOT/pages/04-applicationsets.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -309,7 +309,7 @@ spec:
309309
destination:
310310
name: in-cluster
311311
namespace: '{{ .values.user }}-{{.path.basename}}'
312-
project: '{{ .values.user }}'
312+
project: workshop
313313
source:
314314
path: '{{.path.path}}' <6>
315315
repoURL: https://github.com/OpenShiftDemos/advanced-gitops-workshop
@@ -372,7 +372,7 @@ Now that the generation has been verified, go ahead and deploy it:
372372
[.console-input]
373373
[source,sh,subs="attributes",role=execute]
374374
----
375-
sed 's/$USER/{user}/' ~/workshop/content/modules/ROOT/examples/applicationsets/coolstore-list-git.yaml | oc apply -n {user}-argocd -f -
375+
sed 's/$USER/{user}/' ~/workshop/content/modules/ROOT/examples/applicationsets/coolstore-appset-git.yaml | oc apply -n {user}-argocd -f -
376376
----
377377

378378
Check that the Applications have been created:

0 commit comments

Comments
 (0)