Skip to content

Commit

Permalink
Fix links and add kustomization api/kind
Browse files Browse the repository at this point in the history
  • Loading branch information
gnunn1 committed Oct 16, 2023
1 parent 812bdc9 commit ed52b81
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization

resources:
- rollout.yaml
- services.yaml
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization

resources:
- ../../base
- analysistemplate.yaml
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization

resources:
- deploy.yaml
- route.yaml
Expand Down
8 changes: 4 additions & 4 deletions documentation/modules/ROOT/pages/02-workshop-overview.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -121,19 +121,19 @@ ls ./deploy/base
You should see that there are four files in this directory. The `deploy.yaml`, `service.yaml`
and `route.yaml` represent the Deployment, Service and OpenShift route for the application.

.link:https://github.com/OpenShiftDemos/argo-rollouts-workshop/blob/main/code/deploy/base/deploy.yaml,window='_blank']
.link:https://github.com/OpenShiftDemos/argo-rollouts-workshop/blob/main/documentation/modules/ROOT/examples/deploy/base/deploy.yaml[deploy.yaml,window='_blank']
[source,yaml,subs="+macros,attributes+"]
----
include::ROOT:example$deploy/base/deploy.yaml[]
----

.link:https://github.com/OpenShiftDemos/argo-rollouts-workshop/blob/main/code/deploy/base/service.yaml,window='_blank']
.link:https://github.com/OpenShiftDemos/argo-rollouts-workshop/blob/main/documentation/modules/ROOT/examples/deploy/base/service.yaml[service.yaml,window='_blank']
[source,yaml,subs="+macros,attributes+"]
----
include::ROOT:example$deploy/base/service.yaml[]
----

.link:https://github.com/OpenShiftDemos/argo-rollouts-workshop/blob/main/code/deploy/base/route.yaml,window='_blank']
.link:https://github.com/OpenShiftDemos/argo-rollouts-workshop/blob/main/documentation/modules/ROOT/examples/deploy/base/route.yaml[route.yaml,window='_blank']
[source,yaml,subs="+macros,attributes+"]
----
include::ROOT:example$deploy/base/route.yaml[]
Expand All @@ -148,7 +148,7 @@ There is a fourth file called `kustomization.yaml`, this file is used by the htt
the management of Kubernetes manifests. Kustomize and Helm are the two most popular yaml management tools
in GitOps and we use kustomize here to simplify our deployments.

.link:https://github.com/OpenShiftDemos/argo-rollouts-workshop/blob/main/code/deploy/base/kustomization.yaml,window='_blank']
.link:https://github.com/OpenShiftDemos/argo-rollouts-workshop/blob/main/documentation/modules/ROOT/examples/deploy/base/kustomization.yaml[kustomization.yaml,window='_blank']
[source,yaml,subs="+macros,attributes+"]
----
include::ROOT:example$deploy/base/kustomization.yaml[]
Expand Down

0 comments on commit ed52b81

Please sign in to comment.