Simon Kaiser 3 лет назад
Родитель
Сommit
1a0681b8f8
1 измененных файлов: 6 добавлений и 4 удалений
  1. 6
    4
      gitops-kaisers-info/templates/gitea.yaml

+ 6
- 4
gitops-kaisers-info/templates/gitea.yaml Просмотреть файл

@@ -2,22 +2,24 @@ apiVersion: argoproj.io/v1alpha1
2 2
 kind: Application
3 3
 metadata:
4 4
   name: gitea
5
-  namespace: gitea
5
+  namespace: argocdtemp
6 6
   finalizers:
7 7
   - resources-finalizer.argocd.argoproj.io
8 8
 spec:
9 9
   destination:
10
-    namespace: gitea
10
+    namespace: argocdtemp
11 11
     name: {{ .Values.spec.destination.name }}
12 12
   project: {{ .Values.spec.project }}
13 13
   syncPolicy:
14 14
     automated:
15 15
       prune: true
16 16
       selfHeal: true
17
+    syncOptions:
18
+      - CreateNamespace=true
17 19
   source:
18
-    chart: gitea-charts/gitea
19
-    repoURL: https://dl.gitea.io
20
+    repoURL: 'https://dl.gitea.io/charts'
20 21
     targetRevision: 5.0.1
22
+    chart: gitea
21 23
     helm:
22 24
       version: v3
23 25
       releaseName: gitea