Install App Connect on an existing cluster using GitOps
This is a work in progress, come back for updates.
Steps to install App Connect in an existing cluster using ArgoCD.
Installation
Fork the multi-tenancy-gitops repository and clone your fork.
git clone git@github.com:{gitid}/multi-tenancy-gitops.gitInstall the Red Hat OpenShift GitOps operator.
cd multi-tenancy-gitopsoc apply -f 2-services/operators/openshift-gitops/Update your repository to reference your forked repository. Search and replace
cloud-native-toolkit
GithUb Org references with your {gitid}.Create the bootstrap ArgoCD application.
oc apply -f bootstrap.yaml -n openshift-gitopsGenerate an encrypted Secret containing the IBM Entitlement Key using Sealed Secret Operator.
Install kubeseal CLI.
Encrypt IBM Entitlement Key Secret.
NAMESPACE=toolsIBM_ENTITLEMENT_KEY=<Entitlement Key># Create Secret YAML containing Entitlement Keyoc create secret docker-registry ibm-entitlement-key \--docker-username=cp \--docker-server=cp.icr.io \--docker-password=${IBM_ENTITLEMENT_KEY} \--namespace=${NAMESPACE} \Apply the yaml manually or add to your gitops git repo to be deploy via ArgoCD.
oc apply -f enc-ibm-entitled-key-secret.yamlVerify the infrastructure and cluster wide resources under the
3-infra
folder are created successfully.3-infra/├── argocd-apps│ ├── consolelink.yaml│ ├── consolenotification.yaml│ ├── namespace-ci.yaml│ ├── namespace-dev.yaml│ ├── namespace-istio-system.yaml│ ├── namespace-openldap.yaml│ ├── namespace-qa.yamlVerify the operators and instances of custom resource definitions under the
2-services
folder are created successfully.2-services/├── active│ ├── instances│ │ └── argocd│ └── operators│ └── argocd└── inactive├── instances│ ├── argocd