Skip to content

Commit 9e35dbd

Browse files
committed
Adapt deploy_via_helm-dev.sh script with API Helm chart rework
1 parent 5f14951 commit 9e35dbd

File tree

1 file changed

+19
-15
lines changed

1 file changed

+19
-15
lines changed

api/kubernetes/deploy_via_helm-dev.sh

Lines changed: 19 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -654,7 +654,7 @@ replicaCount: 2
654654
api:
655655
version: "$API_VERSION"
656656
multiTenant: ${MULTI_TENANT:-true}
657-
657+
servletContextPath: /cosmotech-api
658658
659659
image:
660660
repository: ghcr.io/cosmo-tech/cosmotech-api
@@ -667,30 +667,35 @@ config:
667667
resource-server:
668668
jwt:
669669
issuer-uri: "https://localhost/${NAMESPACE}/auth/realms/cosmotech"
670-
jwk-set-uri: "http://${NAMESPACE}-keycloak.${NAMESPACE}.svc.cluster.local/auth/realms/cosmotech/protocol/openid-connect/certs"
670+
jwk-set-uri: "http://${NAMESPACE}-keycloak.${NAMESPACE}.svc.cluster.local/${NAMESPACE}/auth/realms/cosmotech/protocol/openid-connect/certs"
671671
audiences:
672672
- "account"
673+
logging:
674+
level:
675+
com.cosmotech: TRACE
676+
web: TRACE
677+
org.springframework: TRACE
678+
com.redis: TRACE
679+
server:
680+
error:
681+
include-stacktrace: always
673682
csm:
674683
platform:
675684
authorization:
685+
mailJwtClaim: "email"
686+
rolesJwtClaim: "customRoles"
687+
principalJwtClaim: "email"
688+
tenantIdJwtClaim: "iss"
676689
allowed-tenants:
677690
- "${NAMESPACE}"
678691
- "cosmotech"
679692
identityProvider:
680693
code: keycloak
681-
# Use to overwrite openAPI configuration
682694
authorizationUrl: "https://localhost/${NAMESPACE}/auth/realms/cosmotech/protocol/openid-connect/auth"
683695
tokenUrl: "https://localhost/${NAMESPACE}/auth/realms/cosmotech/protocol/openid-connect/token"
684696
defaultScopes:
685697
openid: "OpenId Scope"
686698
email: "Email Scope"
687-
#containerScopes:
688-
# csm.scenario.read: "Read access to scenarios"
689-
# Here you can set custom user and admin groups
690-
# - adminGroup will have same rights that Organization.Admin
691-
# - userGroup will have same rights that Organization.User
692-
# - viewerGroup will have same rights that Organization.Viewer
693-
# Use to define Okta Configuration
694699
argo:
695700
base-uri: "http://${ARGO_RELEASE_NAME}-argo-workflows-server.${NAMESPACE}.svc.cluster.local:2746"
696701
workflows:
@@ -718,13 +723,12 @@ ingress:
718723
hosts: [${COSMOTECH_API_DNS_NAME}]
719724
720725
resources:
721-
# Recommended in production environments
722726
limits:
723-
# cpu: 100m
724-
memory: 2048Mi
725-
requests:
726-
# cpu: 100m
727+
cpu: 1000m
727728
memory: 1024Mi
729+
requests:
730+
cpu: 500m
731+
memory: 512Mi
728732
729733
tolerations:
730734
- key: "vendor"

0 commit comments

Comments
 (0)