Skip to content

Commit 6660b6b

Browse files
fix: fix annotations for mongodb and redis
1 parent 41b2f17 commit 6660b6b

File tree

5 files changed

+4
-3
lines changed

5 files changed

+4
-3
lines changed

charts/splunk-connect-for-snmp/templates/mongodb/mongodb-ha-statefulset.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ spec:
1717
labels:
1818
app: {{ .Release.Name }}-mongodb
1919
mode: replication
20+
annotations:
21+
{{- include "splunk-connect-for-snmp.mongodb-annotations" . | nindent 8 }}
2022
spec:
2123
{{- with .Values.mongodb.podSecurityContext }}
2224
securityContext:

charts/splunk-connect-for-snmp/templates/mongodb/mongodb-standalone-statefulset.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ spec:
2525
labels:
2626
app: {{ .Release.Name }}-mongodb
2727
mode: standalone
28+
annotations:
29+
{{- include "splunk-connect-for-snmp.mongodb-annotations" . | nindent 8 }}
2830
spec:
2931
{{- with .Values.mongodb.podSecurityContext }}
3032
securityContext:

charts/splunk-connect-for-snmp/templates/redis/redis-ha-statefulset.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ spec:
2222
app: {{ .Release.Name }}-redis
2323
annotations:
2424
{{- include "splunk-connect-for-snmp.redis-annotations" . | nindent 8 }}
25-
{{- include "splunk-connect-for-snmp.mongodb-annotations" . | nindent 8 }}
2625
spec:
2726
{{- with .Values.redis.podSecurityContext }}
2827
securityContext:

charts/splunk-connect-for-snmp/templates/redis/redis-standalone-statefulset.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ spec:
2020
app: {{ .Release.Name }}-redis
2121
annotations:
2222
{{- include "splunk-connect-for-snmp.redis-annotations" . | nindent 8 }}
23-
{{- include "splunk-connect-for-snmp.mongodb-annotations" . | nindent 8 }}
2423
spec:
2524
{{- with .Values.redis.podSecurityContext }}
2625
securityContext:

charts/splunk-connect-for-snmp/templates/redis/sentinel/redis-sentinel-statefulset.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ spec:
1919
app: {{ .Release.Name }}-redis-sentinel
2020
annotations:
2121
{{- include "splunk-connect-for-snmp.redis-annotations" . | nindent 8 }}
22-
{{- include "splunk-connect-for-snmp.mongodb-annotations" . | nindent 8 }}
2322
spec:
2423
containers:
2524
- name: sentinel

0 commit comments

Comments
 (0)