Skip to content

Commit 90e53a2

Browse files
authored
Fix nil pointer evaluating interface {}.Namespace (#242)
Signed-off-by: Niklas Wagner <[email protected]>
1 parent 63598bb commit 90e53a2

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
## master / unreleased
44

5+
* [BUGFIX] Fix nil pointer evaluation when using `ruler.dictonaries` option #242
6+
57
## 0.7.0 / 2021-10-05
68

79
* [FEATURE] Support runtime configuration #209

templates/ruler/ruler-configmap.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ apiVersion: v1
55
kind: ConfigMap
66
metadata:
77
name: {{ include "cortex.rulerFullname" $ }}-{{ include "cortex.rulerRulesDirName" $dir }}
8-
namespace: {{ .Release.Namespace }}
8+
namespace: {{ $.Release.Namespace }}
99
labels:
1010
{{- include "cortex.rulerLabels" $ | nindent 4 }}
1111
data:

0 commit comments

Comments
 (0)