mirror of
https://github.com/edgelesssys/constellation.git
synced 2024-12-23 06:29:51 -05:00
21 lines
578 B
YAML
21 lines
578 B
YAML
{{- if and (or .Values.hubble.enabled .Values.hubble.ui.standalone.enabled) .Values.hubble.ui.enabled }}
|
|
kind: Service
|
|
apiVersion: v1
|
|
metadata:
|
|
name: hubble-ui
|
|
namespace: {{ .Release.Namespace }}
|
|
labels:
|
|
k8s-app: hubble-ui
|
|
spec:
|
|
type: {{ .Values.hubble.ui.service.type | quote }}
|
|
selector:
|
|
k8s-app: hubble-ui
|
|
ports:
|
|
- name: http
|
|
port: 80
|
|
targetPort: 8081
|
|
{{- if and (eq "NodePort" .Values.hubble.ui.service.type) .Values.hubble.ui.service.nodePort }}
|
|
nodePort: {{ .Values.hubble.ui.service.nodePort }}
|
|
{{- end }}
|
|
{{- end }}
|