Skip to content

Commit 6f68af1

Browse files
authored
Change to boolean and added default
Updated to nicer structure after comment in PR
1 parent cbce23f commit 6f68af1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

jsonnet/kube-thanos/kube-thanos-query.libsonnet

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ local defaults = {
1313
externalPrefix: '',
1414
autoDownsampling: true,
1515
resources: {},
16+
grpcClientTlsSecure: false,
1617
queryTimeout: '',
1718
lookbackDelta: '',
1819
ports: {
@@ -115,7 +116,7 @@ function(params) {
115116
] else []
116117
) +
117118
(
118-
if std.objectHas(tq.config, 'grpcClientTlsSecure') then [
119+
if tq.config.grpcClientTlsSecure then [
119120
'--grpc-client-tls-secure',
120121
] else []
121122
) +

0 commit comments

Comments
 (0)