diff --git a/helm/akhq/templates/service.yaml b/helm/akhq/templates/service.yaml index 310d1b499..2877ba8ef 100644 --- a/helm/akhq/templates/service.yaml +++ b/helm/akhq/templates/service.yaml @@ -22,6 +22,9 @@ spec: targetPort: http protocol: TCP name: http + {{- if and (eq "NodePort" .Values.service.type) .Values.service.httpNodePort }} + nodePort: {{ .Values.service.httpNodePort }} + {{- end }} selector: app.kubernetes.io/name: {{ include "akhq.name" . }} app.kubernetes.io/instance: {{ .Release.Name }} diff --git a/helm/akhq/values.yaml b/helm/akhq/values.yaml index abbf26c1e..ca8445d86 100644 --- a/helm/akhq/values.yaml +++ b/helm/akhq/values.yaml @@ -85,6 +85,7 @@ service: enabled: true type: ClusterIP port: 80 + #httpNodePort: 32551 labels: {} annotations: # cloud.google.com/load-balancer-type: "Internal"