Skip to content

Commit e2988ca

Browse files
authored
fix: dragonfly connectivity on production envs (#439)
**Describe the pull request** This pull request addresses an issue where Dragonfly is experiencing connectivity issues in production environments. The fix involves refining the network configuration and connection settings for Dragonfly, specifically when deployed in production. **Checklist** - [x] I have linked the relative issue to this pull request - [x] I have made the modifications or added tests related to my PR - [x] I have added/updated the documentation for my RP - [x] I put my PR in Ready for Review only when all the checklist is checked **Breaking changes ?** no
1 parent 9d51f45 commit e2988ca

File tree

2 files changed

+1
-11
lines changed

2 files changed

+1
-11
lines changed

deploy/stacks/apps/s42/api.tf

+1-1
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ module "api" {
6464
}
6565

6666
DFLY_PASSWORD = {
67-
key = "DFLY_PASSWORD"
67+
key = "DFLY_PASSWORD_ENCODED"
6868
name = "dragonfly-credentials"
6969
}
7070

deploy/stacks/apps/s42/storages.tf

-10
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,6 @@ locals {
33
rabbitmqClusterReference = {
44
name = local.rabbitmqClusterName
55
}
6-
7-
dragonflyProbe = {
8-
httpGet = {
9-
path = "/"
10-
port = "dragonfly"
11-
}
12-
}
136
}
147

158
resource "kubernetes_manifest" "rabbitmq" {
@@ -256,9 +249,6 @@ module "dragonfly" {
256249
port = 6379
257250
}
258251

259-
livenessProbe = local.dragonflyProbe
260-
readinessProbe = local.dragonflyProbe
261-
262252
resources = {
263253
requests = {
264254
cpu = "100m"

0 commit comments

Comments
 (0)