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-02-18 17:46:04 +00:00
|
|
|
- "helm show crds {{ .Release.Chart }} --version {{ .Release.Version }}| kubectl apply -f -"
|
|
|
|
- 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-02-18 17:46:04 +00:00
|
|
|
- "helm show crds {{ .Release.Chart }} --version {{ .Release.Version }} | kubectl delete -f -"
|
2023-02-26 17:38:07 +00:00
|
|
|
# ----------------------------
|
|
|
|
# -- Configs
|
|
|
|
# ----------------------------
|
2023-03-05 17:50:13 +00:00
|
|
|
default-common-values:
|
|
|
|
values:
|
|
|
|
- '{{ requiredEnv "PWD" }}/commmon/values.{{ .Release.Name }}.yaml'
|
|
|
|
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
|
|
|
|
values:
|
2023-03-05 17:50:13 +00:00
|
|
|
- '{{ requiredEnv "PWD" }}/common/values.ns.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-04-16 16:04:22 +00:00
|
|
|
version: 3.10.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
|
|
|
|
version: 0.13.9
|
|
|
|
|
2023-02-18 20:41:31 +00:00
|
|
|
cert-manager: &cert-manager
|
|
|
|
name: cert-manager
|
|
|
|
chart: jetstack/cert-manager
|
2023-05-13 14:36:29 +00:00
|
|
|
version: 1.11.2
|
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-05-13 14:36:29 +00:00
|
|
|
version: 1.4.2
|
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-05-13 14:36:29 +00:00
|
|
|
version: 5.33.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-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-04-06 08:18:39 +00:00
|
|
|
version: 1.17.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-02-19 13:22:48 +00:00
|
|
|
version: 1.0.3
|
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-02-19 12:00:33 +00:00
|
|
|
drone-runner-kube: &drone-runner-kube
|
|
|
|
name: drone-runner-kube
|
|
|
|
chart: drone/drone-runner-kube
|
|
|
|
version: 0.1.10
|
|
|
|
inherit:
|
|
|
|
- template: default-env-values
|
|
|
|
- template: default-env-secrets
|
2023-05-18 17:58:57 +00:00
|
|
|
- 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
|
2023-02-19 12:00:33 +00:00
|
|
|
|
2023-02-22 08:39:55 +00:00
|
|
|
nrodionov: &nrodionov
|
|
|
|
name: nrodionov
|
|
|
|
chart: bitnami/wordpress
|
2023-05-13 14:36:29 +00:00
|
|
|
version: 16.1.2
|
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-03-05 17:50:13 +00:00
|
|
|
|
2023-02-22 08:39:55 +00:00
|
|
|
minio: &minio
|
|
|
|
name: minio
|
|
|
|
chart: minio/minio
|
2023-05-04 20:32:42 +00:00
|
|
|
version: 5.0.9
|
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-03-05 17:50:13 +00:00
|
|
|
|
2023-02-22 08:39:55 +00:00
|
|
|
minecraft: &minecraft
|
|
|
|
name: minecraft
|
|
|
|
chart: minecraft-server-charts/minecraft
|
2023-04-24 05:37:36 +00:00
|
|
|
version: 4.7.4
|
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-03-05 17:50:13 +00:00
|
|
|
|
2023-02-22 08:39:55 +00:00
|
|
|
gitea: &gitea
|
|
|
|
name: gitea
|
|
|
|
chart: gitea/gitea
|
2023-05-04 20:32:42 +00:00
|
|
|
version: 8.3.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-02-22 08:39:55 +00:00
|
|
|
|
|
|
|
funkwhale: &funkwhale
|
|
|
|
name: funkwhale
|
|
|
|
chart: ananace-charts/funkwhale
|
2023-03-21 17:07:04 +00:00
|
|
|
version: 1.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-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
|