Explorar el Código

Trial and error

Simon Kaiser hace 3 años
padre
commit
6f645d5071

+ 15
- 3
gitops-kaisers-info/apps/templates/argo-cd.yaml Ver fichero

@@ -11,6 +11,18 @@ spec:
11 11
     name: {{ .Values.spec.destination.name }}
12 12
   project: {{ .Values.spec.project }}
13 13
   source:
14
-    path: {{ .Values.spec.source.path }}/argo-cd
15
-    repoURL: {{ .Values.spec.source.repoURL }}
16
-    targetRevision: {{ .Values.spec.source.targetRevision }}
14
+    chart: argo-cd
15
+    repoURL: https://github.com/argoproj/argo-helm
16
+    targetRevision: 3.33.6
17
+    values: |
18
+      server:
19
+        ingress: 
20
+          enabled: true
21
+          hosts:
22
+            - argo-cd.kaisers.info
23
+          paths:
24
+            - /
25
+          pathType: Prefix
26
+  
27
+        extraArgs:
28
+        - --insecure

+ 43
- 3
gitops-kaisers-info/apps/templates/authentik.yaml Ver fichero

@@ -11,6 +11,46 @@ spec:
11 11
     name: {{ .Values.spec.destination.name }}
12 12
   project: {{ .Values.spec.project }}
13 13
   source:
14
-    path: {{ .Values.spec.source.path }}/authentik
15
-    repoURL: {{ .Values.spec.source.repoURL }}
16
-    targetRevision: {{ .Values.spec.source.targetRevision }}
14
+    chart: goauthentik/authentik
15
+    repoURL: https://charts.goauthentik.io
16
+    targetRevision: 5.2.1
17
+    values: |
18
+      authentik:
19
+        secret_key: "qlfgmSJ8GT/EoE3JsphrM81KzyYqoDYif7u59m/sVL4EQ6MO"
20
+        # This sends anonymous usage-data, stack traces on errors and
21
+        # performance data to sentry.beryju.org, and is fully opt-in
22
+        error_reporting:
23
+          enabled: true
24
+        postgresql:
25
+          password: "ThisIsNotASecurePasswordEither"
26
+        
27
+        email:
28
+          # -- SMTP Server emails are sent from, fully optional
29
+          host: "mail.your-server.de"
30
+          port: 587
31
+          # -- SMTP credentials, when left empty, not authentication will be done
32
+          username: "authentik@kaisers.info"
33
+          # -- SMTP credentials, when left empty, not authentication will be done
34
+          password: "6qL3XdwQUw2UJ75U"
35
+          # -- Enable either use_tls or use_ssl, they can't be enabled at the same time.
36
+          use_tls: true
37
+          # -- Enable either use_tls or use_ssl, they can't be enabled at the same time.
38
+          use_ssl: false
39
+          # -- Connection timeout
40
+          timeout: 30
41
+          # -- Email from address, can either be in the format "foo@bar.baz" or "authentik <foo@bar.baz>"
42
+          from: "authentik <authentik@kaisers.info>"
43
+
44
+      ingress:
45
+        enabled: true
46
+        hosts:
47
+          - host: authentik.kaisers.info
48
+            paths:
49
+              - path: "/"
50
+                pathType: Prefix
51
+
52
+      postgresql:
53
+        enabled: true
54
+        postgresqlPassword: "ThisIsNotASecurePasswordEither"
55
+      redis:
56
+        enabled: true

+ 24
- 3
gitops-kaisers-info/apps/templates/gitea.yaml Ver fichero

@@ -11,6 +11,27 @@ spec:
11 11
     name: {{ .Values.spec.destination.name }}
12 12
   project: {{ .Values.spec.project }}
13 13
   source:
14
-    path: {{ .Values.spec.source.path }}/gitea
15
-    repoURL: {{ .Values.spec.source.repoURL }}
16
-    targetRevision: {{ .Values.spec.source.targetRevision }}
14
+    chart: gitea-charts/gitea
15
+    repoURL: https://dl.gitea.io/charts
16
+    targetRevision: 5.0.1
17
+    helm:
18
+      releaseName: gitea
19
+      values: |
20
+        ingress:
21
+          enabled: true
22
+          annotations: {}
23
+          hosts:
24
+            - host: newgit.kaisers.info
25
+              paths:
26
+                - path: /
27
+                  pathType: Prefix
28
+
29
+        service:
30
+          http:
31
+            type: ClusterIP
32
+            port: 3000
33
+            clusterIP:
34
+          ssh:
35
+            type: ClusterIP
36
+            port: 22
37
+            clusterIP:

+ 0
- 0
gitops-kaisers-info/argo-cd/Chart.yaml Ver fichero


+ 0
- 11
gitops-kaisers-info/argo-cd/values.yaml Ver fichero

@@ -1,11 +0,0 @@
1
-server:
2
-  ingress: 
3
-    enabled: true
4
-    hosts:
5
-      - argo-cd.kaisers.info
6
-    paths:
7
-      - /
8
-    pathType: Prefix
9
-  
10
-  extraArgs:
11
-  - --insecure