Skip to content

Commit

Permalink
Merge pull request #5 from getgoing/custom-entrypoint
Browse files Browse the repository at this point in the history
[OPS-3977] monkey patch in custom entrypoint hack
  • Loading branch information
bkk-bcd authored Apr 18, 2024
2 parents 9e03d17 + 10ff4e6 commit 9c091f9
Show file tree
Hide file tree
Showing 15 changed files with 30 additions and 15 deletions.
3 changes: 2 additions & 1 deletion sentry/templates/deployment-snuba-consumer.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,8 @@ spec:
- name: {{ .Chart.Name }}-snuba
image: "{{ template "snuba.image" . }}"
imagePullPolicy: {{ default "IfNotPresent" .Values.images.snuba.pullPolicy }}
command:
command: ["/usr/src/snuba/custom-entrypoint.sh"]
args:
- "snuba"
- "consumer"
- "--storage"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,8 @@ spec:
- name: {{ .Chart.Name }}-snuba
image: "{{ template "snuba.image" . }}"
imagePullPolicy: {{ default "IfNotPresent" .Values.images.snuba.pullPolicy }}
command:
command: ["/usr/src/snuba/custom-entrypoint.sh"]
args:
- "snuba"
- "consumer"
- "--storage"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,8 @@ spec:
- name: {{ .Chart.Name }}-snuba
image: "{{ template "snuba.image" . }}"
imagePullPolicy: {{ default "IfNotPresent" .Values.images.snuba.pullPolicy }}
command:
command: ["/usr/src/snuba/custom-entrypoint.sh"]
args:
- "snuba"
- "consumer"
- "--storage"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,8 @@ spec:
- name: {{ .Chart.Name }}-snuba
image: "{{ template "snuba.image" . }}"
imagePullPolicy: {{ default "IfNotPresent" .Values.images.snuba.pullPolicy }}
command:
command: ["/usr/src/snuba/custom-entrypoint.sh"]
args:
- "snuba"
- "consumer"
- "--storage"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,8 @@ spec:
- name: {{ .Chart.Name }}-snuba
image: "{{ template "snuba.image" . }}"
imagePullPolicy: {{ default "IfNotPresent" .Values.images.snuba.pullPolicy }}
command:
command: ["/usr/src/snuba/custom-entrypoint.sh"]
args:
- "snuba"
- "consumer"
- "--storage"
Expand Down
3 changes: 2 additions & 1 deletion sentry/templates/deployment-snuba-metrics-consumer.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,8 @@ spec:
- name: {{ .Chart.Name }}-snuba
image: "{{ template "snuba.image" . }}"
imagePullPolicy: {{ default "IfNotPresent" .Values.images.snuba.pullPolicy }}
command:
command: ["/usr/src/snuba/custom-entrypoint.sh"]
args:
- "snuba"
- "consumer"
- "--storage"
Expand Down
3 changes: 2 additions & 1 deletion sentry/templates/deployment-snuba-outcomes-consumer.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,8 @@ spec:
- name: {{ .Chart.Name }}-snuba
image: "{{ template "snuba.image" . }}"
imagePullPolicy: {{ default "IfNotPresent" .Values.images.snuba.pullPolicy }}
command:
command: ["/usr/src/snuba/custom-entrypoint.sh"]
args:
- "snuba"
- "consumer"
- "--storage"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,8 @@ spec:
- name: {{ .Chart.Name }}-snuba
image: "{{ template "snuba.image" . }}"
imagePullPolicy: {{ default "IfNotPresent" .Values.images.snuba.pullPolicy }}
command:
command: ["/usr/src/snuba/custom-entrypoint.sh"]
args:
- "snuba"
- "consumer"
- "--storage"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,8 @@ spec:
- name: {{ .Chart.Name }}-snuba
image: "{{ template "snuba.image" . }}"
imagePullPolicy: {{ default "IfNotPresent" .Values.images.snuba.pullPolicy }}
command:
command: ["/usr/src/snuba/custom-entrypoint.sh"]
args:
- "snuba"
- "consumer"
- "--storage"
Expand Down
3 changes: 2 additions & 1 deletion sentry/templates/deployment-snuba-replacer.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,8 @@ spec:
- name: {{ .Chart.Name }}-snuba
image: "{{ template "snuba.image" . }}"
imagePullPolicy: {{ default "IfNotPresent" .Values.images.snuba.pullPolicy }}
command:
command: ["/usr/src/snuba/custom-entrypoint.sh"]
args:
- "snuba"
- "replacer"
- "--storage"
Expand Down
3 changes: 2 additions & 1 deletion sentry/templates/deployment-snuba-replays-consumer.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,8 @@ spec:
- name: {{ .Chart.Name }}-snuba
image: "{{ template "snuba.image" . }}"
imagePullPolicy: {{ default "IfNotPresent" .Values.images.snuba.pullPolicy }}
command:
command: ["/usr/src/snuba/custom-entrypoint.sh"]
args:
- "snuba"
- "consumer"
- "--storage"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,8 @@ spec:
- name: {{ .Chart.Name }}-snuba
image: "{{ template "snuba.image" . }}"
imagePullPolicy: {{ default "IfNotPresent" .Values.images.snuba.pullPolicy }}
command:
command: ["/usr/src/snuba/custom-entrypoint.sh"]
args:
- "snuba"
- "subscriptions-scheduler-executor"
- "--auto-offset-reset={{ .Values.snuba.subscriptionConsumerEvents.autoOffsetReset }}"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,8 @@ spec:
- name: {{ .Chart.Name }}-snuba
image: "{{ template "snuba.image" . }}"
imagePullPolicy: {{ default "IfNotPresent" .Values.images.snuba.pullPolicy }}
command:
command: ["/usr/src/snuba/custom-entrypoint.sh"]
args:
- "snuba"
- "subscriptions-scheduler-executor"
- "--auto-offset-reset={{ .Values.snuba.subscriptionConsumerMetrics.autoOffsetReset }}"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,8 @@ spec:
- name: {{ .Chart.Name }}-snuba
image: "{{ template "snuba.image" . }}"
imagePullPolicy: {{ default "IfNotPresent" .Values.images.snuba.pullPolicy }}
command:
command: ["/usr/src/snuba/custom-entrypoint.sh"]
args:
- "snuba"
- "subscriptions-scheduler-executor"
- "--auto-offset-reset={{ .Values.snuba.subscriptionConsumerTransactions.autoOffsetReset }}"
Expand Down
3 changes: 2 additions & 1 deletion sentry/templates/deployment-snuba-transactions-consumer.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,8 @@ spec:
- name: {{ .Chart.Name }}-snuba
image: "{{ template "snuba.image" . }}"
imagePullPolicy: {{ default "IfNotPresent" .Values.images.snuba.pullPolicy }}
command:
command: ["/usr/src/snuba/custom-entrypoint.sh"]
args:
- "snuba"
- "consumer"
- "--storage"
Expand Down

0 comments on commit 9c091f9

Please sign in to comment.