Skip to content

Commit

Permalink
Set Thanos version in the Thanos Ruler spec
Browse files Browse the repository at this point in the history
The `.spec.version` field is used by the operator to adapt the
statefulset configuration depending on which features are supported or
not.

In practice, it shouldn't induce any change in functionality but it's
always better to be explicit.

Signed-off-by: Simon Pasquier <spasquie@redhat.com>
  • Loading branch information
simonpasquier committed Sep 22, 2023
1 parent d65e533 commit 6fadc5a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions assets/thanos-ruler/thanos-ruler.yaml
Expand Up @@ -151,6 +151,7 @@ spec:
seccompProfile:
type: RuntimeDefault
serviceAccountName: thanos-ruler
version: 0.32.2
volumes:
- configmap:
items:
Expand Down
1 change: 1 addition & 0 deletions jsonnet/components/thanos-ruler.libsonnet
Expand Up @@ -351,6 +351,7 @@ function(params)
],
},
ruleNamespaceSelector: cfg.namespaceSelector,
version: cfg.version,
volumes: [
generateCertInjection.SCOCaBundleVolume('serving-certs-ca-bundle'),
{
Expand Down

0 comments on commit 6fadc5a

Please sign in to comment.