Skip to content

Commit

Permalink
Add values files and Argo CD Apps for additional theme parks
Browse files Browse the repository at this point in the history
  • Loading branch information
RyanMillerC committed Oct 11, 2022
1 parent f76e2d1 commit 746a7c6
Show file tree
Hide file tree
Showing 5 changed files with 76 additions and 0 deletions.
File renamed without changes.
29 changes: 29 additions & 0 deletions gitops/manifests/04-kings-dominion.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: kings-dominion
namespace: openshift-gitops
spec:
destination:
name: in-cluster
namespace: theme-park-api
project: theme-park-api # Argo CD AppProject
source:
directory:
# This is necessary if you have multiple directories in a repo and only
# want to deploy a single directory
recurse: false
helm:
valueFiles:
- values-kings-dominion.yaml
path: ./theme-park-api
repoURL: https://github.com/RyanMillerC/deploy-with-openshift-gitops.git
targetRevision: main # Argo will default to `master`
# These sync policy settings allow Argo to prune outdated resoruces and fix
# resources that might be missing.
syncPolicy:
automated:
prune: true
selfHeal: true
syncOptions:
- PruneLast=true
29 changes: 29 additions & 0 deletions gitops/manifests/05-six-flags.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: six-flags
namespace: openshift-gitops
spec:
destination:
name: in-cluster
namespace: theme-park-api
project: theme-park-api # Argo CD AppProject
source:
directory:
# This is necessary if you have multiple directories in a repo and only
# want to deploy a single directory
recurse: false
helm:
valueFiles:
- values-six-flags.yaml
path: ./theme-park-api
repoURL: https://github.com/RyanMillerC/deploy-with-openshift-gitops.git
targetRevision: main # Argo will default to `master`
# These sync policy settings allow Argo to prune outdated resoruces and fix
# resources that might be missing.
syncPolicy:
automated:
prune: true
selfHeal: true
syncOptions:
- PruneLast=true
9 changes: 9 additions & 0 deletions theme-park-api/values-kings-dominion.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# Replicas of each application
replicaCount: 1

# Domain the application will be served from
dnsName: kings-dominion-dev.apps.dev.taco.moe

applications:
- name: kings-dominion-dev
image: quay.io/rymiller/theme-park-api:kings-dominion
9 changes: 9 additions & 0 deletions theme-park-api/values-six-flags.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# Replicas of each application
replicaCount: 1

# Domain the application will be served from
dnsName: six-flags-dev.apps.dev.taco.moe

applications:
- name: six-flags-dev
image: quay.io/rymiller/theme-park-api:six-flags

0 comments on commit 746a7c6

Please sign in to comment.