-
Notifications
You must be signed in to change notification settings - Fork 0
/
helmfile.yaml
59 lines (58 loc) · 1.56 KB
/
helmfile.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
repositories:
- name: fairwinds-stable
url: https://charts.fairwinds.com/stable
releases:
- chart: fairwinds-stable/goldilocks
name: goldilocks
namespace: goldilocks
version: 8.0.1
values:
- dashboard:
flags:
enable-cost: "false"
ingress:
enabled: true
annotations:
# https://k3d.io/v5.4.9/usage/exposing_services/
ingress.kubernetes.io/ssl-redirect: "false"
hosts:
- host: goldilocks.local
paths:
- path: /
type: ImplementationSpecific
ingressClassName: traefik
- vpa:
fullnameOverride: vpa
enabled: true
admissionController:
# https://github.com/kubernetes/autoscaler/issues/5318
extraArgs:
client-ca-file: /etc/tls-certs/ca.crt
tls-cert-file: /etc/tls-certs/tls.crt
tls-private-key: /etc/tls-certs/tls.key
generateCertificate: false
mutatingWebhookConfiguration:
annotations:
cert-manager.io/inject-ca-from: goldilocks/vpa-webhook-cert
secretName: goldilocks-vpa-tls-secret
hooks:
# - events:
# - presync
# showlogs: true
# command: kubectl
# args: ["create", "ns", "goldilocks"]
- events:
- presync
showlogs: true
command: kubectl
args: ["apply", "-f", "vpa-webhook-cert.yaml"]
- events:
- postuninstall
showlogs: true
command: kubectl
args: ["delete", "-f", "vpa-webhook-cert.yaml"]
- events:
- postuninstall
showlogs: true
command: kubectl
args: ["delete", "ns", "goldilocks"]