diff --git a/templates/thanos-values.yaml.tpl b/templates/thanos-values.yaml.tpl index ca4784a..d20911b 100644 --- a/templates/thanos-values.yaml.tpl +++ b/templates/thanos-values.yaml.tpl @@ -83,8 +83,7 @@ compactor: retentionResolution5m: 180d retentionResolution1h: 365d persistence: - %{ if eq compactor_existing_pvc_claim_id "disabled"} - %{ else ~} + %{ if ne compactor_existing_pvc_claim_id "disabled" ~} existingClaim: "${compactor_existing_pvc_claim_id}" %{ endif ~} size: 16000Gi