--- templates: # --------------------------- # -- Hooks # --------------------------- crd-management-hook: hooks: - events: ["preapply"] showlogs: true command: "sh" args: - -c - | helm show crds {{ .Release.Chart }} --version {{ .Release.Version }} | kubectl replace -f - \ || helm show crds {{ .Release.Chart }} --version {{ .Release.Version }} | kubectl create -f - \ || true - events: ["prepare"] showlogs: true command: "sh" args: - -c - "helm show crds {{ .Release.Chart }} --version {{ .Release.Version }} | kubectl diff -f - || true" - events: ["postuninstall"] showlogs: true command: "sh" args: - -c - "helm show crds {{ .Release.Chart }} --version {{ .Release.Version }} | kubectl delete -f - || true" # ---------------------------- # -- Configs # ---------------------------- default-common-values: values: - '{{ requiredEnv "PWD" }}/common/values.{{ .Release.Name }}.yaml' default-env-values: values: - '{{ requiredEnv "PWD" }}/{{ .Environment.Name }}/values/values.{{ .Release.Name }}.yaml' default-env-secrets: secrets: - '{{ requiredEnv "PWD" }}/{{ .Environment.Name }}/values/secrets.{{ .Release.Name }}.yaml' # ---------------------------- # -- Releases # ---------------------------- # -- System # ---------------------------- metrics-server: &metrics-server name: metrics-server chart: metrics-server/metrics-server version: 3.11.0 values: - common/values.{{ .Release.Name }}.yaml metallb: &metallb name: metallb chart: metallb/metallb version: 0.13.12 cert-manager: &cert-manager name: cert-manager chart: jetstack/cert-manager version: 1.13.1 set: - name: installCRDs value: true longhorn: &longhorn name: longhorn chart: longhorn/longhorn version: 1.5.1 inherit: - template: default-env-values argocd: &argocd name: argocd chart: argo/argo-cd version: 5.46.8 inherit: - template: default-env-values - template: default-env-secrets - template: ext-istio-resource monitoring-common: labels: bundle: monitoring prometheus: &prometheus name: prometheus chart: prometheus-community/kube-prometheus-stack version: 51.10.0 inherit: - template: monitoring-common - template: default-env-values - template: default-env-secrets - template: crd-management-hook - template: ext-istio-resource loki: &loki name: loki chart: grafana/loki version: 5.35.0 inherit: - template: monitoring-common - template: default-env-values promtail: &promtail name: promtail chart: grafana/promtail version: 6.15.3 inherit: - template: monitoring-common - template: default-env-values # ---------------------------- # -- Istio # ---------------------------- istio-common: labels: bundle: istio version: 1.19.3 istio-base: &istio-base name: istio-base chart: istio/base inherit: - template: crd-management-hook - template: istio-common istio-gateway: &istio-gateway name: istio-ingressgateway chart: istio/gateway inherit: - template: istio-common - template: default-env-values istio-gateway-resources: &istio-gateway-resources name: istio-gateway-resources chart: bedag/raw version: 2.0.0 inherit: - template: ext-istio-gateway - template: default-env-values istiod: &istiod name: istiod chart: istio/istiod inherit: - template: istio-common - template: default-env-values # ---------------------------- # -- Applications # ---------------------------- openvpn: &openvpn name: openvpn chart: allanger-gitea/openvpn version: 1.0.7 inherit: - template: default-env-values - template: ext-istio-resource # ---------------------------- # -- Drone # ---------------------------- drone-common: labels: bundle: drone drone: &drone name: drone chart: drone/drone version: 0.6.5 inherit: - template: default-env-values - template: default-env-secrets - template: ext-istio-resource - template: drone-common drone-runner-docker: &drone-runner-docker name: drone-runner-docker chart: drone/drone-runner-docker version: 0.6.1 inherit: - template: default-env-values - template: default-env-secrets - template: drone-common woodpecker-ci: &woodpecker-ci name: woodpecker-ci chart: woodpecker/woodpecker version: 0.4.2 inherit: - template: default-env-values - template: default-env-secrets - template: ext-istio-resource nrodionov: &nrodionov name: nrodionov chart: bitnami/wordpress version: 18.0.7 inherit: - template: default-env-values - template: default-env-secrets - template: ext-istio-resource - template: ext-database minio: &minio name: minio chart: minio/minio version: 5.0.14 inherit: - template: default-env-values - template: default-env-secrets - template: ext-istio-resource minecraft: &minecraft name: minecraft chart: minecraft-server-charts/minecraft version: 4.11.0 inherit: - template: default-env-values - template: default-env-secrets - template: ext-istio-resource gitea: &gitea name: gitea chart: gitea/gitea version: 9.5.1 inherit: - template: default-env-values - template: default-env-secrets - template: ext-istio-resource - template: ext-database funkwhale: &funkwhale name: funkwhale chart: ananace-charts/funkwhale version: 2.0.3 inherit: - template: default-env-values - template: default-env-secrets - template: ext-istio-resource - template: ext-database mailu: &mailu name: mailu chart: mailu/mailu version: 1.2.0 inherit: - template: default-env-values - template: default-env-secrets - template: ext-istio-resource - template: ext-certificate bitwarden: &bitwarden name: bitwarden chart: bitwarden/vaultwarden version: 0.1.7 inherit: - template: default-env-values - template: default-env-secrets - template: ext-istio-resource redis: &redis name: redis chart: bitnami/redis version: 18.1.6 inherit: - template: default-env-values - template: default-env-secrets postgres16: &postgres16 name: postgres16 chart: bitnami/postgresql version: 13.1.5 inherit: - template: default-env-values - template: default-env-secrets db-operator: &db-operator name: db-operator chart: db-operator/db-operator version: 1.11.2 db-instances: &db-instances name: db-instances chart: db-operator/db-instances version: 1.4.2 inherit: - template: default-env-values - template: default-env-secrets mysql: &mysql name: mysql chart: bitnami/mysql version: 9.12.5 inherit: - template: default-env-values - template: default-env-secrets docker-mailserver: &docker-mailserver name: docker-mailserver chart: allanger-gitea/docker-mailserver version: 2.1.3 inherit: - template: default-env-values - template: ext-istio-gateway - template: ext-istio-resource vaultwarden: &vaultwarden name: vaultwarden chart: badhouseplants/vaultwarden version: 1.0.0 inherit: - template: default-env-values - template: default-env-secrets - template: ext-istio-resource - template: ext-database