generated from apac-mcm-aiops-asset/mcm-aiops-gitops
-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3 from otp-gitops-2/master
add submariner argo apps
- Loading branch information
Showing
7 changed files
with
90 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
22 changes: 22 additions & 0 deletions
22
0-bootstrap/single-cluster/3-apps/argocd/clusters/submariner/add-clusters-to-clusterset.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
apiVersion: argoproj.io/v1alpha1 | ||
kind: Application | ||
metadata: | ||
name: apps-cluster-add-managed-clusterset | ||
annotations: | ||
argocd.argoproj.io/sync-wave: "410" | ||
labels: | ||
gitops.tier.layer: applications | ||
finalizers: | ||
- resources-finalizer.argocd.argoproj.io | ||
spec: | ||
destination: | ||
namespace: openshift-gitops | ||
server: https://kubernetes.default.svc | ||
project: applications | ||
source: | ||
path: clusters/submariner/add-clusters/ | ||
# so using app of apps we declare the actual resources in otp-gitops-apps?? | ||
syncPolicy: | ||
automated: | ||
prune: true | ||
selfHeal: true |
23 changes: 23 additions & 0 deletions
23
0-bootstrap/single-cluster/3-apps/argocd/clusters/submariner/create-managed-clusterset.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
apiVersion: argoproj.io/v1alpha1 | ||
kind: Application | ||
metadata: | ||
name: apps-create-managed-clusterset | ||
annotations: | ||
argocd.argoproj.io/sync-wave: "400" | ||
labels: | ||
gitops.tier.layer: applications | ||
finalizers: | ||
- resources-finalizer.argocd.argoproj.io | ||
spec: | ||
destination: | ||
namespace: openshift-gitops | ||
server: https://kubernetes.default.svc | ||
project: applications | ||
source: | ||
path: clusters/submariner/create-managed-clusterset/ | ||
# declare resources in ottp-gitops-apps? | ||
|
||
syncPolicy: | ||
automated: | ||
prune: true | ||
selfHeal: true |
21 changes: 21 additions & 0 deletions
21
0-bootstrap/single-cluster/3-apps/argocd/clusters/submariner/deploy-submariner.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
apiVersion: argoproj.io/v1alpha1 | ||
kind: Application | ||
metadata: | ||
name: apps-cluster-deploy-submariner | ||
annotations: | ||
argocd.argoproj.io/sync-wave: "415" | ||
labels: | ||
gitops.tier.layer: applications | ||
finalizers: | ||
- resources-finalizer.argocd.argoproj.io | ||
spec: | ||
destination: | ||
namespace: openshift-gitops | ||
server: https://kubernetes.default.svc | ||
project: applications | ||
source: | ||
path: clusters/submariner/deploy-submariner/ | ||
syncPolicy: | ||
automated: | ||
prune: true | ||
selfHeal: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
apiVersion: v1 | ||
kind: Secret | ||
metadata: | ||
name: otp-gitops-repo-secret | ||
namespace: openshift-gitops | ||
labels: | ||
argocd.argoproj.io/secret-type: repository | ||
stringData: | ||
url: https://github.com/rampadc/otp-gitops | ||
password: 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 | ||
username: not-used |