[bitnami/thanos] Implement tpl for ingress hostname/extraTls (#21351)

Signed-off-by: Jan-Otto Kröpke <mail@jkroepke.de>
Signed-off-by: Jan-Otto Kröpke <github@jkroepke.de>
This commit is contained in:
Jan-Otto Kröpke
2023-12-13 12:24:28 +01:00
committed by GitHub
parent daef88e5d2
commit daa7324621
10 changed files with 19 additions and 19 deletions

View File

@@ -35,4 +35,4 @@ maintainers:
name: thanos
sources:
- https://github.com/bitnami/charts/tree/main/bitnami/thanos
version: 12.17.0
version: 12.18.0

View File

@@ -21,7 +21,7 @@ spec:
{{- end }}
rules:
{{- if .Values.bucketweb.ingress.hostname }}
- host: {{ .Values.bucketweb.ingress.hostname }}
- host: {{ include "common.tplvalues.render" ( dict "value" .Values.bucketweb.ingress.hostname "context" $ ) }}
http:
paths:
- path: {{ .Values.bucketweb.ingress.path }}
@@ -51,7 +51,7 @@ spec:
secretName: {{ printf "%s-tls" .Values.bucketweb.ingress.hostname }}
{{- end }}
{{- if .Values.bucketweb.ingress.extraTls }}
{{- toYaml .Values.bucketweb.ingress.extraTls | nindent 4 }}
{{- include "common.tplvalues.render" (dict "value" .Values.bucketweb.ingress.extraTls "context" $) | nindent 4 }}
{{- end }}
{{- end }}
{{- end }}

View File

@@ -21,7 +21,7 @@ spec:
{{- end }}
rules:
{{- if .Values.compactor.ingress.hostname }}
- host: {{ .Values.compactor.ingress.hostname }}
- host: {{ include "common.tplvalues.render" ( dict "value" .Values.compactor.ingress.hostname "context" $ ) }}
http:
paths:
- path: {{ .Values.compactor.ingress.path }}
@@ -51,7 +51,7 @@ spec:
secretName: {{ printf "%s-tls" .Values.compactor.ingress.hostname }}
{{- end }}
{{- if .Values.compactor.ingress.extraTls }}
{{- toYaml .Values.compactor.ingress.extraTls | nindent 4 }}
{{- include "common.tplvalues.render" (dict "value" .Values.compactor.ingress.extraTls "context" $) | nindent 4 }}
{{- end }}
{{- end }}
{{- end }}

View File

@@ -21,7 +21,7 @@ spec:
{{- end }}
rules:
{{- if .Values.queryFrontend.ingress.hostname }}
- host: {{ .Values.queryFrontend.ingress.hostname }}
- host: {{ include "common.tplvalues.render" ( dict "value" .Values.queryFrontend.ingress.hostname "context" $ ) }}
http:
paths:
- path: {{ .Values.queryFrontend.ingress.path }}
@@ -51,7 +51,7 @@ spec:
secretName: {{ printf "%s-query-frontend" (include "common.names.fullname" .) }}
{{- end }}
{{- if .Values.queryFrontend.ingress.extraTls }}
{{- toYaml .Values.queryFrontend.ingress.extraTls | nindent 4 }}
{{- include "common.tplvalues.render" (dict "value" .Values.queryFrontend.ingress.extraTls "context" $) | nindent 4 }}
{{- end }}
{{- end }}
{{- end }}

View File

@@ -21,7 +21,7 @@ spec:
{{- end }}
rules:
{{- if .Values.query.ingress.grpc.hostname }}
- host: {{ .Values.query.ingress.grpc.hostname }}
- host: {{ include "common.tplvalues.render" ( dict "value" .Values.query.ingress.grpc.hostname "context" $ ) }}
http:
paths:
- path: {{ .Values.query.ingress.grpc.path }}
@@ -51,7 +51,7 @@ spec:
secretName: {{ .Values.query.ingress.grpc.secretName | default (printf "%s-tls" .Values.query.ingress.grpc.hostname) }}
{{- end }}
{{- if .Values.query.ingress.grpc.extraTls }}
{{- toYaml .Values.query.ingress.grpc.extraTls | nindent 4 }}
{{- include "common.tplvalues.render" (dict "value" .Values.query.ingress.grpc.extraTls "context" $) | nindent 4 }}
{{- end }}
{{- end }}
{{- end }}

View File

@@ -21,7 +21,7 @@ spec:
{{- end }}
rules:
{{- if .Values.query.ingress.hostname }}
- host: {{ .Values.query.ingress.hostname }}
- host: {{ include "common.tplvalues.render" ( dict "value" .Values.query.ingress.hostname "context" $ ) }}
http:
paths:
- path: {{ .Values.query.ingress.path }}
@@ -51,7 +51,7 @@ spec:
secretName: {{ .Values.query.ingress.secretName | default (printf "%s-tls" .Values.query.ingress.hostname) }}
{{- end }}
{{- if .Values.query.ingress.extraTls }}
{{- toYaml .Values.query.ingress.extraTls | nindent 4 }}
{{- include "common.tplvalues.render" (dict "value" .Values.query.ingress.extraTls "context" $) | nindent 4 }}
{{- end }}
{{- end }}
{{- end }}

View File

@@ -21,7 +21,7 @@ spec:
{{- end }}
rules:
{{- if .Values.receive.ingress.hostname }}
- host: {{ .Values.receive.ingress.hostname }}
- host: {{ include "common.tplvalues.render" ( dict "value" .Values.receive.ingress.hostname "context" $ ) }}
http:
paths:
- path: /api/v1/receive
@@ -60,7 +60,7 @@ spec:
secretName: {{ printf "%s-tls" .Values.receive.ingress.hostname }}
{{- end }}
{{- if .Values.receive.ingress.extraTls }}
{{- toYaml .Values.receive.ingress.extraTls | nindent 4 }}
{{- include "common.tplvalues.render" (dict "value" .Values.receive.ingress.extraTls "context" $) | nindent 4 }}
{{- end }}
{{- end }}
{{- end }}

View File

@@ -21,7 +21,7 @@ spec:
{{- end }}
rules:
{{- if .Values.ruler.ingress.hostname }}
- host: {{ .Values.ruler.ingress.hostname }}
- host: {{ include "common.tplvalues.render" ( dict "value" .Values.ruler.ingress.hostname "context" $ ) }}
http:
paths:
- path: {{ .Values.ruler.ingress.path }}
@@ -51,7 +51,7 @@ spec:
secretName: {{ printf "%s-tls" .Values.ruler.ingress.hostname }}
{{- end }}
{{- if .Values.ruler.ingress.extraTls }}
{{- toYaml .Values.ruler.ingress.extraTls | nindent 4 }}
{{- include "common.tplvalues.render" (dict "value" .Values.ruler.ingress.extraTls "context" $) | nindent 4 }}
{{- end }}
{{- end }}
{{- end }}

View File

@@ -21,7 +21,7 @@ spec:
{{- end }}
rules:
{{- if .Values.storegateway.ingress.grpc.hostname }}
- host: {{ .Values.storegateway.ingress.grpc.hostname }}
- host: {{ include "common.tplvalues.render" ( dict "value" .Values.storegateway.ingress.grpc.hostname "context" $ ) }}
http:
paths:
- path: {{ .Values.storegateway.ingress.grpc.path }}
@@ -51,7 +51,7 @@ spec:
secretName: {{ printf "%s-tls" .Values.storegateway.ingress.grpc.hostname }}
{{- end }}
{{- if .Values.storegateway.ingress.grpc.extraTls }}
{{- toYaml .Values.storegateway.ingress.grpc.extraTls | nindent 4 }}
{{- include "common.tplvalues.render" (dict "value" .Values.storegateway.ingress.grpc.extraTls "context" $) | nindent 4 }}
{{- end }}
{{- end }}
{{- end }}

View File

@@ -21,7 +21,7 @@ spec:
{{- end }}
rules:
{{- if .Values.storegateway.ingress.hostname }}
- host: {{ .Values.storegateway.ingress.hostname }}
- host: {{ include "common.tplvalues.render" ( dict "value" .Values.storegateway.ingress.hostname "context" $ ) }}
http:
paths:
- path: {{ .Values.storegateway.ingress.path }}
@@ -51,7 +51,7 @@ spec:
secretName: {{ printf "%s-tls" .Values.storegateway.ingress.hostname }}
{{- end }}
{{- if .Values.storegateway.ingress.extraTls }}
{{- toYaml .Values.storegateway.ingress.extraTls | nindent 4 }}
{{- include "common.tplvalues.render" (dict "value" .Values.storegateway.ingress.extraTls "context" $) | nindent 4 }}
{{- end }}
{{- end }}
{{- end }}