Argocd
To create new app
- create your app deployment files
- create an application.yaml file for argocd in the same folder
- push everything to git
- k apply -f the application.yaml file
- wait for app to be created
Create application.yaml
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: mealie
namespace: argocd #keep this as argocd
spec:
project: default
source:
repoURL: https://gitlab.jhart.tech/jordan/kub-mkdocs.git
targetRevision: HEAD
path: mealie
destination:
server: https://kubernetes.default.svc
namespace: mealie
syncPolicy:
#syncOptions:
#- CreateNamespace=true # create namespace if it doesnt exist
automated:
selfHeal: true
prune: true
Helm Apps in Argocd