forked from cloud-native-toolkit/multi-tenancy-gitops
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Apic multicloud use case (cloud-native-toolkit#154)
* APIC multicloud use case Signed-off-by: Jesus Almaraz <jesus.mah@gmail.com> * APIC multicloud use case Signed-off-by: Jesus Almaraz <jesus.mah@gmail.com>
Access has been restricted
You have triggered a rate limit.
Please wait a few minutes before you try again;
in some cases this may take up to an hour.
Jesus Almaraz
authored
Nov 10, 2021
1 parent
78b9326
commit bef8350
Showing
367 changed files
with
12,186 additions
and
50 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
19 changes: 19 additions & 0 deletions
19
.../others/1-shared-cluster/cluster-1-cicd-dev-stage-prod/1-infra/argocd/namespace-baas.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,19 @@ | ||
apiVersion: argoproj.io/v1alpha1 | ||
kind: Application | ||
metadata: | ||
name: namespace-baas | ||
labels: | ||
gitops.tier.layer: infra | ||
annotations: | ||
argocd.argoproj.io/sync-wave: "100" | ||
spec: | ||
destination: | ||
namespace: openshift-gitops | ||
server: https://kubernetes.default.svc | ||
project: infra | ||
source: | ||
path: namespaces/baas | ||
syncPolicy: | ||
automated: | ||
prune: true | ||
selfHeal: true |
2 changes: 1 addition & 1 deletion
2
...1-shared-cluster/cluster-1-cicd-dev-stage-prod/1-infra/argocd/namespace-istio-system.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
19 changes: 19 additions & 0 deletions
19
...s/1-shared-cluster/cluster-1-cicd-dev-stage-prod/1-infra/argocd/namespace-spp-velero.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,19 @@ | ||
apiVersion: argoproj.io/v1alpha1 | ||
kind: Application | ||
metadata: | ||
name: namespace-spp-velero | ||
labels: | ||
gitops.tier.layer: infra | ||
annotations: | ||
argocd.argoproj.io/sync-wave: "100" | ||
spec: | ||
destination: | ||
namespace: openshift-gitops | ||
server: https://kubernetes.default.svc | ||
project: infra | ||
source: | ||
path: namespaces/spp-velero | ||
syncPolicy: | ||
automated: | ||
prune: true | ||
selfHeal: true |
19 changes: 19 additions & 0 deletions
19
...p/others/1-shared-cluster/cluster-1-cicd-dev-stage-prod/1-infra/argocd/namespace-spp.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,19 @@ | ||
apiVersion: argoproj.io/v1alpha1 | ||
kind: Application | ||
metadata: | ||
name: namespace-spp | ||
labels: | ||
gitops.tier.layer: infra | ||
annotations: | ||
argocd.argoproj.io/sync-wave: "100" | ||
spec: | ||
destination: | ||
namespace: openshift-gitops | ||
server: https://kubernetes.default.svc | ||
project: infra | ||
source: | ||
path: namespaces/spp | ||
syncPolicy: | ||
automated: | ||
prune: true | ||
selfHeal: true |
2 changes: 1 addition & 1 deletion
2
...others/1-shared-cluster/cluster-1-cicd-dev-stage-prod/1-infra/argocd/namespace-tools.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
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
68 changes: 68 additions & 0 deletions
68
...ared-cluster/cluster-1-cicd-dev-stage-prod/2-services/argocd/instances/baas-instance.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,68 @@ | ||
apiVersion: argoproj.io/v1alpha1 | ||
kind: Application | ||
metadata: | ||
name: baas-instance | ||
annotations: | ||
argocd.argoproj.io/sync-wave: "220" | ||
labels: | ||
gitops.tier.group: spp | ||
gitops.tier.layer: services | ||
spec: | ||
ignoreDifferences: | ||
- kind: ServiceAccount | ||
jsonPointers: | ||
- /imagePullSecrets | ||
- group: '' | ||
kind: PersistentVolumeClaim | ||
jsonPointers: | ||
- "/metadata/finalizers" | ||
- kind: SecurityContextConstraints | ||
group: security.openshift.io | ||
jsonPointers: | ||
- /volumes | ||
syncPolicy: | ||
automated: | ||
prune: true | ||
selfHeal: true | ||
destination: | ||
namespace: baas | ||
server: https://kubernetes.default.svc | ||
project: services | ||
source: | ||
path: instances/baas-instance | ||
helm: | ||
values: | | ||
baas-supplemental: | ||
baassecret: | ||
data: | ||
baasadmin: AgBBL2lBFTblnmAKC7j2RurkJzoHgPsNNLyULMozYQvaDDwQnUtxu2ga3Fviqi1TwzTK42FXfur5OpBfqLwsX4e8qoY8MJkzAqFcCUrbvJWiO5NOrYOLdzxwTFzKGkEyGqfSrijpvu/Iq6yR5+YTJtYfipkFHSsxUUspPcQzrnULdaAhZ4HSXLSTo+giKy9RY6dL/2LUcPStQSshNRzBon1wokmfzzOBgzweDMAuR1LsPy3tDsEXSX84bkp/OsJtHKVxu76cLCfeN24ReCOJ2cL2g086Axqq+FdzRE22eRjt7oM3LQ4H2tJfvR/NRyTe2s+VcjD5Q16TpY7jMIirxKL1cD8ubczDkPS2qtTjObT8nSTFIHcnK29yn5vimE3qAyTdr4QNl23T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||
ibm-spectrum-protect-plus-prod: | ||
license: true | ||
isOCP: true | ||
clusterName: vbudi-spp-test-001 | ||
networkPolicy: | ||
clusterAPIServerips: | ||
- 10.17.41.246 | ||
- 10.17.44.178 | ||
- 10.17.44.246 | ||
clusterAPIServerport: 6443 | ||
clusterCIDR: 10.254.0.0/16 | ||
isServerInstalledOnAnotherCluster: false | ||
SPPfqdn: ibmspp.apps.vbudi-spp-test-001.cp.fyre.ibm.com | ||
SPPips: 9.30.234.244 | ||
SPPport: 443 | ||
productLoglevel: INFO | ||
imageRegistry: cp.icr.io/cp | ||
imageRegistryNamespace: sppc | ||
minioStorageClass: ocs-storagecluster-cephfs | ||
veleroNamespace: spp-velero | ||
tm: | ||
replicas: 3 |
20 changes: 20 additions & 0 deletions
20
...-cicd-dev-stage-prod/2-services/argocd/instances/ibm-apic-gateway-analytics-instance.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,20 @@ | ||
apiVersion: argoproj.io/v1alpha1 | ||
kind: Application | ||
metadata: | ||
name: ibm-apic-gateway-analytics-instance | ||
annotations: | ||
argocd.argoproj.io/sync-wave: "240" | ||
labels: | ||
gitops.tier.group: cloudpak | ||
gitops.tier.layer: applications | ||
spec: | ||
destination: | ||
namespace: openshift-gitops | ||
server: https://kubernetes.default.svc | ||
project: services | ||
source: # repoURL and targetRevision populated by kustomize patches in 2-services/kustomization.yaml | ||
path: apic/config/argocd/single-cluster/instances/gateway-analytics-instance | ||
syncPolicy: | ||
automated: | ||
prune: true | ||
selfHeal: true |
20 changes: 20 additions & 0 deletions
20
...-cicd-dev-stage-prod/2-services/argocd/instances/ibm-apic-management-portal-instance.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,20 @@ | ||
apiVersion: argoproj.io/v1alpha1 | ||
kind: Application | ||
metadata: | ||
name: ibm-apic-management-portal-instance | ||
annotations: | ||
argocd.argoproj.io/sync-wave: "240" | ||
labels: | ||
gitops.tier.group: cloudpak | ||
gitops.tier.layer: applications | ||
spec: | ||
destination: | ||
namespace: openshift-gitops | ||
server: https://kubernetes.default.svc | ||
project: services | ||
source: # repoURL and targetRevision populated by kustomize patches in 2-services/kustomization.yaml | ||
path: apic/config/argocd/single-cluster/instances/management-portal-instance | ||
syncPolicy: | ||
automated: | ||
prune: true | ||
selfHeal: true |
39 changes: 39 additions & 0 deletions
39
...ared-cluster/cluster-1-cicd-dev-stage-prod/2-services/argocd/instances/oadp-instance.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,39 @@ | ||
apiVersion: argoproj.io/v1alpha1 | ||
kind: Application | ||
metadata: | ||
name: oadp-instance | ||
annotations: | ||
argocd.argoproj.io/sync-wave: "220" | ||
labels: | ||
gitops.tier.group: spp | ||
gitops.tier.layer: services | ||
spec: | ||
syncPolicy: | ||
automated: | ||
prune: true | ||
selfHeal: true | ||
destination: | ||
namespace: spp-velero | ||
server: https://kubernetes.default.svc | ||
project: services | ||
source: | ||
path: instances/oadp-instance | ||
helm: | ||
values: | | ||
oadp-instance: | ||
oadp: | ||
name: oadp-velero | ||
spec: | ||
default_velero_plugins: | ||
- aws | ||
- openshift | ||
enable_restic: false | ||
olm_managed: true | ||
use_upstream_images: false | ||
velero_resource_allocation: | ||
limits: | ||
cpu: '1' | ||
memory: 512Mi | ||
requests: | ||
cpu: 500m | ||
memory: 256Mi |
Access has been restricted
You have triggered a rate limit.
Please wait a few minutes before you try again;
in some cases this may take up to an hour.