[bitnami/thanos] Use correct helpers for ingress-grpc.yaml (#9715)

* Use correct helpers for ingress-grpc.yaml

Signed-off-by: Sai Nallamothu <nlassai@gmail.com>

* Update Chart.yaml

Using correct helpers for storegateway ingree-grpc.yaml

Signed-off-by: Sai Nallamothu <nlassai@gmail.com>
This commit is contained in:
nlassai
2022-04-08 10:18:34 +01:00
committed by GitHub
parent fe1a645434
commit 916552b226
2 changed files with 3 additions and 3 deletions

View File

@@ -28,4 +28,4 @@ name: thanos
sources:
- https://github.com/bitnami/bitnami-docker-thanos
- https://thanos.io
version: 10.3.2
version: 10.3.3

View File

@@ -41,9 +41,9 @@ spec:
{{- end }}
backend: {{- include "common.ingress.backend" (dict "serviceName" (printf "%s-%s" (include "common.names.fullname" $) "storegateway") "servicePort" "grpc" "context" $) | nindent 14 }}
{{- end }}
{{- if or (and .Values.storegateway.ingress.grpc.tls (or (include "thanos.ingress.certManagerRequest" .Values.storegateway.ingress.grpc.annotations) .Values.storegateway.ingress.grpc.selfSigned)) .Values.storegateway.ingress.grpc.extraTls }}
{{- if or (and .Values.storegateway.ingress.grpc.tls (or (include "common.ingress.certManagerRequest" ( dict "annotations" .Values.storegateway.ingress.grpc.annotations)) .Values.storegateway.ingress.grpc.selfSigned)) .Values.storegateway.ingress.grpc.extraTls }}
tls:
{{- if and .Values.storegateway.ingress.grpc.tls (or (include "thanos.ingress.certManagerRequest" .Values.storegateway.ingress.grpc.annotations) .Values.storegateway.ingress.grpc.selfSigned) }}
{{- if and .Values.storegateway.ingress.grpc.tls (or (include "common.ingress.certManagerRequest" ( dict "annotations" .Values.storegateway.ingress.grpc.annotations)) .Values.storegateway.ingress.grpc.selfSigned) }}
- hosts:
- {{ .Values.storegateway.ingress.grpc.hostname }}
secretName: {{ printf "%s-tls" .Values.storegateway.ingress.grpc.hostname }}