Skip to content

Commit

Permalink
Update 02-gitops-basics.adoc
Browse files Browse the repository at this point in the history
Bring back application, forgot we numbered items for explanation. Updated to reference main branch
  • Loading branch information
gnunn1 authored Jan 7, 2025
1 parent e287a29 commit e0e583c
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion content/modules/ROOT/pages/02-gitops-basics.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,23 @@ and break this down a bit:
[.console-input]
[source,bash,subs="attributes+,+macros"]
----
cat ./bgd-app.yaml
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: bgd-app
spec:
destination:
namespace: {user}-bgd
server: https://kubernetes.default.svc <1>
project: default <2>
source: <3>
path: documentation/modules/ROOT/examples/bgd
repoURL: https://github.com/OpenShiftDemos/openshift-gitops-workshop
targetRevision: main
syncPolicy: <4>
automated:
prune: true
selfHeal: false
----
.link:https://github.com/OpenShiftDemos/openshift-gitops-workshop/blob/{gitops_revision}/content/modules/ROOT/examples/bgd-app.yaml[bgd-app.yaml,window="_blank"]
Expand Down

0 comments on commit e0e583c

Please sign in to comment.