Loading...
Loading...
GitOps — el estado del clúster Kubernetes refleja siempre el estado del repositorio Git
npx skill4agent add davidcastagnetoa/skills gitops_argocdkubectl create namespace argocd
kubectl apply -n argocd -f https://raw.githubusercontent.com/argoproj/argo-cd/stable/manifests/install.yamlApplicationapiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: kyc-production
spec:
source:
repoURL: https://github.com/company/kyc-system
targetRevision: main
path: charts/kyc
helm:
valueFiles: [values-prod.yaml]
destination:
server: https://kubernetes.default.svc
namespace: kyc-prod
syncPolicy:
automated: { prune: true, selfHeal: true }selfHeal: trueprune: trueargocd-image-updaterkubectl apply