This commit is contained in:
Danny Bessems 2022-04-05 18:02:18 +02:00
parent e4190aaa1a
commit d9bedca458

View File

@ -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/) <small>(SQL management)</small>
```shell