ArgoCD
Prerequisites:
Integrating ArgoCD in Delivery Shield:
curl -o argocd-notifications-cm.yaml
https://raw.githubusercontent.com/OpsMx/argocd-ssd/main/argocd-notifications-cm.yamlkubectl patch cm argocd-notifications-cm -n argocd --type merge --patch-file argocd-notifications-cm.yamlkubectl patch secret argocd-notifications-secret --patch="{\"data\": { \"rabbitmq-password\"xxxxxxxxxxxxxxxxxxxxxxxxxxxxx" }}" -n argocd
kubectl patch secret argocd-notifications-secret --patch="{\"data\": { \"rabbitmq-username\"xxxxxxxxxxxxxxxxxxxxxxxxxxxxx" -n argocdkubectl apply -n argocd -f https://raw.githubusercontent.com/OpsMx/argocd-ssd/main/cmp-config.yaml
curl -o volumes.yaml https://raw.githubusercontent.com/OpsMx/argocd-ssd/main/volumes.yaml
kubectl patch deploy argocd-repo-server -n argocd --patch-file volumes.yaml
curl -o argocd-repo-server-patch.yaml https://raw.githubusercontent.com/OpsMx/argocd-ssd/main/argocd-repo-server-patch.yaml
sed -i 's/SSD-OPA.EXAMPLE.COM/<replace with OPA ingress>/g' argocd-repo-server-patch.yaml
kubectl patch deploy argocd-repo-server -n argocd --patch-file argocd-repo-server-patch.yamlssd.admissionreview.accountname: <Target cluster env name>
ssd.admissionreview.appname: <argocd application name >