From d9bedca458d4a7f6383bed5dd6d6d5ad3c0ef4fa Mon Sep 17 00:00:00 2001 From: djpbessems Date: Tue, 5 Apr 2022 18:02:18 +0200 Subject: [PATCH] ArgoCD++ --- README.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/README.md b/README.md index 8bcd572..1aa4835 100644 --- a/README.md +++ b/README.md @@ -179,6 +179,25 @@ Fix servicename (remove `name: http` - see [#502](https://github.com/bitnami-lab kubectl edit service -n kube-system sealed-secrets-controller ``` +### 4) GitOps +See [ArgoCD](https://argo-cd.readthedocs.io/en/stable/getting_started/#getting-started): +```shell +kubectl create namespace argocd +kubectl apply -n argocd -f https://raw.githubusercontent.com/argoproj/argo-cd/stable/manifests/install.yaml +``` + +Expose endpoints (see [ArgoCD Ingress Configuration](https://argo-cd.readthedocs.io/en/stable/operator-manual/ingress/#traefik-v22)): +```shell +kubectl patch deployment -n argocd argocd-server --type='json' -p='[{"op": "add", "path": "/spec/template/spec/containers/0/command/-", "value": "--insecure"}]' +kubectl apply -f system/ArgoCD/ingressRoute-ArgoCD.yml +``` + +Retrieve initial password: +```shell +kubectl get secret -n argocd argocd-initial-admin-secret -o jsonpath='{.data.password}' | base64 -d; echo +``` +Login with username `admin` and the initial password, browse to `User Info` and `Update Password`. + ### 4) Services ##### 4.1) [Adminer](https://www.adminer.org/) (SQL management) ```shell