[common] Better defaults for service and ingress (#111)

This commit is contained in:
Bernd Schörgers 2020-11-06 20:28:01 +01:00 committed by GitHub
parent a3da4245f3
commit f36de85c15
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 8 additions and 4 deletions

View File

@ -2,7 +2,7 @@ apiVersion: v2
name: common
description: Function library for k8s-at-home charts
type: library
version: 1.0.0
version: 1.0.1
keywords:
- k8s-at-home
- common

View File

@ -1,3 +1,5 @@
{{- define "common.service" -}}
{{- include "common.classes.service" . }}
{{- if .Values.service.enabled -}}
{{- include "common.classes.service" . }}
{{- end }}
{{- end }}

View File

@ -26,7 +26,9 @@ probes:
periodSeconds: 10
service:
enabled: true
type: ClusterIP
# Specify the default port information
port:
portNumber: ""
name: http
@ -46,7 +48,7 @@ service:
labels: {}
ingress:
enabled: true
enabled: false
annotations: {}
# kubernetes.io/ingress.class: nginx
# kubernetes.io/tls-acme: "true"
@ -81,7 +83,7 @@ ingress:
persistence:
config:
enabled: true
enabled: false
mountPath: /config
## configuration data Persistent Volume Storage Class
## If defined, storageClassName: <storageClass>