This repository has been archived on 2023-02-17. You can view files and clone it, but cannot push or open issues or pull requests.
helmfile-vs-argo/releases.yaml

36 lines
982 B
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 -"
vpa: &vpa
name: vpa
chart: fairwinds-stable/vpa
version: 1.6.0
values:
- common/{{ .Release.Name }}/values.yaml
inherit:
template: crd-management-hook
goldilocks: &goldilocks
name: goldilocks
chart: fairwinds-stable/goldilocks
version: 6.5.0