Skip to content

Commit a75f059

Browse files
committed
fix(controller): rabbitmq-url creds
1 parent bf2b091 commit a75f059

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

charts/controller/templates/_helpers.tpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ env:
135135
valueFrom:
136136
secretKeyRef:
137137
name: controller-creds
138-
key: rabbitmqUrl
138+
key: rabbitmq-url
139139
{{- else if eq .Values.global.rabbitmqLocation "on-cluster" }}
140140
- name: "DRYCC_RABBITMQ_USERNAME"
141141
valueFrom:

charts/controller/templates/controller-secret-creds.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,8 @@ data:
1313
{{- if (.Values.databaseReplicaUrl) }}
1414
database-replica-url: {{ .Values.databaseReplicaUrl | b64enc }}
1515
{{- end }}
16+
{{- if (.Values.rabbitmqUrl) }}
17+
rabbitmq-url: {{ .Values.rabbitmqUrl | b64enc }}
18+
{{- end }}
1619
django-secret-key: {{ randAscii 64 | b64enc }}
1720
deploy-hook-secret-key: {{ randAscii 64 | b64enc }}

0 commit comments

Comments
 (0)