mirror of
https://github.com/k8s-at-home/charts.git
synced 2025-01-24 16:09:08 +00:00
[common] Better defaults for service and ingress (#111)
This commit is contained in:
parent
a3da4245f3
commit
f36de85c15
@ -2,7 +2,7 @@ apiVersion: v2
|
|||||||
name: common
|
name: common
|
||||||
description: Function library for k8s-at-home charts
|
description: Function library for k8s-at-home charts
|
||||||
type: library
|
type: library
|
||||||
version: 1.0.0
|
version: 1.0.1
|
||||||
keywords:
|
keywords:
|
||||||
- k8s-at-home
|
- k8s-at-home
|
||||||
- common
|
- common
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
{{- define "common.service" -}}
|
{{- define "common.service" -}}
|
||||||
|
{{- if .Values.service.enabled -}}
|
||||||
{{- include "common.classes.service" . }}
|
{{- include "common.classes.service" . }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
{{- end }}
|
||||||
|
@ -26,7 +26,9 @@ probes:
|
|||||||
periodSeconds: 10
|
periodSeconds: 10
|
||||||
|
|
||||||
service:
|
service:
|
||||||
|
enabled: true
|
||||||
type: ClusterIP
|
type: ClusterIP
|
||||||
|
# Specify the default port information
|
||||||
port:
|
port:
|
||||||
portNumber: ""
|
portNumber: ""
|
||||||
name: http
|
name: http
|
||||||
@ -46,7 +48,7 @@ service:
|
|||||||
labels: {}
|
labels: {}
|
||||||
|
|
||||||
ingress:
|
ingress:
|
||||||
enabled: true
|
enabled: false
|
||||||
annotations: {}
|
annotations: {}
|
||||||
# kubernetes.io/ingress.class: nginx
|
# kubernetes.io/ingress.class: nginx
|
||||||
# kubernetes.io/tls-acme: "true"
|
# kubernetes.io/tls-acme: "true"
|
||||||
@ -81,7 +83,7 @@ ingress:
|
|||||||
|
|
||||||
persistence:
|
persistence:
|
||||||
config:
|
config:
|
||||||
enabled: true
|
enabled: false
|
||||||
mountPath: /config
|
mountPath: /config
|
||||||
## configuration data Persistent Volume Storage Class
|
## configuration data Persistent Volume Storage Class
|
||||||
## If defined, storageClassName: <storageClass>
|
## If defined, storageClassName: <storageClass>
|
||||||
|
Loading…
Reference in New Issue
Block a user