minor improvments

This commit is contained in:
stremovsky
2021-12-10 15:32:39 +02:00
parent 59bfb55d9a
commit c8a7e53207
2 changed files with 4 additions and 3 deletions

View File

@@ -11,8 +11,8 @@ spec:
targetPort: http
protocol: TCP
name: http
{{- if contains "NodePort" .Values.service.type }}
nodePort: 30300
{{- end }}
{{- if and (or (eq .Values.service.type "NodePort") (eq .Values.service.type "LoadBalancer")) (not (empty .Values.service.nodePort)) }}
nodePort: {{ .Values.service.nodePort }}
{{- end }}
selector:
{{- include "databunker-demo.selectorLabels" . | nindent 4 }}

View File

@@ -39,6 +39,7 @@ securityContext: {}
service:
type: ClusterIP
port: 3000
nodePort: 30300
ingress:
enabled: false