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
Nikolai Rodionov e60f35a6ae first commit
2023-02-18 18:44:13 +01:00

41 lines
1.2 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 -"
# ----------------------------
# -- Releases
# ----------------------------
metrics-server: &metrics-server
name: metrics-server
chart: metrics-server/metrics-server
version: 3.8.3
values:
- common/values.{{ .Release.Name }}.yaml
inherit:
- template: crd-management-hook
openvpn: &openvpn
name: openvpn
chart: allanger-charts/openvpn
version: 1.0.1
values:
- "{{ .Environment.Name }}/values/values.{{ .Release.Name }}.yaml"