Skip to content

Commit

Permalink
only inject rabbitmq envs when rabbit is enabled
Browse files Browse the repository at this point in the history
  • Loading branch information
edevosc2c committed Nov 6, 2023
1 parent e6c2707 commit bf93a8d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions templates/console/console-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,9 @@ spec:
{{- include "georchestra.common-envs" . | nindent 10 }}
{{- include "georchestra.ldap-envs" . | nindent 10 }}
{{- include "georchestra.database-georchestra-envs" . | nindent 10 }}
{{- if $rabbitmq.enabled -}}
{{- include "georchestra.rabbitmq-georchestra-envs" . | nindent 10 }}
{{- end }}
{{- if $webapp.extra_environment }}
{{- $webapp.extra_environment | toYaml | nindent 10 }}
{{- end }}
Expand Down
2 changes: 2 additions & 0 deletions templates/gateway/gateway-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,9 @@ spec:
{{- include "georchestra.common-envs" . | nindent 10 }}
{{- include "georchestra.ldap-envs" . | nindent 10 }}
{{- include "georchestra.database-georchestra-envs" . | nindent 10 }}
{{- if $rabbitmq.enabled -}}
{{- include "georchestra.rabbitmq-georchestra-envs" . | nindent 10 }}
{{- end }}
{{- if $webapp.extra_environment }}
{{- $webapp.extra_environment | toYaml | nindent 10 }}
{{- end }}
Expand Down

0 comments on commit bf93a8d

Please sign in to comment.