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