281 lines
9.0 KiB
YAML
281 lines
9.0 KiB
YAML
## Default values for the apps-in-apps chart (App-of-Apps pattern).
|
|
|
|
argocd:
|
|
# Namespace where ArgoCD (and thus the Application CRs) live.
|
|
namespace: argocd
|
|
# AppProject the generated Applications belong to.
|
|
project: default
|
|
|
|
# List of child ArgoCD Applications this chart renders.
|
|
# Each entry maps 1:1 to an `argoproj.io/v1alpha1 Application`.
|
|
applications:
|
|
- name: valheim
|
|
enabled: true
|
|
source:
|
|
repoURL: https://git.smokyzone.de/SmokyZone/valheim-gitops.git
|
|
targetRevision: main
|
|
path: .
|
|
helm:
|
|
# Extra --set style values merged into the valheim-gitops chart.
|
|
# Keep secrets out of here - override via a sealed/external secret
|
|
# or ArgoCD parameter overrides instead.
|
|
parameters: []
|
|
# valueFiles:
|
|
# - values.yaml
|
|
destination:
|
|
# Empty server means "the cluster ArgoCD itself runs in".
|
|
server: https://kubernetes.default.svc
|
|
namespace: valheim
|
|
syncPolicy:
|
|
automated:
|
|
prune: true
|
|
selfHeal: true
|
|
syncOptions:
|
|
- CreateNamespace=true
|
|
|
|
# External Secrets Operator - installed straight from its official Helm
|
|
# repo (no git source needed). CRDs are installed by the chart itself.
|
|
- name: external-secrets
|
|
enabled: true
|
|
source:
|
|
repoURL: https://charts.external-secrets.io
|
|
chart: external-secrets
|
|
targetRevision: "2.13.0"
|
|
helm:
|
|
values: |
|
|
installCRDs: true
|
|
destination:
|
|
server: https://kubernetes.default.svc
|
|
namespace: external-secrets
|
|
syncPolicy:
|
|
automated:
|
|
prune: true
|
|
selfHeal: true
|
|
syncOptions:
|
|
- CreateNamespace=true
|
|
# The SecretStore/ClusterSecretStore CRDs embed a very large OpenAPI
|
|
# schema; a plain `kubectl apply` stores the full manifest in the
|
|
# `kubectl.kubernetes.io/last-applied-configuration` annotation,
|
|
# which exceeds Kubernetes' 262144 byte annotation limit and fails
|
|
# with "metadata.annotations: Too long". Server-side apply avoids
|
|
# writing that annotation entirely.
|
|
- ServerSideApply=true
|
|
|
|
# OpenBao secret management backend + its ClusterSecretStore binding for ESO.
|
|
- name: openbao
|
|
enabled: true
|
|
source:
|
|
repoURL: https://git.smokyzone.de/SmokyZone/openbao.git
|
|
targetRevision: main
|
|
path: .
|
|
destination:
|
|
server: https://kubernetes.default.svc
|
|
namespace: openbao
|
|
syncPolicy:
|
|
automated:
|
|
prune: true
|
|
selfHeal: true
|
|
syncOptions:
|
|
- CreateNamespace=true
|
|
|
|
# Stakater Reloader - watches Secrets/ConfigMaps and triggers a rolling restart
|
|
# of workloads that reference them (e.g. after ESO refreshes a secret from OpenBao).
|
|
# Opt-in per workload via annotation, e.g. on a Deployment/StatefulSet:
|
|
# secret.reloader.stakater.com/reload: "<secret-name>"
|
|
# or `reloader.stakater.com/auto: "true"` to react to every referenced Secret/ConfigMap.
|
|
- name: reloader
|
|
enabled: true
|
|
source:
|
|
repoURL: https://stakater.github.io/stakater-charts
|
|
chart: reloader
|
|
targetRevision: "2.2.18"
|
|
helm:
|
|
values: |
|
|
reloader:
|
|
# The default strategy injects an env var into the pod template, which
|
|
# ArgoCD (selfHeal) would revert as drift. Annotations on the pod template
|
|
# are extra map keys and are ignored by ArgoCD's diff.
|
|
reloadStrategy: annotations
|
|
destination:
|
|
server: https://kubernetes.default.svc
|
|
namespace: reloader
|
|
syncPolicy:
|
|
automated:
|
|
prune: true
|
|
selfHeal: true
|
|
syncOptions:
|
|
- CreateNamespace=true
|
|
|
|
# Media stack: Jellyfin, Sonarr, Radarr, Prowlarr, SABnzbd, Bazarr, Seerr,
|
|
# FlareSolverr. LAN/VPN-only; see the media-gitops README for first-time setup.
|
|
- name: media
|
|
enabled: true
|
|
source:
|
|
repoURL: https://git.smokyzone.de/SmokyZone/media-gitops.git
|
|
targetRevision: main
|
|
path: .
|
|
destination:
|
|
server: https://kubernetes.default.svc
|
|
namespace: media
|
|
syncPolicy:
|
|
automated:
|
|
prune: true
|
|
selfHeal: true
|
|
syncOptions:
|
|
- CreateNamespace=true
|
|
|
|
# Tailscale subnet router: makes the node (and all *.smokyzone.de ingress
|
|
# hosts) reachable from the tailnet. Needs secret/tailscale (authkey) in OpenBao.
|
|
- name: tailscale
|
|
enabled: true
|
|
source:
|
|
repoURL: https://git.smokyzone.de/SmokyZone/tailscale-gitops.git
|
|
targetRevision: main
|
|
path: .
|
|
destination:
|
|
server: https://kubernetes.default.svc
|
|
namespace: tailscale
|
|
syncPolicy:
|
|
automated:
|
|
prune: true
|
|
selfHeal: true
|
|
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.
|
|
# No chart-managed admin: the bootstrap user gitea_admin was deleted, the user's
|
|
# own account is admin. Empty username+password makes the chart skip
|
|
# configure_admin_user entirely - otherwise it would recreate gitea_admin with
|
|
# the chart's PUBLIC default password on every pod start.
|
|
# 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: ""
|
|
password: ""
|
|
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
|
|
|
|
# Intel GPU device plugin: advertises the iGPU (UHD 630, /dev/dri) as the resource
|
|
# gpu.intel.com/i915, so Jellyfin can use QuickSync without running privileged.
|
|
# Manifest vendored in addons/intel-gpu-plugin (upstream v0.37.1; the upstream repo
|
|
# is too big for ArgoCD's git fetch timeout). MicroK8s runs the kubelet with
|
|
# --root-dir=$SNAP_COMMON/var/lib/kubelet, so the device-plugin socket path is patched.
|
|
- name: intel-gpu-plugin
|
|
enabled: true
|
|
source:
|
|
repoURL: https://git.smokyzone.de/SmokyZone/apps-in-apps.git
|
|
targetRevision: main
|
|
path: addons/intel-gpu-plugin
|
|
destination:
|
|
server: https://kubernetes.default.svc
|
|
namespace: intel-gpu-plugin
|
|
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
|
|
enabled: true
|
|
source:
|
|
repoURL: https://git.smokyzone.de/SmokyZone/homeassistant-gitops.git
|
|
targetRevision: main
|
|
path: .
|
|
destination:
|
|
server: https://kubernetes.default.svc
|
|
namespace: homeassistant
|
|
syncPolicy:
|
|
automated:
|
|
prune: true
|
|
selfHeal: true
|
|
syncOptions:
|
|
- CreateNamespace=true
|