This repository has been archived by the owner on Dec 1, 2021. It is now read-only.
generated from cloud-native-toolkit/multi-tenancy-gitops
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathkustomization.yaml
48 lines (42 loc) · 1.67 KB
/
kustomization.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
resources:
# Enable RHACM to install OpenShift GitOps on Managed Clusters for "Last Mile" Configuration
- argocd/managed-openshift-gitops/managed-openshift-gitops.yaml
## Create Pipelines
- argocd/pipelines/tekton-mcm-gitops.yaml
- argocd/pipelines/tekton-mcm-providers.yaml
## Create RHACM Credentials
## Include any Private or Public Cloud Providers you may have
## Examples have been provided
# - argocd/infra/providers/rhacm/aws/aws-aus.yaml
# - argocd/infra/providers/rhacm/azure/azure-aus.yaml
# - argocd/infra/providers/rhacm/vsphere/vsphere-eltham.yaml
# - argocd/infra/providers/rhacm/rhocm/rhocm-test.yaml
## Discover & Import Existing Clusters (Require RHOCM Credentials to be created and enabled)
# - argocd/clusters/discover/discover-openshift.yaml
#
## Include any Clusters you wish to manually import below
## Examples have been provided
# - argocd/clusters/import/ibmcloud/ibmcloud-syd.yaml
# - argocd/clusters/import/vsphere/ocp-swinney-io.yaml
## Create Clusters
## Include the Clusters you wish to create below
## Examples have been provided
# - argocd/clusters/create/aws/aws-tokyo.yaml
# - argocd/clusters/create/azure/azure-aus.yaml
# - argocd/clusters/create/vsphere/vsphere-eltham.yaml
## Deploy Applications to Managed Clusters
## Include the Applications you wish to deploy below
## An example has been provided
# - argocd/cloudpaks/cp4i/cp4i.yaml
patches:
- target:
group: argoproj.io
kind: Application
labelSelector: "gitops.tier.layer=applications"
patch: |-
- op: add
path: /spec/source/repoURL
value: ${GIT_BASEURL}/${GIT_ORG}/${GIT_GITOPS_APPLICATIONS}
- op: add
path: /spec/source/targetRevision
value: ${GIT_GITOPS_BRANCH}