Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

move to production #4014

Merged
merged 8 commits into from
Dec 5, 2024
2 changes: 1 addition & 1 deletion k8s/auth-service/values-prod.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ app:
replicaCount: 3
image:
repository: eu.gcr.io/airqo-250220/airqo-auth-api
tag: prod-a7e2441e-1733386719
tag: prod-f3a0213d-1733408157
nameOverride: ''
fullnameOverride: ''
podAnnotations: {}
Expand Down
2 changes: 1 addition & 1 deletion k8s/exceedance/values-prod-airqo.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ app:
configmap: env-exceedance-production
image:
repository: eu.gcr.io/airqo-250220/airqo-exceedance-job
tag: prod-a7e2441e-1733386719
tag: prod-f3a0213d-1733408157
nameOverride: ''
fullnameOverride: ''
2 changes: 1 addition & 1 deletion k8s/exceedance/values-prod-kcca.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ app:
configmap: env-exceedance-production
image:
repository: eu.gcr.io/airqo-250220/kcca-exceedance-job
tag: prod-a7e2441e-1733386719
tag: prod-f3a0213d-1733408157
nameOverride: ''
fullnameOverride: ''
2 changes: 1 addition & 1 deletion k8s/predict/values-prod.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ images:
predictJob: eu.gcr.io/airqo-250220/airqo-predict-job
trainJob: eu.gcr.io/airqo-250220/airqo-train-job
predictPlaces: eu.gcr.io/airqo-250220/airqo-predict-places-air-quality
tag: prod-a7e2441e-1733386719
tag: prod-f3a0213d-1733408157
api:
name: airqo-prediction-api
label: prediction-api
Expand Down
2 changes: 1 addition & 1 deletion k8s/spatial/values-prod.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ app:
replicaCount: 3
image:
repository: eu.gcr.io/airqo-250220/airqo-spatial-api
tag: prod-a7e2441e-1733386719
tag: prod-f3a0213d-1733408157
nameOverride: ''
fullnameOverride: ''
podAnnotations: {}
Expand Down
2 changes: 1 addition & 1 deletion k8s/workflows/values-prod.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ images:
initContainer: eu.gcr.io/airqo-250220/airqo-workflows-xcom
redisContainer: eu.gcr.io/airqo-250220/airqo-redis
containers: eu.gcr.io/airqo-250220/airqo-workflows
tag: prod-a7e2441e-1733386719
tag: prod-f3a0213d-1733408157
nameOverride: ''
fullnameOverride: ''
podAnnotations: {}
Expand Down
6 changes: 6 additions & 0 deletions src/auth-service/utils/create-network.js
Original file line number Diff line number Diff line change
Expand Up @@ -1032,7 +1032,10 @@ const createNetwork = {
);
}

const usersFilter = generateFilter.users(request, next);

const filter = {
...usersFilter,
"network_roles.network": { $ne: net_id },
category: "networks",
};
Expand Down Expand Up @@ -1076,7 +1079,10 @@ const createNetwork = {
);
}

const usersFilter = generateFilter.users(request, next);

const filter = {
...usersFilter,
"network_roles.network": net_id,
category: "networks",
};
Expand Down
Loading