[thanos] fix non-autogenerated secrets type (#8105)

Signed-off-by: Denis Baryshev <dennybaa@gmail.com>
This commit is contained in:
Denis Baryshev
2021-11-12 09:49:22 +00:00
committed by GitHub
parent 09bd5b81e0
commit f104c5de24
5 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -28,4 +28,4 @@ name: thanos
sources:
- https://github.com/bitnami/bitnami-docker-thanos
- https://thanos.io
version: 8.0.1
version: 8.0.2
@@ -141,7 +141,7 @@ spec:
- --grpc-client-tls-secure
- --grpc-client-tls-cert=/certs/client/{{ include "common.secrets.key" (dict "existingSecret" .Values.query.grpc.client.tls.existingSecret "key" "tls-cert") }}
- --grpc-client-tls-key=/certs/client/{{ include "common.secrets.key" (dict "existingSecret" .Values.query.grpc.client.tls.existingSecret "key" "tls-key") }}
- --grpc-client-tls-client-ca=/certs/client/{{ include "common.secrets.key" (dict "existingSecret" .Values.query.grpc.client.tls.existingSecret "key" "ca-cert") }}
- --grpc-client-tls-ca=/certs/client/{{ include "common.secrets.key" (dict "existingSecret" .Values.query.grpc.client.tls.existingSecret "key" "ca-cert") }}
{{- end }}
{{- if .Values.query.grpc.client.servername }}
- --grpc-client-server-name={{.Values.query.grpc.client.servername}}
@@ -12,7 +12,7 @@ metadata:
{{- if .Values.commonAnnotations }}
annotations: {{- include "common.tplvalues.render" ( dict "value" .Values.commonAnnotations "context" $ ) | nindent 4 }}
{{- end }}
type: kubernetes.io/tls
type: Opaque
data:
{{- if .Values.query.grpc.client.tls.autoGenerated }}
{{- $ca := genCA "thanos-query-grpc-client-ca" 365 }}
@@ -12,7 +12,7 @@ metadata:
{{- if .Values.commonAnnotations }}
annotations: {{- include "common.tplvalues.render" ( dict "value" .Values.commonAnnotations "context" $ ) | nindent 4 }}
{{- end }}
type: kubernetes.io/tls
type: Opaque
data:
{{- if .Values.query.grpc.server.tls.autoGenerated }}
{{- $ca := genCA "thanos-query-grpc-server-ca" 365 }}
@@ -13,7 +13,7 @@ metadata:
{{- if .Values.commonAnnotations }}
annotations: {{- include "common.tplvalues.render" ( dict "value" .Values.commonAnnotations "context" $ ) | nindent 4 }}
{{- end }}
type: kubernetes.io/tls
type: Opaque
data:
{{- if .Values.receive.grpc.server.tls.autoGenerated }}
{{- $ca := genCA "thanos-receive-grpc-server-ca" 365 }}