Skip to content

Commit b454208

Browse files
authored
fix runtimeconfigmap annotations (#212)
* add test case for runtimeconfigmap annotations Signed-off-by: Tom Hayward <[email protected]> * fix whitespace in runtimeconfigmap annotations Signed-off-by: Tom Hayward <[email protected]>
1 parent afba1e0 commit b454208

File tree

3 files changed

+5
-1
lines changed

3 files changed

+5
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
* [ENHANCEMENT] Define namespace in templates #184
1313
* [ENHANCEMENT] Use FQDN for memcached addresses #175
1414
* [ENHANCEMENT] Optionally generate endpoints for `X-Scope-OrgID` injection (multi-tenancy) #180
15+
* [BUGFIX] Fix whitespace in runtime-config annotations, introduced in #209, fixed in #212
1516
* [BUGFIX] Correcting nginx config for auth orgs to right proxy_pass #192
1617

1718
## 0.6.0 / 2021-06-28

ci/test-values.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,9 @@ querier:
6969
enabled: true
7070
nginx:
7171
replicas: 1
72+
runtimeconfigmap:
73+
annotations:
74+
foo: bar
7275

7376
tags:
7477
blocks-storage-memcached: true

templates/runtime-configmap.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ metadata:
77
namespace: {{ $.Release.Namespace }}
88
labels:
99
{{- include "cortex.labels" $ | nindent 4 }}
10-
{{- with .annotations -}}
10+
{{- with .annotations }}
1111
annotations:
1212
{{- toYaml . | nindent 4 }}
1313
{{- end }}

0 commit comments

Comments
 (0)