Skip to content

Commit

Permalink
CP4D Data Virtualization Recipe (cloud-native-toolkit#261)
Browse files Browse the repository at this point in the history
* wkc argocd apps

Signed-off-by: Bijo Thomas <bijoalex@gmail.com>
Signed-off-by: Bijo Thomas <64802013+atbijo@users.noreply.github.com>

* cp4d wkc gitops

Signed-off-by: Bijo Thomas <bijoalex@gmail.com>
Signed-off-by: Bijo Thomas <64802013+atbijo@users.noreply.github.com>

* add openscale to index

Signed-off-by: Bijo Thomas <64802013+atbijo@users.noreply.github.com>

* allow infra to modify kube-system namespace

Signed-off-by: Bijo Thomas <64802013+atbijo@users.noreply.github.com>

* dv recipe and new version of ws and wkc

Signed-off-by: Bijo Thomas <64802013+atbijo@users.noreply.github.com>

* sync manifests

Signed-off-by: Bijo Thomas <64802013+atbijo@users.noreply.github.com>
  • Loading branch information
atbijo authored Jun 23, 2022
1 parent 3fc9200 commit 6bb36a1
Show file tree
Hide file tree
Showing 76 changed files with 1,017 additions and 37 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,8 @@ spec:
server: https://kubernetes.default.svc
- namespace: b2bi-nonprod
server: https://kubernetes.default.svc
- namespace: kube-system
server: https://kubernetes.default.svc
clusterResourceWhitelist:
- group: ""
kind: Namespace
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: norootsquash
labels:
gitops.tier.layer: infra
annotations:
argocd.argoproj.io/sync-wave: "100"
spec:
destination:
namespace: kube-system
server: https://kubernetes.default.svc
project: infra
source:
path: norootsquash
syncPolicy:
automated:
prune: true
selfHeal: true
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ resources:
#- argocd/serviceaccounts-b2bi-nonprod.yaml
#- argocd/sfg-b2bi-clusterwide.yaml
#- argocd/scc-wkc-iis.yaml
#- argocd/norootsquash.yaml
#- argocd/storage.yaml
#- argocd/infraconfig.yaml
#- argocd/machinesets.yaml
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: ibm-cpd-dv-instance
annotations:
argocd.argoproj.io/sync-wave: "270"
labels:
gitops.tier.group: ibm-cloudpak
gitops.tier.layer: services
gitops.tier.source: helm
spec:
syncPolicy:
automated:
prune: true
selfHeal: true
destination:
namespace: tools
server: https://kubernetes.default.svc
project: services
source:
chart: ibm-cp4d-data-virtualization-instance
repoURL: "" # Populated by kustomize patches in 2-services/kustomization.yaml
targetRevision: 0.1.0
helm:
parameters:
- name: metadata.name
value: dv-service
- name: spec.license.accept
value: "true"
- name: spec.license.license
value: Enterprise
- name: spec.version
value: 1.7.8
- name: spec.size
value: small
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ spec:
- name: spec.license.license
value: Enterprise
- name: spec.version
value: 4.0.4
value: 4.0.9
- name: spec.storageClass
value: managed-nfs-storage
- name: spec.wkc_db2u_set_kernel_params
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,6 @@ spec:
- name: spec.license.license
value: Enterprise
- name: spec.version
value: 4.0.4
value: 4.0.9
- name: spec.storageClass
value: managed-nfs-storage
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: ibm-cpd-dv-operator
annotations:
argocd.argoproj.io/sync-wave: "230"
labels:
gitops.tier.group: ibm-cloudpak
gitops.tier.layer: services
gitops.tier.source: helm
finalizers:
- resources-finalizer.argocd.argoproj.io
spec:
destination:
namespace: ibm-common-services
server: 'https://kubernetes.default.svc'
project: services
syncPolicy:
automated:
prune: true
selfHeal: true
source:
chart: ocp-subscription
repoURL: "" # Populated by kustomize patches in 2-services/kustomization.yaml
targetRevision: 1.0.0
helm:
parameters:
- name: metadata.name
value: ibm-dv-operator-catalog-subscription
- name: spec.channel
value: v1.7
- name: spec.installPlanApproval
value: Automatic
- name: spec.name
value: ibm-dv-operator
- name: spec.source
value: ibm-operator-catalog
- name: spec.sourceNamespace
value: openshift-marketplace
Original file line number Diff line number Diff line change
Expand Up @@ -30,15 +30,17 @@ resources:
#- argocd/operators/ibm-cpd-platform-operator.yaml
#- argocd/instances/ibm-cpd-instance.yaml
#- argocd/operators/ibm-cpd-ws-operator.yaml
#- argocd/operators/ibm-cpd-wos-operator.yaml
#- argocd/instances/ibm-cpd-ws-instance.yaml
#- argocd/instances/ibm-cpd-wos-instance.yaml
#- argocd/operators/ibm-cpd-wkc-operator.yaml
#- argocd/instances/ibm-cpd-wkc-instance.yaml
#- argocd/operators/ibm-cpd-ds-operator.yaml
#- argocd/instances/ibm-cpd-ds-instance.yaml
#- argocd/operators/ibm-cpd-aespark-operator.yaml
#- argocd/instances/ibm-cpd-aespark-instance.yaml
#- argocd/operators/ibm-cpd-wos-operator.yaml
#- argocd/instances/ibm-cpd-wos-instance.yaml
#- argocd/operators/ibm-cpd-dv-operator.yaml
#- argocd/instances/ibm-cpd-dv-instance.yaml

## Cloud Pak for Security
#- argocd/operators/ibm-cp4s-operator.yaml
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,8 @@ spec:
server: https://kubernetes.default.svc
- namespace: b2bi-nonprod
server: https://kubernetes.default.svc
- namespace: kube-system
server: https://kubernetes.default.svc
clusterResourceWhitelist:
- group: ""
kind: Namespace
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: norootsquash
labels:
gitops.tier.layer: infra
annotations:
argocd.argoproj.io/sync-wave: "100"
spec:
destination:
namespace: kube-system
server: https://kubernetes.default.svc
project: infra
source:
path: norootsquash
syncPolicy:
automated:
prune: true
selfHeal: true
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ resources:
#- argocd/serviceaccounts-b2bi-nonprod.yaml
#- argocd/sfg-b2bi-clusterwide.yaml
#- argocd/scc-wkc-iis.yaml
#- argocd/norootsquash.yaml
#- argocd/storage.yaml
#- argocd/infraconfig.yaml
#- argocd/machinesets.yaml
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: ibm-cpd-dv-instance
annotations:
argocd.argoproj.io/sync-wave: "270"
labels:
gitops.tier.group: ibm-cloudpak
gitops.tier.layer: services
gitops.tier.source: helm
spec:
syncPolicy:
automated:
prune: true
selfHeal: true
destination:
namespace: tools
server: https://kubernetes.default.svc
project: services
source:
chart: ibm-cp4d-data-virtualization-instance
repoURL: "" # Populated by kustomize patches in 2-services/kustomization.yaml
targetRevision: 0.1.0
helm:
parameters:
- name: metadata.name
value: dv-service
- name: spec.license.accept
value: "true"
- name: spec.license.license
value: Enterprise
- name: spec.version
value: 1.7.8
- name: spec.size
value: small
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ spec:
- name: spec.license.license
value: Enterprise
- name: spec.version
value: 4.0.4
value: 4.0.9
- name: spec.storageClass
value: managed-nfs-storage
- name: spec.wkc_db2u_set_kernel_params
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,6 @@ spec:
- name: spec.license.license
value: Enterprise
- name: spec.version
value: 4.0.4
value: 4.0.9
- name: spec.storageClass
value: managed-nfs-storage
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: ibm-cpd-dv-operator
annotations:
argocd.argoproj.io/sync-wave: "230"
labels:
gitops.tier.group: ibm-cloudpak
gitops.tier.layer: services
gitops.tier.source: helm
finalizers:
- resources-finalizer.argocd.argoproj.io
spec:
destination:
namespace: ibm-common-services
server: 'https://kubernetes.default.svc'
project: services
syncPolicy:
automated:
prune: true
selfHeal: true
source:
chart: ocp-subscription
repoURL: "" # Populated by kustomize patches in 2-services/kustomization.yaml
targetRevision: 1.0.0
helm:
parameters:
- name: metadata.name
value: ibm-dv-operator-catalog-subscription
- name: spec.channel
value: v1.7
- name: spec.installPlanApproval
value: Automatic
- name: spec.name
value: ibm-dv-operator
- name: spec.source
value: ibm-operator-catalog
- name: spec.sourceNamespace
value: openshift-marketplace
Original file line number Diff line number Diff line change
Expand Up @@ -30,15 +30,17 @@ resources:
#- argocd/operators/ibm-cpd-platform-operator.yaml
#- argocd/instances/ibm-cpd-instance.yaml
#- argocd/operators/ibm-cpd-ws-operator.yaml
#- argocd/operators/ibm-cpd-wos-operator.yaml
#- argocd/instances/ibm-cpd-ws-instance.yaml
#- argocd/instances/ibm-cpd-wos-instance.yaml
#- argocd/operators/ibm-cpd-wkc-operator.yaml
#- argocd/instances/ibm-cpd-wkc-instance.yaml
#- argocd/operators/ibm-cpd-ds-operator.yaml
#- argocd/instances/ibm-cpd-ds-instance.yaml
#- argocd/operators/ibm-cpd-aespark-operator.yaml
#- argocd/instances/ibm-cpd-aespark-instance.yaml
#- argocd/operators/ibm-cpd-wos-operator.yaml
#- argocd/instances/ibm-cpd-wos-instance.yaml
#- argocd/operators/ibm-cpd-dv-operator.yaml
#- argocd/instances/ibm-cpd-dv-instance.yaml

## Cloud Pak for Security
#- argocd/operators/ibm-cp4s-operator.yaml
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,8 @@ spec:
server: https://kubernetes.default.svc
- namespace: b2bi-nonprod
server: https://kubernetes.default.svc
- namespace: kube-system
server: https://kubernetes.default.svc
clusterResourceWhitelist:
- group: ""
kind: Namespace
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: norootsquash
labels:
gitops.tier.layer: infra
annotations:
argocd.argoproj.io/sync-wave: "100"
spec:
destination:
namespace: kube-system
server: https://kubernetes.default.svc
project: infra
source:
path: norootsquash
syncPolicy:
automated:
prune: true
selfHeal: true
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ resources:
#- argocd/serviceaccounts-b2bi-nonprod.yaml
#- argocd/sfg-b2bi-clusterwide.yaml
#- argocd/scc-wkc-iis.yaml
#- argocd/norootsquash.yaml
#- argocd/storage.yaml
#- argocd/infraconfig.yaml
#- argocd/machinesets.yaml
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: ibm-cpd-dv-instance
annotations:
argocd.argoproj.io/sync-wave: "270"
labels:
gitops.tier.group: ibm-cloudpak
gitops.tier.layer: services
gitops.tier.source: helm
spec:
syncPolicy:
automated:
prune: true
selfHeal: true
destination:
namespace: tools
server: https://kubernetes.default.svc
project: services
source:
chart: ibm-cp4d-data-virtualization-instance
repoURL: "" # Populated by kustomize patches in 2-services/kustomization.yaml
targetRevision: 0.1.0
helm:
parameters:
- name: metadata.name
value: dv-service
- name: spec.license.accept
value: "true"
- name: spec.license.license
value: Enterprise
- name: spec.version
value: 1.7.8
- name: spec.size
value: small
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ spec:
- name: spec.license.license
value: Enterprise
- name: spec.version
value: 4.0.4
value: 4.0.9
- name: spec.storageClass
value: managed-nfs-storage
- name: spec.wkc_db2u_set_kernel_params
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,6 @@ spec:
- name: spec.license.license
value: Enterprise
- name: spec.version
value: 4.0.4
value: 4.0.9
- name: spec.storageClass
value: managed-nfs-storage
Loading

0 comments on commit 6bb36a1

Please sign in to comment.