I have try to add cert-Manager via Helm through ArgoCD applicaton Definition. I set the Namenspace value for the Helm chart. And if i sync the following definition i get an error because the namespace cert-manager
dose not exists.
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: cert-manager
namespace: argocd
spec:
project: default
source:
repoURL: 'https://charts.jetstack.io'
targetRevision: v1.15.1
chart: cert-manager
helm:
parameters:
- name: crds.enabled
value: 'true'
- name: startupapicheck.timeout
value: 5m
- name: namespace
value: cert-manager
destination:
server: 'https://kubernetes.default.svc'
syncPolicy:
syncOptions:
- CreateNamespace=true
Does anyone know how I can do this?
Many greetings and thanks