- An OCP 4.x Development cluster.
- Must have cluster admin.
- Follow the steps here.
Create the project aicoe-argocd-dev
and argocd-test
. The latter will be used
for deploying a dev application via ArgoCD.
oc new-project argocd-test
oc new-project aicoe-argocd-dev
Deploy ArgoCD
git clone [email protected]:AICoE/aicoe-cd.git
cd aicoe-cd
# Deploy Cluser objects
kustomize build manifests/crds --enable_alpha_plugins | oc apply -f -
# Deploy Non Cluster objects
kustomize build manifests/overlays/dev --enable_alpha_plugins | oc apply -f -
Once deployed, there are some additional configurations, run this script:
examples/configure_development.sh
Feel free to look inside the script for detailed comments on what configurations are applied.
Run the following commands to clean up your environment.
kustomize build manifests/overlays/dev --enable_alpha_plugins | oc delete -f -
kustomize build manifests/crds --enable_alpha_plugins | oc delete -f -
oc delete group dev
oc delete project argocd-test
oc delete project aicoe-argocd-dev
You may ignore the following error when removing secrets:
Error from server (NotFound): error when deleting "STDIN": secrets "argocd-dex-server-oauth-token" not found
Error from server (NotFound): error when deleting "STDIN": secrets "dev-cluster-spec" not found