From f5d40794ea4e7177ad04e2b06917e338a2969bf1 Mon Sep 17 00:00:00 2001 From: SmokyZone Date: Tue, 20 Oct 2026 11:25:48 +0200 Subject: [PATCH] Gitea in apps-in-apps aufnehmen (1.27.3, Admin-Passwort aus den Values entfernt); external-secrets 2.13.0; reloader 2.2.18 Co-Authored-By: Claude Opus 5.5 --- values.yaml | 102 ++++++++++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 100 insertions(+), 2 deletions(-) diff --git a/values.yaml b/values.yaml index 3cb05fc..837f248 100644 --- a/values.yaml +++ b/values.yaml @@ -40,7 +40,7 @@ applications: source: repoURL: https://charts.external-secrets.io chart: external-secrets - targetRevision: "2.10.0" + targetRevision: "2.13.0" helm: values: | installCRDs: true @@ -88,7 +88,7 @@ applications: source: repoURL: https://stakater.github.io/stakater-charts chart: reloader - targetRevision: "2.2.17" + targetRevision: "2.2.18" helm: values: | reloader: @@ -142,6 +142,104 @@ applications: syncOptions: - CreateNamespace=true + # Gitea - Git server for all *-gitops repos (and thus ArgoCD's own source). + # Was created by hand with kubectl; now managed here. + # Admin password is NOT stored here: the admin user already exists and + # passwordMode initialOnlyNoReset means the chart never touches it again. + # Change the password in the Gitea UI. (If the data volume is ever lost, the + # chart would recreate gitea_admin with its public default password - change it immediately.) + # Careful: if Gitea does not come up, ArgoCD cannot fetch fixes from git either. + - name: gitea + enabled: true + source: + repoURL: https://dl.gitea.com/charts/ + chart: gitea + targetRevision: "12.7.0" + helm: + values: | + image: + # Chart 12.7.0 ships 1.27.0; 1.27.1-1.27.3 contain security fixes. + tag: "1.27.3" + valkey-cluster: + enabled: false + postgresql: + enabled: false + postgresql-ha: + enabled: false + persistence: + enabled: true + + strategy: + type: Recreate + rollingUpdate: null + + gitea: + admin: + username: gitea_admin + passwordMode: initialOnlyNoReset + config: + database: + DB_TYPE: sqlite3 + session: + PROVIDER: memory + cache: + ADAPTER: memory + queue: + TYPE: level + server: + PROTOCOL: http + DOMAIN: git.smokyzone.de + ROOT_URL: https://git.smokyzone.de/ + HTTP_PORT: 3000 + START_SSH_SERVER: false + SSH_DOMAIN: git-ssh.smokyzone.de + SSH_PORT: 2222 + SSH_LISTEN_PORT: 2222 + service: + DISABLE_REGISTRATION: true + security: + MIN_PASSWORD_LENGTH: 12 + + service: + http: + type: NodePort + port: 3000 + nodePort: 30300 + clusterIP: + ssh: + type: ClusterIP + port: 22 + + ingress: + enabled: true + className: nginx + annotations: + cert-manager.io/cluster-issuer: letsencrypt-dns-cloudflare + nginx.ingress.kubernetes.io/limit-rps: "10" + nginx.ingress.kubernetes.io/limit-burst-multiplier: "5" + nginx.ingress.kubernetes.io/proxy-body-size: "50m" + nginx.ingress.kubernetes.io/hsts: "true" + nginx.ingress.kubernetes.io/hsts-max-age: "31536000" + nginx.ingress.kubernetes.io/hsts-include-subdomains: "false" + hosts: + - host: git.smokyzone.de + paths: + - path: / + pathType: Prefix + tls: + - secretName: gitea-tls-letsencrypt + hosts: + - git.smokyzone.de + destination: + server: https://kubernetes.default.svc + namespace: gitea + syncPolicy: + automated: + prune: true + selfHeal: true + syncOptions: + - CreateNamespace=true + # Home Assistant (container install, hostNetwork for LAN discovery). # https://homeassistant.smokyzone.de - LAN/VPN only; see homeassistant-gitops README. - name: homeassistant