feat(k8s-ycl): Restructure Helm helpers/includes

This commit is contained in:
Bernd Schorgers 2024-01-30 20:11:46 +01:00
parent 6c25f4c536
commit 0b59dfc14c
No known key found for this signature in database
GPG key ID: BC5E2BD907F9A8EC
6 changed files with 79 additions and 81 deletions

View file

@ -0,0 +1,64 @@
{{- define "k8s-ycl.hardcodedValues" -}}
controllers:
main:
containers:
main:
probes:
liveness:
enabled: true
custom: true
spec:
httpGet:
path: /healthz
port: 8081
initialDelaySeconds: 0
periodSeconds: 10
timeoutSeconds: 1
failureThreshold: 3
readiness:
enabled: true
custom: true
spec:
httpGet:
path: /readyz
port: 8081
initialDelaySeconds: 0
periodSeconds: 10
timeoutSeconds: 1
failureThreshold: 3
startup:
enabled: true
custom: true
spec:
httpGet:
path: /healthz
port: 8081
failureThreshold: 30
periodSeconds: 10
service:
main:
enabled: true
nameOverride: webhook
ports:
http:
enabled: true
port: 9443
metrics:
enabled: true
port: 8080
probe:
enabled: true
port: 8081
serviceAccount:
create: true
persistence:
certs:
enabled: true
type: secret
name: {{ include "k8s-ycl.servingCertificate" . }}
globalMounts:
- path: /tls
{{- end -}}