mirror of
https://github.com/bitnami/charts.git
synced 2026-03-07 16:17:21 +08:00
[bitnami/thanos] fix context for statefulset (#14797)
The original fix for hardcoded apiversion used the wrong context in the range statement which results in a template error. Signed-off-by: Chris Alexander <crainte@hybridoptix.net>
This commit is contained in:
@@ -28,4 +28,4 @@ name: thanos
|
||||
sources:
|
||||
- https://github.com/bitnami/containers/tree/main/bitnami/thanos
|
||||
- https://thanos.io
|
||||
version: 12.0.3
|
||||
version: 12.0.4
|
||||
|
||||
@@ -24,7 +24,7 @@ metadata:
|
||||
{{- end }}
|
||||
spec:
|
||||
scaleTargetRef:
|
||||
apiVersion: {{ include "common.capabilities.statefulset.apiVersion" . }}
|
||||
apiVersion: {{ include "common.capabilities.statefulset.apiVersion" $ }}
|
||||
kind: StatefulSet
|
||||
name: {{ printf "%s-storegateway-%s" (include "common.names.fullname" $) (toString $index) | trunc 63 | trimSuffix "-" }}
|
||||
minReplicas: {{ $.Values.storegateway.autoscaling.minReplicas }}
|
||||
|
||||
Reference in New Issue
Block a user