Add value for rendering sidecar without feature
Add option to deploy rendering sidecar without the k8s sidecar feature. Change-Id: I4b8052166bad8965df9daa6b28e320d9132150cd
This commit is contained in:
parent
b946e5ba05
commit
876e57c606
@ -15,7 +15,7 @@ apiVersion: v1
|
|||||||
appVersion: v9.2.10
|
appVersion: v9.2.10
|
||||||
description: OpenStack-Helm Grafana
|
description: OpenStack-Helm Grafana
|
||||||
name: grafana
|
name: grafana
|
||||||
version: 0.1.24
|
version: 0.1.25
|
||||||
home: https://grafana.com/
|
home: https://grafana.com/
|
||||||
sources:
|
sources:
|
||||||
- https://github.com/grafana/grafana
|
- https://github.com/grafana/grafana
|
||||||
|
@ -51,7 +51,7 @@ spec:
|
|||||||
{{ .Values.labels.grafana.node_selector_key }}: {{ .Values.labels.grafana.node_selector_value | quote }}
|
{{ .Values.labels.grafana.node_selector_key }}: {{ .Values.labels.grafana.node_selector_value | quote }}
|
||||||
initContainers:
|
initContainers:
|
||||||
{{ tuple $envAll "grafana" list | include "helm-toolkit.snippets.kubernetes_entrypoint_init_container" | indent 8 }}
|
{{ tuple $envAll "grafana" list | include "helm-toolkit.snippets.kubernetes_entrypoint_init_container" | indent 8 }}
|
||||||
{{- if .Values.conf.grafana.image_rendering_sidecar.enabled }}
|
{{- if and .Values.conf.grafana.image_rendering_sidecar.enabled .Values.conf.grafana.image_rendering_sidecar.k8s_sidecar_feature_enabled }}
|
||||||
- name: grafana-image-renderer
|
- name: grafana-image-renderer
|
||||||
{{ tuple $envAll "grafana_image_renderer" | include "helm-toolkit.snippets.image" | indent 10 }}
|
{{ tuple $envAll "grafana_image_renderer" | include "helm-toolkit.snippets.image" | indent 10 }}
|
||||||
restartPolicy: Always
|
restartPolicy: Always
|
||||||
@ -64,6 +64,17 @@ spec:
|
|||||||
periodSeconds: 10
|
periodSeconds: 10
|
||||||
{{- end }}
|
{{- end }}
|
||||||
containers:
|
containers:
|
||||||
|
{{- if and .Values.conf.grafana.image_rendering_sidecar.enabled (not .Values.conf.grafana.image_rendering_sidecar.k8s_sidecar_feature_enabled) }}
|
||||||
|
- name: grafana-image-renderer
|
||||||
|
{{ tuple $envAll "grafana_image_renderer" | include "helm-toolkit.snippets.image" | indent 10 }}
|
||||||
|
ports:
|
||||||
|
- containerPort: {{ tuple "grafana" "image_rendering" "grafana" . | include "helm-toolkit.endpoints.endpoint_port_lookup" }}
|
||||||
|
readinessProbe:
|
||||||
|
tcpSocket:
|
||||||
|
port: {{ tuple "grafana" "image_rendering" "grafana" . | include "helm-toolkit.endpoints.endpoint_port_lookup" }}
|
||||||
|
initialDelaySeconds: 15
|
||||||
|
periodSeconds: 10
|
||||||
|
{{- end }}
|
||||||
- name: grafana
|
- name: grafana
|
||||||
{{ tuple $envAll "grafana" | include "helm-toolkit.snippets.image" | indent 10 }}
|
{{ tuple $envAll "grafana" | include "helm-toolkit.snippets.image" | indent 10 }}
|
||||||
{{ tuple $envAll $envAll.Values.pod.resources.grafana | include "helm-toolkit.snippets.kubernetes_resources" | indent 10 }}
|
{{ tuple $envAll $envAll.Values.pod.resources.grafana | include "helm-toolkit.snippets.kubernetes_resources" | indent 10 }}
|
||||||
|
@ -507,6 +507,8 @@ conf:
|
|||||||
enabled: true
|
enabled: true
|
||||||
image_rendering_sidecar:
|
image_rendering_sidecar:
|
||||||
enabled: false
|
enabled: false
|
||||||
|
# https://kubernetes.io/docs/concepts/workloads/pods/sidecar-containers/
|
||||||
|
k8s_sidecar_feature_enabled: true
|
||||||
analytics:
|
analytics:
|
||||||
reporting_enabled: false
|
reporting_enabled: false
|
||||||
check_for_updates: false
|
check_for_updates: false
|
||||||
|
@ -25,4 +25,5 @@ grafana:
|
|||||||
- 0.1.22 Make selenium v4 syntax optional
|
- 0.1.22 Make selenium v4 syntax optional
|
||||||
- 0.1.23 Modified selenium test for compatibility
|
- 0.1.23 Modified selenium test for compatibility
|
||||||
- 0.1.24 Add image rendering sidecar
|
- 0.1.24 Add image rendering sidecar
|
||||||
|
- 0.1.25 Add value for rendering sidecar feature
|
||||||
...
|
...
|
||||||
|
Loading…
x
Reference in New Issue
Block a user