Skip to content

Commit 4005137

Browse files
committed
chore: remove broker backup-handler
1 parent dca3dab commit 4005137

File tree

3 files changed

+6
-16
lines changed

3 files changed

+6
-16
lines changed

charts/lagoon-core/Chart.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,3 +42,7 @@ annotations:
4242
artifacthub.io/changes: |
4343
- kind: fixed
4444
description: don't deploy any 'ui-beta' resources when not enabled
45+
- kind: changed
46+
description: backup-handler no longer requires rabbitmq connections
47+
- kind: removed
48+
description: removed webhooks2tasks as no longer used

charts/lagoon-core/templates/backup-handler.deployment.yaml

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ spec:
1515
template:
1616
metadata:
1717
annotations:
18-
checksum/broker.secret: {{ include (print $.Template.BasePath "/broker.secret.yaml") . | sha256sum }}
1918
checksum/secret: {{ include (print $.Template.BasePath "/secret.yaml") . | sha256sum }}
2019
{{- with .Values.backupHandler.podAnnotations }}
2120
{{- toYaml . | nindent 8 }}
@@ -38,22 +37,8 @@ spec:
3837
command:
3938
- "sh"
4039
- "-c"
41-
- |
42-
while ! nc -zvw5 $RABBITMQ_ADDRESS $RABBITMQ_PORT; do sleep 2; done
43-
exec /app/backup-handler
40+
- exec /app/backup-handler
4441
env:
45-
- name: RABBITMQ_ADDRESS
46-
value: {{ include "lagoon-core.broker.fullname" . }}
47-
- name: RABBITMQ_USERNAME
48-
valueFrom:
49-
secretKeyRef:
50-
name: {{ include "lagoon-core.broker.fullname" . }}
51-
key: RABBITMQ_USERNAME
52-
- name: RABBITMQ_PASSWORD
53-
valueFrom:
54-
secretKeyRef:
55-
name: {{ include "lagoon-core.broker.fullname" . }}
56-
key: RABBITMQ_PASSWORD
5742
- name: JWT_SECRET
5843
valueFrom:
5944
secretKeyRef:

charts/lagoon-core/templates/webhook-handler.deployment.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ spec:
1616
metadata:
1717
annotations:
1818
checksum/broker.secret: {{ include (print $.Template.BasePath "/broker.secret.yaml") . | sha256sum }}
19+
checksum/secret: {{ include (print $.Template.BasePath "/secret.yaml") . | sha256sum }}
1920
{{- with .Values.webhookHandler.podAnnotations }}
2021
{{- toYaml . | nindent 8 }}
2122
{{- end }}

0 commit comments

Comments
 (0)