Install VPA and Goldilocks
This commit is contained in:
parent
3c951be2fc
commit
5780deca8d
|
@ -5,3 +5,8 @@ bases:
|
|||
- ../environments.yaml
|
||||
- ../repositories.yaml
|
||||
|
||||
releases:
|
||||
- <<: *goldilocks
|
||||
installed: true
|
||||
namespace: vpa-system
|
||||
|
||||
|
|
|
@ -5,3 +5,7 @@ bases:
|
|||
- ../environments.yaml
|
||||
- ../repositories.yaml
|
||||
|
||||
releases:
|
||||
- <<: *goldilocks
|
||||
installed: true
|
||||
namespace: vpa-system
|
||||
|
|
|
@ -0,0 +1,2 @@
|
|||
updater:
|
||||
enabled: false
|
|
@ -6,6 +6,10 @@ bases:
|
|||
- repositories.yaml
|
||||
|
||||
releases:
|
||||
- <<: *vpa
|
||||
installed: true
|
||||
namespace: vpa-system
|
||||
createNamespace: true
|
||||
|
||||
helmfiles:
|
||||
- path: {{.Environment.Name }}/helmfile.yaml
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
templates:
|
||||
crd-management-hook: &crd-management-hook
|
||||
crd-management-hook:
|
||||
hooks:
|
||||
- events: ["preapply"]
|
||||
showlogs: true
|
||||
|
@ -20,12 +20,16 @@ templates:
|
|||
args:
|
||||
- -c
|
||||
- "helm show crds {{ .Release.Chart }} --version {{ .Release.Version }} | kubectl delete -f -"
|
||||
helm-vendor-hook: &helm-vendor-hook
|
||||
hooks:
|
||||
- events: ["prepare"]
|
||||
showlogs: false
|
||||
command: "sh"
|
||||
args:
|
||||
- -c
|
||||
- "make vendor_chart chart={{ .Release.Chart }} version={{ .Release.Version }}"
|
||||
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
|
||||
|
||||
|
|
|
@ -1,2 +1,4 @@
|
|||
---
|
||||
repositories:
|
||||
- name: fairwinds-stable
|
||||
url: https://charts.fairwinds.com/stable
|
||||
|
|
Reference in New Issue