Skip to content
Snippets Groups Projects
Commit f77e9254 authored by remche's avatar remche
Browse files

work on argocd

parent 7ecd74a8
No related branches found
No related tags found
No related merge requests found
......@@ -265,3 +265,22 @@ microk8s.enable helm3
alias helm='microk8s helm3'
echo "alias helm='microk8s helm3'" >> ~/.bashrc
```
Puis, on peut déployer le chart Helm qui est dans le répertoire `helm`. Les différentes valeurs peuvent être configurées via le fichier `values.yaml`.
```bash
helm upgrade --install vapormap vapormap -f values.yaml
```
#### GitOps ####
Utilisation d'Argo CD.
Installation d'Argo CD :
```bash
helm repo add argo https://argoproj.github.io/argo-helm
helm repo update
helm upgrade --install argocd --create-namespace -n argocd argo/argo-cd
```
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: vapormap
namespace: argocd
spec:
project: default
source:
repoURL: https://gricad-gitlab.univ-grenoble-alpes.fr/kubernetes-alpes/formations/argocd-vapormap.git
targetRevision: HEAD
destination:
server: https://kubernetes.default.svc
namespace: default
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment