Skip to content

Commit

Permalink
Fix kube-ci integration vhost setup
Browse files Browse the repository at this point in the history
  • Loading branch information
pcapriotti committed Jun 20, 2024
1 parent 985541b commit a2f7035
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 2 additions & 0 deletions charts/integration/templates/integration-integration.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,8 @@ spec:
- name: "integration-cassandra"
mountPath: "/certs/cassandra"
{{- end }}
- name: rabbitmq-ca
mountPath: /certs/rabbitmq-ca
env:
- name: INTEGRATION_DYNAMIC_BACKENDS_POOLSIZE
value: "{{ .Values.config.dynamicBackendsPoolsize }}"
Expand Down
3 changes: 1 addition & 2 deletions integration/scripts/integration-dynamic-backends-vhosts.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ DOMAIN=$2

echo 'Creating RabbitMQ resources'

curl -u "$RABBITMQ_USERNAME":"$RABBITMQ_PASSWORD" -X PUT "$ENDPOINT_URL/$DOMAIN"
curl --cacert /certs/rabbitmq-ca/ca.pem -u "$RABBITMQ_USERNAME:$RABBITMQ_PASSWORD" -X PUT "$ENDPOINT_URL/$DOMAIN"

echo "RabbitMQ vhost created successfully for $DOMAIN"

0 comments on commit a2f7035

Please sign in to comment.