1
- {{- if .Values.sentry.subscriptionConsumerResultsEapItems .enabled }}
1
+ {{- if .Values.sentry.uptimeResults .enabled }}
2
2
apiVersion : apps/v1
3
3
kind : Deployment
4
4
metadata :
5
- name : {{ template "sentry.fullname" . }}-subscription-consumer- results-eap-items
5
+ name : {{ template "sentry.fullname" . }}-uptime- results-consumer
6
6
labels :
7
7
app : sentry
8
8
chart : " {{ .Chart.Name }}-{{ .Chart.Version | replace " +" "_" }}"
@@ -24,53 +24,53 @@ spec:
24
24
app : sentry
25
25
release : " {{ .Release.Name }}"
26
26
role : sentry-subscription-consumer-eap-spans
27
- replicas : {{ .Values.sentry.subscriptionConsumerResultsEapItems .replicas }}
27
+ replicas : {{ .Values.sentry.uptimeResults .replicas }}
28
28
template :
29
29
metadata :
30
30
annotations :
31
31
checksum/configYml : {{ .Values.config.configYml | toYaml | toString | sha256sum }}
32
32
checksum/sentryConfPy : {{ .Values.config.sentryConfPy | sha256sum }}
33
33
checksum/config.yaml : {{ include "sentry.config" . | sha256sum }}
34
- {{- if .Values.sentry.subscriptionConsumerResultsEapItems .annotations }}
35
- {{ toYaml .Values.sentry.subscriptionConsumerResultsEapItems .annotations | indent 8 }}
34
+ {{- if .Values.sentry.uptimeResults .annotations }}
35
+ {{ toYaml .Values.sentry.uptimeResults .annotations | indent 8 }}
36
36
{{- end }}
37
37
labels :
38
38
app : sentry
39
39
release : " {{ .Release.Name }}"
40
40
role : sentry-subscription-consumer-eap-spans
41
- {{- if .Values.sentry.subscriptionConsumerResultsEapItems .podLabels }}
42
- {{ toYaml .Values.sentry.subscriptionConsumerResultsEapItems .podLabels | indent 8 }}
41
+ {{- if .Values.sentry.uptimeResults .podLabels }}
42
+ {{ toYaml .Values.sentry.uptimeResults .podLabels | indent 8 }}
43
43
{{- end }}
44
44
spec :
45
45
affinity :
46
- {{- if .Values.sentry.subscriptionConsumerResultsEapItems .affinity }}
47
- {{ toYaml .Values.sentry.subscriptionConsumerResultsEapItems .affinity | indent 8 }}
46
+ {{- if .Values.sentry.uptimeResults .affinity }}
47
+ {{ toYaml .Values.sentry.uptimeResults .affinity | indent 8 }}
48
48
{{- end }}
49
- {{- if .Values.sentry.subscriptionConsumerResultsEapItems .nodeSelector }}
49
+ {{- if .Values.sentry.uptimeResults .nodeSelector }}
50
50
nodeSelector :
51
- {{ toYaml .Values.sentry.subscriptionConsumerResultsEapItems .nodeSelector | indent 8 }}
51
+ {{ toYaml .Values.sentry.uptimeResults .nodeSelector | indent 8 }}
52
52
{{- else if .Values.global.nodeSelector }}
53
53
nodeSelector :
54
54
{{ toYaml .Values.global.nodeSelector | indent 8 }}
55
55
{{- end }}
56
- {{- if .Values.sentry.subscriptionConsumerResultsEapItems .tolerations }}
56
+ {{- if .Values.sentry.uptimeResults .tolerations }}
57
57
tolerations :
58
- {{ toYaml .Values.sentry.subscriptionConsumerResultsEapItems .tolerations | indent 8 }}
58
+ {{ toYaml .Values.sentry.uptimeResults .tolerations | indent 8 }}
59
59
{{- else if .Values.global.tolerations }}
60
60
tolerations :
61
61
{{ toYaml .Values.global.tolerations | indent 8 }}
62
62
{{- end }}
63
- {{- if .Values.sentry.subscriptionConsumerResultsEapItems .topologySpreadConstraints }}
63
+ {{- if .Values.sentry.uptimeResults .topologySpreadConstraints }}
64
64
topologySpreadConstraints :
65
- {{ toYaml .Values.sentry.subscriptionConsumerResultsEapItems .topologySpreadConstraints | indent 8 }}
65
+ {{ toYaml .Values.sentry.uptimeResults .topologySpreadConstraints | indent 8 }}
66
66
{{- end }}
67
67
{{- if .Values.images.sentry.imagePullSecrets }}
68
68
imagePullSecrets :
69
69
{{ toYaml .Values.images.sentry.imagePullSecrets | indent 8 }}
70
70
{{- end }}
71
- {{- if .Values.sentry.subscriptionConsumerResultsEapItems .securityContext }}
71
+ {{- if .Values.sentry.uptimeResults .securityContext }}
72
72
securityContext :
73
- {{ toYaml .Values.sentry.subscriptionConsumerResultsEapItems .securityContext | indent 8 }}
73
+ {{ toYaml .Values.sentry.uptimeResults .securityContext | indent 8 }}
74
74
{{- end }}
75
75
containers :
76
76
- name : {{ .Chart.Name }}-subscription-consumer-eap-spans
@@ -80,33 +80,33 @@ spec:
80
80
args :
81
81
- " run"
82
82
- " consumer"
83
- - " subscription -results-eap-items "
84
- {{- if .Values.sentry.subscriptionConsumerResultsEapItems .autoOffsetReset }}
83
+ - " uptime -results"
84
+ {{- if .Values.sentry.uptimeResults .autoOffsetReset }}
85
85
- " --auto-offset-reset"
86
- - " {{ .Values.sentry.subscriptionConsumerResultsEapItems .autoOffsetReset }}"
86
+ - " {{ .Values.sentry.uptimeResults .autoOffsetReset }}"
87
87
{{- end }}
88
- {{- if .Values.sentry.subscriptionConsumerResultsEapItems .noStrictOffsetReset }}
88
+ {{- if .Values.sentry.uptimeResults .noStrictOffsetReset }}
89
89
- " --no-strict-offset-reset"
90
90
{{- end }}
91
91
- " --consumer-group"
92
- - " subscription -results-eap-items "
93
- {{- if .Values.sentry.subscriptionConsumerResultsEapItems .livenessProbe.enabled }}
92
+ - " uptime -results"
93
+ {{- if .Values.sentry.uptimeResults .livenessProbe.enabled }}
94
94
- " --healthcheck-file-path"
95
95
- " /tmp/health.txt"
96
96
{{- end }}
97
- {{- if .Values.sentry.subscriptionConsumerResultsEapItems .livenessProbe.enabled }}
97
+ {{- if .Values.sentry.uptimeResults .livenessProbe.enabled }}
98
98
livenessProbe :
99
99
exec :
100
100
command :
101
101
- rm
102
102
- /tmp/health.txt
103
- initialDelaySeconds : {{ .Values.sentry.subscriptionConsumerResultsEapItems .livenessProbe.initialDelaySeconds }}
104
- periodSeconds : {{ .Values.sentry.subscriptionConsumerResultsEapItems .livenessProbe.periodSeconds }}
103
+ initialDelaySeconds : {{ .Values.sentry.uptimeResults .livenessProbe.initialDelaySeconds }}
104
+ periodSeconds : {{ .Values.sentry.uptimeResults .livenessProbe.periodSeconds }}
105
105
{{- end }}
106
106
env :
107
107
{{ include "sentry.env" . | indent 8 }}
108
- {{- if .Values.sentry.subscriptionConsumerResultsEapItems .env }}
109
- {{ toYaml .Values.sentry.subscriptionConsumerResultsEapItems .env | indent 8 }}
108
+ {{- if .Values.sentry.uptimeResults .env }}
109
+ {{ toYaml .Values.sentry.uptimeResults .env | indent 8 }}
110
110
{{- end }}
111
111
volumeMounts :
112
112
- mountPath : /etc/sentry
@@ -118,23 +118,23 @@ spec:
118
118
- name : sentry-google-cloud-key
119
119
mountPath : /var/run/secrets/google
120
120
{{ end }}
121
- {{- if .Values.sentry.subscriptionConsumerResultsEapItems .volumeMounts }}
122
- {{ toYaml .Values.sentry.subscriptionConsumerResultsEapItems .volumeMounts | indent 8 }}
121
+ {{- if .Values.sentry.uptimeResults .volumeMounts }}
122
+ {{ toYaml .Values.sentry.uptimeResults .volumeMounts | indent 8 }}
123
123
{{- end }}
124
124
resources :
125
- {{ toYaml .Values.sentry.subscriptionConsumerResultsEapItems .resources | indent 12 }}
126
- {{- if .Values.sentry.subscriptionConsumerResultsEapItems .containerSecurityContext }}
125
+ {{ toYaml .Values.sentry.uptimeResults .resources | indent 12 }}
126
+ {{- if .Values.sentry.uptimeResults .containerSecurityContext }}
127
127
securityContext :
128
- {{ toYaml .Values.sentry.subscriptionConsumerResultsEapItems .containerSecurityContext | indent 12 }}
128
+ {{ toYaml .Values.sentry.uptimeResults .containerSecurityContext | indent 12 }}
129
129
{{- end }}
130
- {{- if .Values.sentry.subscriptionConsumerResultsEapItems .sidecars }}
131
- {{ toYaml .Values.sentry.subscriptionConsumerResultsEapItems .sidecars | indent 6 }}
130
+ {{- if .Values.sentry.uptimeResults .sidecars }}
131
+ {{ toYaml .Values.sentry.uptimeResults .sidecars | indent 6 }}
132
132
{{- end }}
133
133
{{- if .Values.global.sidecars }}
134
134
{{ toYaml .Values.global.sidecars | indent 6 }}
135
135
{{- end }}
136
136
{{- if .Values.serviceAccount.enabled }}
137
- serviceAccountName : {{ .Values.serviceAccount.name }}-subscription-consumer- results-eap-items
137
+ serviceAccountName : {{ .Values.serviceAccount.name }}-uptime- results
138
138
{{- end }}
139
139
volumes :
140
140
- name : config
@@ -157,13 +157,13 @@ spec:
157
157
secret :
158
158
secretName : {{ .Values.filestore.gcs.secretName }}
159
159
{{ end }}
160
- {{- if .Values.sentry.subscriptionConsumerResultsEapItems .volumes }}
161
- {{ toYaml .Values.sentry.subscriptionConsumerResultsEapItems .volumes | indent 6 }}
160
+ {{- if .Values.sentry.uptimeResults .volumes }}
161
+ {{ toYaml .Values.sentry.uptimeResults .volumes | indent 6 }}
162
162
{{- end }}
163
163
{{- if .Values.global.volumes }}
164
164
{{ toYaml .Values.global.volumes | indent 6 }}
165
165
{{- end }}
166
- {{- if .Values.sentry.subscriptionConsumerResultsEapItems .priorityClassName }}
167
- priorityClassName : " {{ .Values.sentry.subscriptionConsumerResultsEapItems .priorityClassName }}"
166
+ {{- if .Values.sentry.uptimeResults .priorityClassName }}
167
+ priorityClassName : " {{ .Values.sentry.uptimeResults .priorityClassName }}"
168
168
{{- end }}
169
169
{{- end }}
0 commit comments