2023-02-18 17:46:04 +00:00
|
|
|
---
|
|
|
|
templates:
|
2023-02-26 17:38:07 +00:00
|
|
|
# ---------------------------
|
|
|
|
# -- Hooks
|
|
|
|
# ---------------------------
|
2023-02-18 17:46:04 +00:00
|
|
|
crd-management-hook:
|
2023-03-05 17:50:13 +00:00
|
|
|
hooks:
|
2023-02-18 17:46:04 +00:00
|
|
|
- events: ["preapply"]
|
|
|
|
showlogs: true
|
|
|
|
command: "sh"
|
2023-03-05 17:50:13 +00:00
|
|
|
args:
|
|
|
|
- -c
|
2023-07-09 15:54:13 +00:00
|
|
|
- |
|
2023-03-07 17:03:39 +00:00
|
|
|
helm show crds {{ .Release.Chart }} --version {{ .Release.Version }} | kubectl replace -f - \
|
|
|
|
|| helm show crds {{ .Release.Chart }} --version {{ .Release.Version }} | kubectl create -f - \
|
|
|
|
|| true
|
2023-02-18 17:46:04 +00:00
|
|
|
- events: ["prepare"]
|
|
|
|
showlogs: true
|
|
|
|
command: "sh"
|
2023-03-05 17:50:13 +00:00
|
|
|
args:
|
|
|
|
- -c
|
2023-02-18 17:46:04 +00:00
|
|
|
- "helm show crds {{ .Release.Chart }} --version {{ .Release.Version }} | kubectl diff -f - || true"
|
|
|
|
- events: ["postuninstall"]
|
|
|
|
showlogs: true
|
|
|
|
command: "sh"
|
2023-03-05 17:50:13 +00:00
|
|
|
args:
|
|
|
|
- -c
|
2023-03-07 17:03:39 +00:00
|
|
|
- "helm show crds {{ .Release.Chart }} --version {{ .Release.Version }} | kubectl delete -f - || true"
|
2023-02-26 17:38:07 +00:00
|
|
|
# ----------------------------
|
|
|
|
# -- Configs
|
|
|
|
# ----------------------------
|
2023-03-05 17:50:13 +00:00
|
|
|
default-common-values:
|
|
|
|
values:
|
2023-03-07 17:03:39 +00:00
|
|
|
- '{{ requiredEnv "PWD" }}/common/values.{{ .Release.Name }}.yaml'
|
2023-03-05 17:50:13 +00:00
|
|
|
default-env-values:
|
|
|
|
values:
|
|
|
|
- '{{ requiredEnv "PWD" }}/{{ .Environment.Name }}/values/values.{{ .Release.Name }}.yaml'
|
2023-02-19 12:00:33 +00:00
|
|
|
default-env-secrets:
|
2023-03-05 17:50:13 +00:00
|
|
|
secrets:
|
|
|
|
- '{{ requiredEnv "PWD" }}/{{ .Environment.Name }}/values/secrets.{{ .Release.Name }}.yaml'
|
2023-02-18 17:46:04 +00:00
|
|
|
# ----------------------------
|
2023-02-26 17:38:07 +00:00
|
|
|
# -- Extensions
|
|
|
|
# ----------------------------
|
2023-10-14 14:24:13 +00:00
|
|
|
ext-istio-gateway:
|
|
|
|
dependencies:
|
|
|
|
- chart: bedag/raw
|
|
|
|
version: 2.0.0
|
2023-10-17 12:56:57 +00:00
|
|
|
alias: istio-gateway
|
2023-10-14 14:24:13 +00:00
|
|
|
values:
|
|
|
|
- '{{ requiredEnv "PWD" }}/common/values.istio-gateway.yaml'
|
|
|
|
|
2023-04-17 08:15:08 +00:00
|
|
|
ext-istio-resource:
|
2023-02-26 17:38:07 +00:00
|
|
|
dependencies:
|
|
|
|
- chart: bedag/raw
|
|
|
|
version: 2.0.0
|
|
|
|
alias: istio
|
2023-04-17 08:15:08 +00:00
|
|
|
values:
|
|
|
|
- '{{ requiredEnv "PWD" }}/common/values.istio.yaml'
|
2023-04-22 17:14:11 +00:00
|
|
|
ext-certificate:
|
|
|
|
dependencies:
|
|
|
|
- chart: bedag/raw
|
|
|
|
version: 2.0.0
|
|
|
|
alias: certificate
|
|
|
|
values:
|
|
|
|
- '{{ requiredEnv "PWD" }}/common/values.certificate.yaml'
|
|
|
|
|
2023-03-14 14:40:09 +00:00
|
|
|
service-monitor:
|
|
|
|
dependencies:
|
|
|
|
- chart: bedag/raw
|
|
|
|
version: 2.0.0
|
|
|
|
alias: service-monitor
|
|
|
|
values:
|
|
|
|
- '{{ requiredEnv "PWD" }}/common/values.service-monitor.yaml'
|
2023-02-26 17:38:07 +00:00
|
|
|
namespace:
|
2023-03-05 17:50:13 +00:00
|
|
|
dependencies:
|
2023-02-26 17:38:07 +00:00
|
|
|
- chart: bedag/raw
|
|
|
|
version: 2.0.0
|
|
|
|
alias: ns
|
2023-03-07 17:03:39 +00:00
|
|
|
inherit:
|
|
|
|
- template: default-common-values
|
|
|
|
- template: default-env-values
|
2023-07-26 19:06:07 +00:00
|
|
|
|
|
|
|
ext-database:
|
|
|
|
dependencies:
|
2023-11-26 09:34:11 +00:00
|
|
|
- chart: bedag/raw
|
|
|
|
version: 2.0.0
|
|
|
|
alias: ext-database
|
2023-07-26 19:06:07 +00:00
|
|
|
values:
|
|
|
|
- '{{ requiredEnv "PWD" }}/common/values.database.yaml'
|
2023-02-26 17:38:07 +00:00
|
|
|
# ----------------------------
|
2023-02-18 17:46:04 +00:00
|
|
|
# -- Releases
|
|
|
|
# ----------------------------
|
2023-02-19 12:00:33 +00:00
|
|
|
# -- System
|
|
|
|
# ----------------------------
|
2023-02-18 17:46:04 +00:00
|
|
|
metrics-server: &metrics-server
|
|
|
|
name: metrics-server
|
|
|
|
chart: metrics-server/metrics-server
|
2023-08-06 18:29:24 +00:00
|
|
|
version: 3.11.0
|
2023-02-18 17:46:04 +00:00
|
|
|
values:
|
|
|
|
- common/values.{{ .Release.Name }}.yaml
|
|
|
|
|
2023-04-28 15:39:56 +00:00
|
|
|
metallb: &metallb
|
|
|
|
name: metallb
|
|
|
|
chart: metallb/metallb
|
2023-10-22 11:17:16 +00:00
|
|
|
version: 0.13.12
|
2023-04-28 15:39:56 +00:00
|
|
|
|
2023-02-18 20:41:31 +00:00
|
|
|
cert-manager: &cert-manager
|
|
|
|
name: cert-manager
|
|
|
|
chart: jetstack/cert-manager
|
2023-12-13 08:47:00 +00:00
|
|
|
version: 1.13.3
|
2023-03-05 17:50:13 +00:00
|
|
|
set:
|
2023-02-18 21:04:33 +00:00
|
|
|
- name: installCRDs
|
|
|
|
value: true
|
2023-02-22 08:39:55 +00:00
|
|
|
longhorn: &longhorn
|
|
|
|
name: longhorn
|
|
|
|
chart: longhorn/longhorn
|
2023-11-17 10:01:25 +00:00
|
|
|
version: 1.5.3
|
2023-02-22 08:39:55 +00:00
|
|
|
inherit:
|
|
|
|
- template: default-env-values
|
2023-02-22 12:52:46 +00:00
|
|
|
|
|
|
|
argocd: &argocd
|
|
|
|
name: argocd
|
|
|
|
chart: argo/argo-cd
|
2024-01-01 12:50:42 +00:00
|
|
|
version: 5.52.0
|
2023-02-22 12:52:46 +00:00
|
|
|
inherit:
|
|
|
|
- template: default-env-values
|
|
|
|
- template: default-env-secrets
|
2023-04-17 09:10:48 +00:00
|
|
|
- template: ext-istio-resource
|
2023-07-15 15:29:53 +00:00
|
|
|
|
2023-06-17 08:49:16 +00:00
|
|
|
monitoring-common:
|
2023-07-15 15:29:53 +00:00
|
|
|
labels:
|
2023-06-17 08:49:16 +00:00
|
|
|
bundle: monitoring
|
2023-03-07 17:03:39 +00:00
|
|
|
|
|
|
|
prometheus: &prometheus
|
|
|
|
name: prometheus
|
|
|
|
chart: prometheus-community/kube-prometheus-stack
|
2024-01-01 12:50:42 +00:00
|
|
|
version: 55.5.1
|
2023-03-07 17:03:39 +00:00
|
|
|
inherit:
|
2023-06-17 08:49:16 +00:00
|
|
|
- template: monitoring-common
|
2023-03-07 17:03:39 +00:00
|
|
|
- template: default-env-values
|
|
|
|
- template: default-env-secrets
|
|
|
|
- template: crd-management-hook
|
|
|
|
- template: ext-istio-resource
|
2023-07-15 15:29:53 +00:00
|
|
|
|
2023-06-17 08:49:16 +00:00
|
|
|
loki: &loki
|
|
|
|
name: loki
|
|
|
|
chart: grafana/loki
|
2024-01-01 12:50:42 +00:00
|
|
|
version: 5.41.4
|
2023-06-17 08:49:16 +00:00
|
|
|
inherit:
|
|
|
|
- template: monitoring-common
|
|
|
|
- template: default-env-values
|
|
|
|
|
|
|
|
promtail: &promtail
|
|
|
|
name: promtail
|
|
|
|
chart: grafana/promtail
|
2023-10-20 19:42:57 +00:00
|
|
|
version: 6.15.3
|
2023-06-17 08:49:16 +00:00
|
|
|
inherit:
|
|
|
|
- template: monitoring-common
|
|
|
|
- template: default-env-values
|
2023-02-19 10:18:26 +00:00
|
|
|
# ----------------------------
|
|
|
|
# -- Istio
|
|
|
|
# ----------------------------
|
2023-02-26 17:38:07 +00:00
|
|
|
istio-common:
|
2023-03-05 17:50:13 +00:00
|
|
|
labels:
|
2023-02-26 17:38:07 +00:00
|
|
|
bundle: istio
|
2023-12-13 08:47:00 +00:00
|
|
|
version: 1.20.1
|
2023-03-05 17:50:13 +00:00
|
|
|
|
2023-02-18 21:04:33 +00:00
|
|
|
istio-base: &istio-base
|
|
|
|
name: istio-base
|
|
|
|
chart: istio/base
|
2023-03-05 17:50:13 +00:00
|
|
|
inherit:
|
2023-02-18 20:41:31 +00:00
|
|
|
- template: crd-management-hook
|
2023-02-26 17:38:07 +00:00
|
|
|
- template: istio-common
|
2023-02-19 10:18:26 +00:00
|
|
|
|
|
|
|
istio-gateway: &istio-gateway
|
2023-02-19 13:22:48 +00:00
|
|
|
name: istio-ingressgateway
|
2023-02-19 10:18:26 +00:00
|
|
|
chart: istio/gateway
|
|
|
|
inherit:
|
2023-02-26 17:38:07 +00:00
|
|
|
- template: istio-common
|
2023-02-19 12:00:33 +00:00
|
|
|
- template: default-env-values
|
2023-02-19 10:18:26 +00:00
|
|
|
|
2023-10-17 12:56:57 +00:00
|
|
|
istio-gateway-resources: &istio-gateway-resources
|
|
|
|
name: istio-gateway-resources
|
|
|
|
chart: bedag/raw
|
|
|
|
version: 2.0.0
|
|
|
|
inherit:
|
|
|
|
- template: ext-istio-gateway
|
2023-12-07 12:34:01 +00:00
|
|
|
- template: ext-certificate
|
2023-10-17 12:56:57 +00:00
|
|
|
- template: default-env-values
|
|
|
|
|
2023-02-19 10:18:26 +00:00
|
|
|
istiod: &istiod
|
|
|
|
name: istiod
|
|
|
|
chart: istio/istiod
|
|
|
|
inherit:
|
2023-02-26 17:38:07 +00:00
|
|
|
- template: istio-common
|
2023-02-19 12:00:33 +00:00
|
|
|
- template: default-env-values
|
2023-03-05 17:50:13 +00:00
|
|
|
|
2023-02-19 12:00:33 +00:00
|
|
|
# ----------------------------
|
|
|
|
# -- Applications
|
|
|
|
# ----------------------------
|
2024-01-01 12:50:42 +00:00
|
|
|
openvpn-xor: &openvpn-xor
|
|
|
|
name: openvpn-xor
|
|
|
|
chart: allanger-gitea/openvpn-xor
|
|
|
|
version: 1.1.0
|
|
|
|
inherit:
|
|
|
|
- template: default-env-values
|
|
|
|
- template: ext-istio-resource
|
|
|
|
|
2023-02-18 17:46:04 +00:00
|
|
|
openvpn: &openvpn
|
|
|
|
name: openvpn
|
2023-08-16 18:55:56 +00:00
|
|
|
chart: allanger-gitea/openvpn
|
2024-01-01 12:50:42 +00:00
|
|
|
version: 1.0.8
|
2023-02-19 12:00:33 +00:00
|
|
|
inherit:
|
|
|
|
- template: default-env-values
|
2023-04-17 09:10:48 +00:00
|
|
|
- template: ext-istio-resource
|
2023-05-18 17:58:57 +00:00
|
|
|
# ----------------------------
|
|
|
|
# -- Drone
|
|
|
|
# ----------------------------
|
|
|
|
drone-common:
|
|
|
|
labels:
|
|
|
|
bundle: drone
|
2023-02-19 12:00:33 +00:00
|
|
|
drone: &drone
|
|
|
|
name: drone
|
|
|
|
chart: drone/drone
|
2023-09-08 22:08:38 +00:00
|
|
|
version: 0.6.5
|
2023-02-19 12:00:33 +00:00
|
|
|
inherit:
|
|
|
|
- template: default-env-values
|
|
|
|
- template: default-env-secrets
|
2023-04-17 09:10:48 +00:00
|
|
|
- template: ext-istio-resource
|
2023-05-18 17:58:57 +00:00
|
|
|
- template: drone-common
|
2023-03-05 17:50:13 +00:00
|
|
|
|
2023-05-18 17:58:57 +00:00
|
|
|
drone-runner-docker: &drone-runner-docker
|
|
|
|
name: drone-runner-docker
|
|
|
|
chart: drone/drone-runner-docker
|
2023-11-17 10:07:29 +00:00
|
|
|
version: 0.6.2
|
2023-05-18 17:58:57 +00:00
|
|
|
inherit:
|
|
|
|
- template: default-env-values
|
|
|
|
- template: default-env-secrets
|
|
|
|
- template: drone-common
|
2023-02-19 12:00:33 +00:00
|
|
|
|
2023-10-05 08:07:25 +00:00
|
|
|
woodpecker-ci: &woodpecker-ci
|
|
|
|
name: woodpecker-ci
|
|
|
|
chart: woodpecker/woodpecker
|
2024-01-01 12:50:42 +00:00
|
|
|
version: 1.0.3
|
2023-10-05 08:07:25 +00:00
|
|
|
inherit:
|
2023-12-08 13:10:32 +00:00
|
|
|
- template: ext-database
|
2023-10-05 08:07:25 +00:00
|
|
|
- template: default-env-values
|
|
|
|
- template: default-env-secrets
|
|
|
|
- template: ext-istio-resource
|
|
|
|
|
2023-02-22 08:39:55 +00:00
|
|
|
nrodionov: &nrodionov
|
|
|
|
name: nrodionov
|
|
|
|
chart: bitnami/wordpress
|
2024-01-01 12:50:42 +00:00
|
|
|
version: 19.0.4
|
2023-02-22 08:39:55 +00:00
|
|
|
inherit:
|
|
|
|
- template: default-env-values
|
|
|
|
- template: default-env-secrets
|
2023-04-17 09:10:48 +00:00
|
|
|
- template: ext-istio-resource
|
2023-07-30 15:37:19 +00:00
|
|
|
- template: ext-database
|
2023-04-17 09:10:48 +00:00
|
|
|
|
2023-02-22 08:39:55 +00:00
|
|
|
minio: &minio
|
|
|
|
name: minio
|
|
|
|
chart: minio/minio
|
2023-10-03 08:53:34 +00:00
|
|
|
version: 5.0.14
|
2023-02-22 08:39:55 +00:00
|
|
|
inherit:
|
|
|
|
- template: default-env-values
|
|
|
|
- template: default-env-secrets
|
2023-04-17 09:10:48 +00:00
|
|
|
- template: ext-istio-resource
|
|
|
|
|
2023-02-22 08:39:55 +00:00
|
|
|
minecraft: &minecraft
|
|
|
|
name: minecraft
|
|
|
|
chart: minecraft-server-charts/minecraft
|
2024-01-01 12:50:42 +00:00
|
|
|
version: 4.14.0
|
2023-02-22 08:39:55 +00:00
|
|
|
inherit:
|
|
|
|
- template: default-env-values
|
2023-08-15 15:25:31 +00:00
|
|
|
- template: default-env-secrets
|
2023-04-17 09:10:48 +00:00
|
|
|
- template: ext-istio-resource
|
|
|
|
|
2023-02-22 08:39:55 +00:00
|
|
|
gitea: &gitea
|
|
|
|
name: gitea
|
|
|
|
chart: gitea/gitea
|
2024-01-01 12:50:42 +00:00
|
|
|
version: 10.0.2
|
2023-03-05 17:50:13 +00:00
|
|
|
inherit:
|
2023-02-22 08:39:55 +00:00
|
|
|
- template: default-env-values
|
|
|
|
- template: default-env-secrets
|
2023-04-17 08:15:08 +00:00
|
|
|
- template: ext-istio-resource
|
2023-07-26 19:06:07 +00:00
|
|
|
- template: ext-database
|
2023-02-22 08:39:55 +00:00
|
|
|
|
|
|
|
funkwhale: &funkwhale
|
|
|
|
name: funkwhale
|
|
|
|
chart: ananace-charts/funkwhale
|
2023-12-13 08:47:00 +00:00
|
|
|
version: 2.0.5
|
2023-03-05 17:50:13 +00:00
|
|
|
inherit:
|
2023-02-22 08:39:55 +00:00
|
|
|
- template: default-env-values
|
|
|
|
- template: default-env-secrets
|
2023-04-17 09:10:48 +00:00
|
|
|
- template: ext-istio-resource
|
2023-07-29 16:57:03 +00:00
|
|
|
- template: ext-database
|
2023-04-17 09:10:48 +00:00
|
|
|
|
2023-07-16 19:52:44 +00:00
|
|
|
bitwarden: &bitwarden
|
|
|
|
name: bitwarden
|
|
|
|
chart: bitwarden/vaultwarden
|
|
|
|
version: 0.1.7
|
|
|
|
inherit:
|
|
|
|
- template: default-env-values
|
|
|
|
- template: default-env-secrets
|
2023-07-21 10:40:26 +00:00
|
|
|
- template: ext-istio-resource
|
2023-07-21 12:14:33 +00:00
|
|
|
|
|
|
|
redis: &redis
|
|
|
|
name: redis
|
|
|
|
chart: bitnami/redis
|
2024-01-01 12:50:42 +00:00
|
|
|
version: 18.6.1
|
2023-07-21 12:14:33 +00:00
|
|
|
inherit:
|
2023-07-21 13:10:05 +00:00
|
|
|
- template: default-env-values
|
2023-07-29 17:33:18 +00:00
|
|
|
- template: default-env-secrets
|
2023-07-21 13:10:05 +00:00
|
|
|
|
2023-10-04 02:34:39 +00:00
|
|
|
postgres16: &postgres16
|
|
|
|
name: postgres16
|
|
|
|
chart: bitnami/postgresql
|
2024-01-01 12:50:42 +00:00
|
|
|
version: 13.2.27
|
2023-10-04 02:34:39 +00:00
|
|
|
inherit:
|
|
|
|
- template: default-env-values
|
|
|
|
- template: default-env-secrets
|
|
|
|
|
2023-07-21 13:31:26 +00:00
|
|
|
db-operator: &db-operator
|
|
|
|
name: db-operator
|
|
|
|
chart: db-operator/db-operator
|
2024-01-03 20:01:47 +00:00
|
|
|
version: 1.16.2
|
2023-07-21 14:06:38 +00:00
|
|
|
|
|
|
|
db-instances: &db-instances
|
|
|
|
name: db-instances
|
|
|
|
chart: db-operator/db-instances
|
2024-01-01 12:50:42 +00:00
|
|
|
version: 2.2.0
|
2023-07-21 14:06:38 +00:00
|
|
|
inherit:
|
|
|
|
- template: default-env-values
|
2023-07-29 20:17:42 +00:00
|
|
|
- template: default-env-secrets
|
2023-07-30 15:37:19 +00:00
|
|
|
|
|
|
|
mysql: &mysql
|
|
|
|
name: mysql
|
|
|
|
chart: bitnami/mysql
|
2024-01-01 12:50:42 +00:00
|
|
|
version: 9.16.1
|
2023-07-30 15:37:19 +00:00
|
|
|
inherit:
|
|
|
|
- template: default-env-values
|
|
|
|
- template: default-env-secrets
|
2023-10-14 14:24:13 +00:00
|
|
|
|
|
|
|
docker-mailserver: &docker-mailserver
|
|
|
|
name: docker-mailserver
|
|
|
|
chart: allanger-gitea/docker-mailserver
|
2023-10-30 12:26:00 +00:00
|
|
|
version: 2.2.0
|
2023-10-14 14:24:13 +00:00
|
|
|
inherit:
|
|
|
|
- template: default-env-values
|
|
|
|
- template: ext-istio-gateway
|
|
|
|
- template: ext-istio-resource
|
|
|
|
|
2023-10-20 19:42:57 +00:00
|
|
|
vaultwarden: &vaultwarden
|
|
|
|
name: vaultwarden
|
2024-01-03 13:55:12 +00:00
|
|
|
chart: allanger-gitea/vaultwarden
|
|
|
|
version: 1.1.0
|
2023-10-20 19:42:57 +00:00
|
|
|
inherit:
|
|
|
|
- template: default-env-values
|
|
|
|
- template: default-env-secrets
|
|
|
|
- template: ext-istio-resource
|
|
|
|
- template: ext-database
|
2023-12-24 13:48:53 +00:00
|
|
|
|
|
|
|
reflector: &reflector
|
2023-12-24 14:09:37 +00:00
|
|
|
name: reflector
|
|
|
|
chart: emberstack/reflector
|
|
|
|
version: 7.1.216
|