enable service by default

master
Marius Ensrud 5 years ago
parent 7530ab555e
commit 6d05ca2b45

@ -15,7 +15,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes # This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version. # to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/) # Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.1.2 version: 0.1.3
# This is the version number of the application being deployed. This version number should be # This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to # incremented each time you make changes to the application. Versions are not expected to

@ -1,3 +1,4 @@
{{- if .Values.service.enabled -}}
apiVersion: v1 apiVersion: v1
kind: Service kind: Service
metadata: metadata:
@ -13,3 +14,4 @@ spec:
name: http name: http
selector: selector:
{{- include "cups-airprint.selectorLabels" . | nindent 4 }} {{- include "cups-airprint.selectorLabels" . | nindent 4 }}
{{- end }}

@ -40,6 +40,7 @@ securityContext: {}
# runAsUser: 1000 # runAsUser: 1000
service: service:
enabled: false
type: ClusterIP type: ClusterIP
port: 631 port: 631

Loading…
Cancel
Save