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-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:
|
|
|
|
- chart: bedag/raw
|
|
|
|
version: 2.0.0
|
2023-07-29 16:57:03 +00:00
|
|
|
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-09-09 03:06:14 +00:00
|
|
|
version: 0.13.11
|
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-09-26 04:48:37 +00:00
|
|
|
version: 1.13.0
|
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-07-21 10:40:26 +00:00
|
|
|
version: 1.5.1
|
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
|
2023-09-26 04:48:37 +00:00
|
|
|
version: 5.46.7
|
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
|
2023-09-26 04:48:37 +00:00
|
|
|
version: 51.2.0
|
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
|
2023-09-26 04:48:37 +00:00
|
|
|
version: 5.23.0
|
2023-06-17 08:49:16 +00:00
|
|
|
inherit:
|
|
|
|
- template: monitoring-common
|
|
|
|
- template: default-env-values
|
|
|
|
|
|
|
|
promtail: &promtail
|
|
|
|
name: promtail
|
|
|
|
chart: grafana/promtail
|
2023-09-26 04:48:37 +00:00
|
|
|
version: 6.15.2
|
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-09-12 08:39:42 +00:00
|
|
|
version: 1.19.0
|
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
|
|
|
|
|
|
|
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
|
|
|
|
# ----------------------------
|
2023-02-18 17:46:04 +00:00
|
|
|
openvpn: &openvpn
|
|
|
|
name: openvpn
|
2023-08-16 18:55:56 +00:00
|
|
|
chart: allanger-gitea/openvpn
|
2023-08-24 19:34:15 +00:00
|
|
|
version: 1.0.6
|
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
|
|
|
|
version: 0.6.1
|
|
|
|
inherit:
|
|
|
|
- template: default-env-values
|
|
|
|
- template: default-env-secrets
|
|
|
|
- template: drone-common
|
2023-02-19 12:00:33 +00:00
|
|
|
|
2023-02-22 08:39:55 +00:00
|
|
|
nrodionov: &nrodionov
|
|
|
|
name: nrodionov
|
|
|
|
chart: bitnami/wordpress
|
2023-09-26 04:48:37 +00:00
|
|
|
version: 17.1.11
|
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-07-09 20:46:01 +00:00
|
|
|
version: 5.0.13
|
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
|
2023-09-26 04:48:37 +00:00
|
|
|
version: 4.10.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
|
2023-09-12 08:39:42 +00:00
|
|
|
version: 9.4.0
|
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-09-12 08:39:42 +00:00
|
|
|
version: 2.0.3
|
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-04-21 13:40:17 +00:00
|
|
|
mailu: &mailu
|
|
|
|
name: mailu
|
|
|
|
chart: mailu/mailu
|
2023-05-04 20:32:42 +00:00
|
|
|
version: 1.2.0
|
2023-04-21 13:40:17 +00:00
|
|
|
inherit:
|
|
|
|
- template: default-env-values
|
|
|
|
- template: default-env-secrets
|
|
|
|
- template: ext-istio-resource
|
2023-04-22 17:14:11 +00:00
|
|
|
- template: ext-certificate
|
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
|
2023-09-26 04:48:37 +00:00
|
|
|
version: 18.1.0
|
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
|
|
|
|
|
|
|
postgres: &postgres
|
|
|
|
name: postgres
|
|
|
|
chart: bitnami/postgresql
|
2023-09-26 04:48:37 +00:00
|
|
|
version: 12.12.7
|
2023-07-21 13:10:05 +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
|
2023-09-23 13:30:12 +00:00
|
|
|
version: 1.11.0
|
2023-07-21 14:06:38 +00:00
|
|
|
|
|
|
|
db-instances: &db-instances
|
|
|
|
name: db-instances
|
|
|
|
chart: db-operator/db-instances
|
|
|
|
version: 1.4.2
|
|
|
|
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
|
2023-09-26 04:48:37 +00:00
|
|
|
version: 9.12.3
|
2023-07-30 15:37:19 +00:00
|
|
|
inherit:
|
|
|
|
- template: default-env-values
|
|
|
|
- template: default-env-secrets
|