Simon Kaiser 3 лет назад
Родитель
Сommit
79af6b4725
2 измененных файлов: 29 добавлений и 0 удалений
  1. 22
    0
      gitops-kaisers-info/templates/argo-cd copy.yaml
  2. 7
    0
      gitops-kaisers-info/templates/namespaces.yaml

+ 22
- 0
gitops-kaisers-info/templates/argo-cd copy.yaml Просмотреть файл

1
+apiVersion: argoproj.io/v1alpha1
2
+kind: Application
3
+metadata:
4
+  name: cert-manager
5
+  namespace: {{ .Values.spec.namespace }}
6
+  finalizers:
7
+  - resources-finalizer.argocd.argoproj.io
8
+spec:
9
+  destination:
10
+    namespace: {{ .Values.spec.namespace }}
11
+    name: {{ .Values.spec.destination.name }}
12
+  project: {{ .Values.spec.project }}
13
+  syncPolicy:
14
+    automated:
15
+      prune: true
16
+      selfHeal: true
17
+  source:
18
+    chart: cert-manager
19
+    repoURL: https://charts.jetstack.io
20
+    targetRevision: 1.7.1
21
+    helm:
22
+      releaseName: cert-manager

+ 7
- 0
gitops-kaisers-info/templates/namespaces.yaml Просмотреть файл

23
 kind: Namespace
23
 kind: Namespace
24
 metadata:
24
 metadata:
25
   name: authentik
25
   name: authentik
26
+  annotations:
27
+    argocd.argoproj.io/sync-wave: "-1"
28
+---
29
+apiVersion: v1
30
+kind: Namespace
31
+metadata:
32
+  name: cert-manager
26
   annotations:
33
   annotations:
27
     argocd.argoproj.io/sync-wave: "-1"
34
     argocd.argoproj.io/sync-wave: "-1"