Skip to content

Commit 730d443

Browse files
committed
Adapt values-ci.yaml in install-helm-chart.sh
1 parent 0a1c5ce commit 730d443

File tree

1 file changed

+36
-0
lines changed

1 file changed

+36
-0
lines changed

.github/scripts/install-helm-chart.sh

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,17 +7,53 @@ CURRENT_SCRIPT_DIR=$(realpath "$(dirname "$0")")
77
HELM_DEPLOY_SCRIPT_BASE_PATH=$(realpath "${CURRENT_SCRIPT_DIR}"/../../api/kubernetes)
88

99
PASSWORD_FOR_ARGO_PASSWORD="a-super-secure-password-we-dont-care-about"
10+
NAMESPACE="phoenix"
1011

1112
# Generate a sample values-ci.yaml. We will also inherit configuration from values-dev.yaml
1213
cat <<EOF > values-ci.yaml
1314
replicaCount: 1
1415
16+
api:
17+
version: "${API_VERSION}"
18+
multiTenant: true
19+
servletContextPath: /cosmotech-api
20+
21+
server:
22+
error:
23+
include-stacktrace: always
24+
25+
config:
26+
spring:
27+
security:
28+
oauth2:
29+
resource-server:
30+
jwt:
31+
issuer-uri: "https://localhost/${NAMESPACE}/auth/realms/cosmotech"
32+
jwk-set-uri: "http://${NAMESPACE}-keycloak.${NAMESPACE}.svc.cluster.local/${NAMESPACE}/auth/realms/cosmotech/protocol/openid-connect/certs"
33+
audiences:
34+
- "account"
35+
1536
image:
1637
repository: localhost:5000/cosmotech-api
1738
tag: ${IMAGE_TAG}
1839
config:
1940
csm:
2041
platform:
42+
authorization:
43+
mailJwtClaim: "email"
44+
rolesJwtClaim: "customRoles"
45+
principalJwtClaim: "email"
46+
tenantIdJwtClaim: "iss"
47+
allowed-tenants:
48+
- "${NAMESPACE}"
49+
- "cosmotech"
50+
identityProvider:
51+
code: keycloak
52+
authorizationUrl: "https://localhost/${NAMESPACE}/auth/realms/cosmotech/protocol/openid-connect/auth"
53+
tokenUrl: "https://localhost/${NAMESPACE}/auth/realms/cosmotech/protocol/openid-connect/token"
54+
defaultScopes:
55+
openid: "OpenId Scope"
56+
email: "Email Scope"
2157
azure:
2258
credentials:
2359
core:

0 commit comments

Comments
 (0)