π My K3s-related resources
- Install ArgoCD
kubectl create namespace argocd
kubectl apply -n argocd -f https://raw.githubusercontent.com/argoproj/argo-cd/stable/manifests/install.yaml
- Integrate this repository to the cluster
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: infra
namespace: argocd
spec:
project: default
destination:
server: https://kubernetes.default.svc
source:
repoURL: https://github.com/yudejp/infra.git
path: .
targetRevision: main
directory:
recurse: true
syncPolicy:
automated: {}
syncOptions:
- CreateNamespace=true
MIT License.