* add nodePort support
@@ -11,5 +11,8 @@ spec:
targetPort: http
protocol: TCP
name: http
+ {{- if (and (eq .Values.service.type "NodePort") .Values.service.nodePort) }}
+ nodePort: {{ .Values.service.nodePort }}
+ {{- end }}
selector:
{{- include "kafka-ui.selectorLabels" . | nindent 4 }}
@@ -41,6 +41,8 @@ securityContext: {}
service:
type: ClusterIP
port: 80
+ # if you want to force a specific nodePort. Must be use with service.type=NodePort
+ # nodePort:
ingress:
enabled: false