Skip to content

Commit 83e6657

Browse files
committed
alert-hub(staging): rabbitmq integration
1 parent fae6813 commit 83e6657

File tree

1 file changed

+32
-68
lines changed

1 file changed

+32
-68
lines changed

applications/argocd/staging/applications/alert-hub-backend.yaml

Lines changed: 32 additions & 68 deletions
Original file line numberDiff line numberDiff line change
@@ -9,77 +9,41 @@ spec:
99
project: default
1010
source:
1111
repoURL: ghcr.io/ifrcgo
12-
chart: ifrcgo-alert-hub-helm
13-
targetRevision: 0.0.1-develop.c53f7d29
12+
# chart: ifrcgo-alert-hub-helm
13+
chart: ifrcgo-alert-hub-dev-helm
14+
targetRevision: 0.1.1-feat-msg-type-cancel.c026cbfa
1415
helm:
15-
valuesObject:
16-
global:
17-
security:
18-
allowInsecureImages: true
19-
redis:
20-
image:
21-
repository: bitnamilegacy/redis
22-
api:
23-
resources:
24-
requests:
25-
cpu: "0.2"
26-
memory: 1Gi
27-
worker:
28-
beat:
29-
resources:
30-
requests:
31-
cpu: "0.1"
32-
memory: 0.15Gi
33-
flower:
34-
resources:
35-
requests:
36-
cpu: "0.1"
37-
memory: 0.5Gi
38-
queues:
39-
default:
40-
resources:
41-
requests:
42-
cpu: "0.1"
43-
memory: 0.5Gi
44-
feeds:
45-
resources:
46-
requests:
47-
cpu: "0.1"
48-
memory: 0.5Gi
49-
ingress:
50-
host: "alerthub-stage-api.ifrc.org"
51-
tls:
52-
secretName: "alerthub-helm-secret-cert"
53-
azure:
54-
aksSecretsProviderAvailable: true
55-
keyvault:
56-
name: "alert-hub-staging-kv"
57-
clientId: "99dd63fe-721e-4abb-b30d-e2b782d2893d"
58-
tenantId: "a2b53be5-734e-4e6c-ab0d-d184f60fd917"
59-
env:
60-
APP_FRONTEND_HOST: "https://alerthub-stage.ifrc.org"
61-
APP_DOMAIN: "alerthub-stage-api.ifrc.org"
62-
DJANGO_ALLOWED_HOSTS: "alerthub-stage-api.ifrc.org"
63-
SESSION_COOKIE_DOMAIN: ".ifrc.org"
64-
CSRF_COOKIE_DOMAIN: ".ifrc.org"
65-
CORS_ALLOWED_ORIGINS: "https://alerthub-stage.ifrc.org"
66-
# Blob Storage Configs
67-
USE_AZURE_STORAGE: true
68-
AZURE_CLIENT_ID: 99dd63fe-721e-4abb-b30d-e2b782d2893d
69-
AZURE_TENANT_ID: a2b53be5-734e-4e6c-ab0d-d184f60fd917
70-
AZURE_STORAGE_MEDIA_CONTAINER: alert-hub-staging-media-container
71-
AZURE_STORAGE_STATIC_CONTAINER: alert-hub-staging-static-container
72-
AZURE_STORAGE_ACCOUNT_NAME: ifrctgo
73-
AZURE_STORAGE_MANAGED_IDENTITY: true
74-
serviceAccount:
75-
create: true
76-
name: service-token-reader
77-
annotations:
78-
azure.workload.identity/client-id: "99dd63fe-721e-4abb-b30d-e2b782d2893d"
79-
labels:
80-
azure.workload.identity/use: "true"
8116
valueFiles:
8217
- values-staging.yaml
18+
valuesObject:
19+
app:
20+
ingress:
21+
host: "alerthub-stage-api.ifrc.org"
22+
tls:
23+
secretName: "alerthub-helm-secret-cert"
24+
env:
25+
APP_FRONTEND_HOST: "https://alerthub-stage.ifrc.org"
26+
APP_DOMAIN: "alerthub-stage-api.ifrc.org"
27+
DJANGO_ALLOWED_HOSTS: "alerthub-stage-api.ifrc.org"
28+
SESSION_COOKIE_DOMAIN: ".ifrc.org"
29+
CSRF_COOKIE_DOMAIN: ".ifrc.org"
30+
CORS_ALLOWED_ORIGINS: "https://alerthub-stage.ifrc.org"
31+
# Blob Storage Configs
32+
USE_AZURE_STORAGE: "true"
33+
AZURE_CLIENT_ID: 99dd63fe-721e-4abb-b30d-e2b782d2893d
34+
AZURE_TENANT_ID: a2b53be5-734e-4e6c-ab0d-d184f60fd917
35+
AZURE_STORAGE_MEDIA_CONTAINER: alert-hub-staging-media-container
36+
AZURE_STORAGE_STATIC_CONTAINER: alert-hub-staging-static-container
37+
AZURE_STORAGE_ACCOUNT_NAME: ifrctgo
38+
AZURE_STORAGE_MANAGED_IDENTITY: "true"
39+
serviceAccount:
40+
annotations:
41+
azure.workload.identity/client-id: "99dd63fe-721e-4abb-b30d-e2b782d2893d"
42+
secretsStoreCsiDriver:
43+
parameters:
44+
clientID: "99dd63fe-721e-4abb-b30d-e2b782d2893d"
45+
keyvaultName: "alert-hub-staging-kv"
46+
tenantId: "a2b53be5-734e-4e6c-ab0d-d184f60fd917"
8347
destination:
8448
server: https://kubernetes.default.svc
8549
namespace: alert-hub

0 commit comments

Comments
 (0)