mirror of
https://github.com/edgelesssys/constellation.git
synced 2024-12-14 02:14:21 -05:00
968cdc1a38
* cli: move internal packages Signed-off-by: Moritz Sanft <58110325+msanft@users.noreply.github.com> * cli: fix buildfiles Signed-off-by: Moritz Sanft <58110325+msanft@users.noreply.github.com> * bazel: fix exclude dir Signed-off-by: Moritz Sanft <58110325+msanft@users.noreply.github.com> * cli: move back libraries that will not be used by TF provider Signed-off-by: Moritz Sanft <58110325+msanft@users.noreply.github.com> --------- Signed-off-by: Moritz Sanft <58110325+msanft@users.noreply.github.com>
41 lines
1.3 KiB
YAML
41 lines
1.3 KiB
YAML
{{- if and (or .Values.hubble.enabled .Values.hubble.ui.standalone.enabled) .Values.hubble.ui.enabled .Values.hubble.ui.ingress.enabled }}
|
|
{{- $baseUrl := .Values.hubble.ui.baseUrl -}}
|
|
apiVersion: {{ template "ingress.apiVersion" . }}
|
|
kind: Ingress
|
|
metadata:
|
|
name: hubble-ui
|
|
namespace: {{ .Release.Namespace }}
|
|
labels:
|
|
k8s-app: hubble-ui
|
|
app.kubernetes.io/name: hubble-ui
|
|
app.kubernetes.io/part-of: cilium
|
|
{{- with .Values.hubble.ui.ingress.labels }}
|
|
{{- toYaml . | nindent 4 }}
|
|
{{- end }}
|
|
{{- if or .Values.hubble.ui.ingress.annotations .Values.hubble.ui.annotations }}
|
|
annotations:
|
|
{{- with .Values.hubble.ui.annotations }}
|
|
{{- toYaml . | nindent 4 }}
|
|
{{- end }}
|
|
{{- with .Values.hubble.ui.ingress.annotations }}
|
|
{{- toYaml . | nindent 4 }}
|
|
{{- end }}
|
|
{{- end }}
|
|
spec:
|
|
{{- if .Values.hubble.ui.ingress.className }}
|
|
ingressClassName: {{ .Values.hubble.ui.ingress.className }}
|
|
{{- end }}
|
|
{{- if .Values.hubble.ui.ingress.tls }}
|
|
tls:
|
|
{{- toYaml .Values.hubble.ui.ingress.tls | nindent 4 }}
|
|
{{- end }}
|
|
rules:
|
|
{{- range .Values.hubble.ui.ingress.hosts }}
|
|
- host: {{ . }}
|
|
http:
|
|
paths:
|
|
- path: {{ $baseUrl | quote }}
|
|
{{- include "ingress.paths" $ | nindent 12 }}
|
|
{{- end }}
|
|
{{- end }}
|