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-06-02 15:12:23 +00:00
|
|
|
version: 0.13.10
|
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-07-30 14:19:00 +00:00
|
|
|
version: 1.12.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-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-08-14 09:31:49 +00:00
|
|
|
version: 5.42.3
|
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-08-06 18:29:24 +00:00
|
|
|
version: 48.3.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
|
2023-08-06 18:29:24 +00:00
|
|
|
version: 5.10.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-08-06 18:29:24 +00:00
|
|
|
version: 6.14.1
|
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-07-30 14:19:00 +00:00
|
|
|
version: 1.18.2
|
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
|
|
|
|
chart: allanger-charts/openvpn
|
2023-08-09 17:22:12 +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
|
|
|
|
version: 0.6.4
|
|
|
|
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-08-14 09:31:49 +00:00
|
|
|
version: 17.0.5
|
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-07-09 20:47:04 +00:00
|
|
|
version: 4.9.3
|
2023-02-22 08:39:55 +00:00
|
|
|
inherit:
|
|
|
|
- template: default-env-values
|
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-08-01 07:35:34 +00:00
|
|
|
version: 9.1.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-07-04 09:30:13 +00:00
|
|
|
version: 2.0.1
|
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-08-14 09:31:49 +00:00
|
|
|
version: 17.15.2
|
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-08-14 09:31:49 +00:00
|
|
|
version: 12.8.2
|
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-08-14 09:31:49 +00:00
|
|
|
version: 1.9.2
|
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-08-06 18:29:24 +00:00
|
|
|
version: 9.10.10
|
2023-07-30 15:37:19 +00:00
|
|
|
inherit:
|
|
|
|
- template: default-env-values
|
|
|
|
- template: default-env-secrets
|