mirror of https://git.rancher.io/rke2-charts
40 lines
1.9 KiB
Diff
40 lines
1.9 KiB
Diff
--- charts-original/templates/hubble-ui-deployment.yaml
|
|
+++ charts/templates/hubble-ui-deployment.yaml
|
|
@@ -23,9 +23,6 @@
|
|
{{- end }}
|
|
labels:
|
|
k8s-app: hubble-ui
|
|
-{{- with .Values.hubble.ui.podLabels }}
|
|
- {{- toYaml . | nindent 8 }}
|
|
-{{- end }}
|
|
spec:
|
|
{{- if .Values.hubble.ui.securityContext.enabled }}
|
|
securityContext:
|
|
@@ -47,7 +44,7 @@
|
|
{{- end }}
|
|
containers:
|
|
- name: frontend
|
|
- image: "{{ .Values.hubble.ui.frontend.image.repository }}:{{ .Values.hubble.ui.frontend.image.tag }}"
|
|
+ image: "{{ template "system_default_registry" . }}{{ .Values.hubble.ui.frontend.image.repository }}:{{ .Values.hubble.ui.frontend.image.tag }}"
|
|
imagePullPolicy: {{ .Values.hubble.ui.frontend.image.pullPolicy }}
|
|
ports:
|
|
- containerPort: 8080
|
|
@@ -55,7 +52,7 @@
|
|
resources:
|
|
{{- toYaml .Values.hubble.ui.frontend.resources | trim | nindent 12 }}
|
|
- name: backend
|
|
- image: "{{ .Values.hubble.ui.backend.image.repository }}:{{ .Values.hubble.ui.backend.image.tag }}"
|
|
+ image: "{{ template "system_default_registry" . }}{{ .Values.hubble.ui.backend.image.repository }}:{{ .Values.hubble.ui.backend.image.tag }}"
|
|
imagePullPolicy: {{ .Values.hubble.ui.backend.image.pullPolicy }}
|
|
env:
|
|
- name: EVENTS_SERVER_PORT
|
|
@@ -68,7 +65,7 @@
|
|
resources:
|
|
{{- toYaml .Values.hubble.ui.backend.resources | trim | nindent 12 }}
|
|
- name: proxy
|
|
- image: "{{ .Values.hubble.ui.proxy.image.repository }}:{{ .Values.hubble.ui.proxy.image.tag }}"
|
|
+ image: "{{ template "system_default_registry" . }}{{ .Values.hubble.ui.proxy.image.repository }}:{{ .Values.hubble.ui.proxy.image.tag }}"
|
|
imagePullPolicy: {{ .Values.hubble.ui.proxy.image.pullPolicy }}
|
|
ports:
|
|
- containerPort: 8081
|