Skip to content

Commit

Permalink
Update 02-gitops-basics.adoc
Browse files Browse the repository at this point in the history
Show application from file instead of hard-coded so it stays up to date.
  • Loading branch information
gnunn1 authored Jan 7, 2025
1 parent 80b85f4 commit e287a29
Showing 1 changed file with 1 addition and 17 deletions.
18 changes: 1 addition & 17 deletions content/modules/ROOT/pages/02-gitops-basics.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -160,23 +160,7 @@ cat ./bgd-app.yaml
.link:https://github.com/OpenShiftDemos/openshift-gitops-workshop/blob/{gitops_revision}/content/modules/ROOT/examples/bgd-app.yaml[bgd-app.yaml,window="_blank"]
[source,yaml,subs="+macros,attributes+"]
----
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: master
syncPolicy: <4>
automated:
prune: true
selfHeal: false
include::ROOT:example$bgd-app.yaml[]
----
<1> The destination server is API endpoint for the cluster where Argo CD is
running -- in this case, using the locally-resolveable URL for the cluster
Expand Down

0 comments on commit e287a29

Please sign in to comment.