Instaling Vault through Argocd workflow - agent injector cant be synced

Hi Folks,

has anyone tried to install Vault using Argocd?
I have used Vault helm chart (https://helm.releases.hashicorp.com) to install Vault and the agent injector on minikube but the agent injector goes out of sync, in particular, blow resource:

ADMISSIONREGISTRATION.K8S.IO/MUTATINGWEBHOOKCONFIGURATION//VAULT-AGENT-INJECTOR-CFG

Yep, try this:

  ignoreDifferences:
  - group: admissionregistration.k8s.io
    kind: MutatingWebhookConfiguration
    jqPathExpressions:
    - .webhooks[]?.clientConfig.caBundle

for example:

apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
  name: vault
  namespace: argocd
spec:
  project: default
  source:
    chart: vault
    repoURL: https://helm.releases.hashicorp.com
    targetRevision: 0.19.0
  syncPolicy:
    syncOptions:
    - CreateNamespace=true
  destination:
    namespace: vault
    server: https://kubernetes.default.svc
  ignoreDifferences:
  - group: admissionregistration.k8s.io
    kind: MutatingWebhookConfiguration
    jqPathExpressions:
    - .webhooks[]?.clientConfig.caBundle
1 Like