diff --git a/apps/templates/cert-manager.yaml b/apps/templates/cert-manager.yaml index e1e9d5b..db01e95 100644 --- a/apps/templates/cert-manager.yaml +++ b/apps/templates/cert-manager.yaml @@ -11,6 +11,10 @@ spec: server: {{ .Values.spec.destination.server }} project: default source: - path: cert-manager - repoURL: https://github.com/rubenhensen/k8scd.git - targetRevision: HEAD \ No newline at end of file + chart: cert-manager + repoURL: {{ .Values.spec.source.repoURL }} + targetRevision: {{ .Values.spec.source.targetRevision }} + helm: + fileParameters: + - name: crds.enabled + value: true \ No newline at end of file diff --git a/apps/values.yaml b/apps/values.yaml index a9aa10c..ec2ae20 100644 --- a/apps/values.yaml +++ b/apps/values.yaml @@ -1,3 +1,6 @@ spec: destination: - server: https://kubernetes.default.svc \ No newline at end of file + server: https://kubernetes.default.svc + source: + repoURL: https://charts.jetstack.io + targetRevision: 1.15.3 \ No newline at end of file diff --git a/cert-manager/app.yml b/cert-manager/app.yml deleted file mode 100644 index 477fbce..0000000 --- a/cert-manager/app.yml +++ /dev/null @@ -1,21 +0,0 @@ -apiVersion: argoproj.io/v1alpha1 -kind: Application -metadata: - name: cert-manager - namespace: argocd -spec: - project: default - source: - chart: cert-manager - repoURL: https://charts.jetstack.io - targetRevision: 1.15.3 - helm: - fileParameters: - - name: crds.enabled - value: true - destination: - server: "https://kubernetes.default.svc" - namespace: cert-manager - syncPolicy: - syncOptions: - - CreateNamespace=true \ No newline at end of file