2023-02-18 17:46:04 +00:00
|
|
|
---
|
|
|
|
templates:
|
|
|
|
crd-management-hook:
|
|
|
|
hooks:
|
|
|
|
- events: ["preapply"]
|
|
|
|
showlogs: true
|
|
|
|
command: "sh"
|
|
|
|
args:
|
|
|
|
- -c
|
|
|
|
- "helm show crds {{ .Release.Chart }} --version {{ .Release.Version }}| kubectl apply -f -"
|
|
|
|
- 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 -"
|
2023-02-19 12:00:33 +00:00
|
|
|
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"
|
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
|
|
|
|
version: 3.8.3
|
|
|
|
values:
|
|
|
|
- common/values.{{ .Release.Name }}.yaml
|
|
|
|
|
2023-02-18 20:41:31 +00:00
|
|
|
cert-manager: &cert-manager
|
|
|
|
name: cert-manager
|
|
|
|
chart: jetstack/cert-manager
|
|
|
|
version: 1.10.1
|
2023-02-18 21:04:33 +00:00
|
|
|
set:
|
|
|
|
- name: installCRDs
|
|
|
|
value: true
|
2023-02-22 08:39:55 +00:00
|
|
|
longhorn: &longhorn
|
|
|
|
name: longhorn
|
|
|
|
chart: longhorn/longhorn
|
|
|
|
version: 1.4.0
|
|
|
|
inherit:
|
|
|
|
- template: default-env-values
|
2023-02-22 12:52:46 +00:00
|
|
|
|
|
|
|
argocd: &argocd
|
|
|
|
name: argocd
|
|
|
|
chart: argo/argo-cd
|
|
|
|
version: 5.20.2
|
|
|
|
inherit:
|
|
|
|
- template: default-env-values
|
|
|
|
- template: default-env-secrets
|
2023-02-19 10:18:26 +00:00
|
|
|
# ----------------------------
|
|
|
|
# -- Istio
|
|
|
|
# ----------------------------
|
|
|
|
istio-version:
|
|
|
|
version: 1.16.1
|
2023-02-22 08:39:55 +00:00
|
|
|
|
2023-02-18 21:04:33 +00:00
|
|
|
istio-base: &istio-base
|
|
|
|
name: istio-base
|
|
|
|
chart: istio/base
|
2023-02-18 20:41:31 +00:00
|
|
|
inherit:
|
|
|
|
- template: crd-management-hook
|
2023-02-19 10:18:26 +00:00
|
|
|
- template: istio-version
|
|
|
|
|
|
|
|
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:
|
|
|
|
- template: istio-version
|
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:
|
|
|
|
- template: istio-version
|
2023-02-19 12:00:33 +00:00
|
|
|
- template: default-env-values
|
|
|
|
|
|
|
|
# ----------------------------
|
|
|
|
# -- 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
|
|
|
|
|
|
|
|
drone: &drone
|
|
|
|
name: drone
|
|
|
|
chart: drone/drone
|
|
|
|
version: 0.6.4
|
|
|
|
inherit:
|
|
|
|
- template: default-env-values
|
|
|
|
- template: default-env-secrets
|
|
|
|
|
|
|
|
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-02-22 08:39:55 +00:00
|
|
|
nrodionov: &nrodionov
|
|
|
|
name: nrodionov
|
|
|
|
chart: bitnami/wordpress
|
|
|
|
version: 15.2.22
|
|
|
|
inherit:
|
|
|
|
- template: default-env-values
|
|
|
|
- template: default-env-secrets
|
|
|
|
|
|
|
|
minio: &minio
|
|
|
|
name: minio
|
|
|
|
chart: minio/minio
|
|
|
|
version: 5.0.4
|
|
|
|
inherit:
|
|
|
|
- template: default-env-values
|
|
|
|
- template: default-env-secrets
|
|
|
|
|
|
|
|
minecraft: &minecraft
|
|
|
|
name: minecraft
|
|
|
|
chart: minecraft-server-charts/minecraft
|
|
|
|
version: 4.4.0
|
|
|
|
inherit:
|
|
|
|
- template: default-env-values
|
|
|
|
|
|
|
|
gitea: &gitea
|
|
|
|
name: gitea
|
|
|
|
chart: gitea/gitea
|
|
|
|
version: 7.0.2
|
|
|
|
inherit:
|
|
|
|
- template: default-env-values
|
|
|
|
- template: default-env-secrets
|
|
|
|
|
|
|
|
funkwhale: &funkwhale
|
|
|
|
name: funkwhale
|
|
|
|
chart: ananace-charts/funkwhale
|
|
|
|
version: 1.0.0
|
|
|
|
inherit:
|
|
|
|
- template: default-env-values
|
|
|
|
- template: default-env-secrets
|
2023-02-19 12:00:33 +00:00
|
|
|
|