This repository has been archived on 2024-09-11. You can view files and clone it, but cannot push or open issues or pull requests.
k8s-cluster-config/releases.yaml

101 lines
2.6 KiB
YAML

---
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 -"
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"
# ----------------------------
# -- Releases
# ----------------------------
# -- System
# ----------------------------
metrics-server: &metrics-server
name: metrics-server
chart: metrics-server/metrics-server
version: 3.8.3
values:
- common/values.{{ .Release.Name }}.yaml
cert-manager: &cert-manager
name: cert-manager
chart: jetstack/cert-manager
version: 1.10.1
set:
- name: installCRDs
value: true
# ----------------------------
# -- Istio
# ----------------------------
istio-version:
version: 1.16.1
istio-base: &istio-base
name: istio-base
chart: istio/base
inherit:
- template: crd-management-hook
- template: istio-version
istio-gateway: &istio-gateway
name: istio-gateway
chart: istio/gateway
inherit:
- template: istio-version
- template: default-env-values
istiod: &istiod
name: istiod
chart: istio/istiod
inherit:
- template: istio-version
- template: default-env-values
# ----------------------------
# -- Applications
# ----------------------------
openvpn: &openvpn
name: openvpn
chart: allanger-charts/openvpn
version: 1.0.1
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