Skip to content
This repository has been archived by the owner on May 18, 2020. It is now read-only.

Commit

Permalink
match back to published chart as rabbitmq host doesnt seem to be feed…
Browse files Browse the repository at this point in the history
…ing through
  • Loading branch information
Ryan Dawson committed Aug 15, 2018
1 parent 4ab623c commit 87eb9ab
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions charts/example-runtime-bundle/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,17 @@ spec:
- name: SPRING_RABBITMQ_HOST
{{- if .Values.global.rabbitmq.host.value }}
value: "{{ .Values.global.rabbitmq.host.value }}"
{{- else }}
{{ else }}
value: "{{ .Release.Name }}-rabbitmq"
{{- end }}
{{ end }}
- name: SPRING_RABBITMQ_USERNAME
value: {{ .Values.global.rabbitmq.username.value }}
- name: SPRING_RABBITMQ_HOST
{{- if .Values.global.rabbitmq.host.value }}
value: "{{ .Values.global.rabbitmq.host.value }}"
{{- else }}
value: "{{ .Release.Name }}-rabbitmq"
{{- end }}
- name: SPRING_RABBITMQ_USERNAME
value: {{ .Values.global.rabbitmq.username.value }}
- name: SPRING_RABBITMQ_PASSWORD
Expand All @@ -44,7 +52,6 @@ spec:
- name: ACT_KEYCLOAK_URL
value: "{{ .Values.global.keycloak.url }}"
{{- end }}
{{- if .Values.db.deployPostgres }}
- name: SPRING_DATASOURCE_URL
{{- if .Values.db.uri }}
value: "{{ .Values.db.uri }}"
Expand Down

0 comments on commit 87eb9ab

Please sign in to comment.