Skip to content

Commit

Permalink
chore: Fixes for rabbitmq (#31)
Browse files Browse the repository at this point in the history
* chore: fixes for rabbit subchart

* bump chart
  • Loading branch information
fuziontech authored Aug 30, 2023
1 parent ff3790c commit 6cd6a07
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion charts/housewatch/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: housewatch
description: Open source tool for monitoring and managing ClickHouse clusters
type: application
version: 0.1.3
version: 0.1.4
appVersion: "0.1.1"
dependencies:
- name: postgresql
Expand Down
Binary file added charts/housewatch/charts/postgresql-12.10.0.tgz
Binary file not shown.
Binary file added charts/housewatch/charts/rabbitmq-12.1.3.tgz
Binary file not shown.
4 changes: 2 additions & 2 deletions charts/housewatch/templates/deployment-web.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,8 @@ spec:
value: "{{ .Values.clickhouse.ca }}"
- name: DATABASE_URL
value: "{{ . | tpl .Values.database_url }}"
- name: RABBITMQ_URL
value: "{{ . | tpl .Values.rabbitmq_url}}"
- name: RABBITMQ_URL
value: "amqp://{{ .Values.rabbitmq.auth.username }}:{{ .Values.rabbitmq.auth.password }}@{{ .Release.Name }}-rabbitmq:5672/"
livenessProbe:
httpGet:
path: /
Expand Down
4 changes: 2 additions & 2 deletions charts/housewatch/templates/deployment-worker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ spec:
value: "{{ .Values.clickhouse.ca }}"
- name: DATABASE_URL
value: "{{ . | tpl .Values.database_url }}"
- name: RABBITMQ_URL
value: "{{ . | tpl .Values.rabbitmq_url}}"
- name: RABBITMQ_URL
value: "amqp://{{ .Values.rabbitmq.auth.username }}:{{ .Values.rabbitmq.auth.password }}@{{ .Release.Name }}-rabbitmq:5672/"
resources:
{{- toYaml .Values.worker.resources | nindent 12 }}
2 changes: 1 addition & 1 deletion charts/housewatch/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,11 +53,11 @@ postgresql:
username: housewatch
password: housewatch

rabbitmq_url: amqp://housewatch:housewatch@{{ include "rabbitmq.primary.fullname" .Subcharts.rabbitmq}}:5672
rabbitmq:
auth:
username: housewatch
password: housewatch
erlangCookie: housewatch

redis:
image:
Expand Down

0 comments on commit 6cd6a07

Please sign in to comment.