Skip to content

Commit

Permalink
cicd: change BPDM charts dev configurtion for eclipse-tractusx/bpdm#872
Browse files Browse the repository at this point in the history
  • Loading branch information
nicoprow committed May 7, 2024
1 parent 75bd2db commit 325d3d7
Showing 1 changed file with 57 additions and 149 deletions.
206 changes: 57 additions & 149 deletions dev/bpdm/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,6 @@ bpdm-gate:
requests:
cpu: 300m
memory: 2Gi
springProfiles:
- auth
- pool-auth
- orchestrator-auth
ingress:
enabled: true
hosts:
Expand Down Expand Up @@ -42,37 +38,28 @@ bpdm-gate:
bpdm:
bpn:
owner-bpn-l:
tasks:
creation:
fromSharingMember:
cron: '*/30 * * * * *'
fromPool:
cron: '*/30 * * * * *'
check:
cron: '*/30 * * * * *'
client:
orchestrator:
base-url: "http://bpdm-dev-orchestrator:8080/orchestrator"
registration:
client-id: sa-cl7-cx-7
pool:
base-url: "http://bpdm-dev-pool:8080/pool"
registration:
client-id: sa-cl7-cx-7
security:
auth-server-url: https://centralidp.dev.demo.catena-x.net/auth
realm: CX-Central
client-id: Cl16-CX-BPDMGate
permissions:
readInput: view_company_data
writeInput: update_company_data
readOutput: view_shared_data
writeOutput: update_company_data
spring:
security:
oauth2:
client:
registration:
pool-client:
client-id: sa-cl7-cx-7
orchestrator-client:
client-id: sa-cl7-cx-7
readInputPartner: view_company_data
writeInputPartner: update_company_data
readOutputPartner: view_shared_data
readInputChangelog: view_company_data
readOutputChangelog: view_shared_data
readSharingState: view_company_data
writeSharingState: update_company_data
read_stats: view_company_data
springdoc:
swagger-ui:
oauth:
Expand All @@ -81,14 +68,14 @@ bpdm-gate:
spring:
datasource:
password: <path:bpdm/data/dev/pool/postgresql#password>
security:
oauth2:
client:
registration:
pool-client:
client-secret: <path:bpdm/data/dev/pool/admin-user#client-secret>
orchestrator-client:
client-secret: <path:bpdm/data/dev/pool/admin-user#client-secret>
bpdm:
client:
pool:
registration:
client-secret: <path:bpdm/data/dev/pool/admin-user#client-secret>
orchestrator:
registration:
client-secret: <path:bpdm/data/dev/pool/admin-user#client-secret>

postgres:
enabled: false
Expand All @@ -98,9 +85,6 @@ bpdm-pool:
tag: "main"
fullnameOverride: bpdm-dev-pool
enabled: true
springProfiles:
- auth
- orchestrator-auth
resources:
limits:
cpu: 800m
Expand Down Expand Up @@ -141,122 +125,39 @@ bpdm-pool:
client:
orchestrator:
base-url: "http://bpdm-dev-orchestrator:8080/orchestrator"
registration:
client-id: sa-cl7-cx-7
security:
auth-server-url: https://centralidp.dev.demo.catena-x.net/auth
realm: CX-Central
client-id: Cl7-CX-BPDM
permissions:
readPartner: view_company_data
writePartner: add_company_data
readMemberPartner: view_company_data
readMetaData: view_company_data
writeMetaData: add_company_data
readChangelog: view_company_data
readMemberChangelog: view_company_data
springdoc:
swagger-ui:
oauth:
client-id: Cl2-CX-Portal
spring:
security:
oauth2:
client:
provider:
registration:
orchestrator-client:
client-id: sa-cl7-cx-7
applicationSecrets:
spring:
datasource:
password: <path:bpdm/data/dev/pool/postgresql#password>
security:
oauth2:
client:
provider:
registration:
orchestrator-client:
client-secret: <path:bpdm/data/dev/pool/admin-user#client-secret>

bpdm-bridge-dummy:
image:
tag: "main"
fullnameOverride: bpdm-dev-bridge
springProfiles:
- auth
- gate-auth
- pool-auth
ingress:
enabled: true
annotations:
kubernetes.io/ingress.class: nginx
nginx.ingress.kubernetes.io/backend-protocol: "HTTP"
hosts:
- host: business-partners.dev.demo.catena-x.net
paths:
- path: /bridge
pathType: Prefix
tls:
- secretName: tls-secret
hosts:
- business-partners.dev.demo.catena-x.net
livenessProbe:
httpGet:
path: "/bridge/actuator/health/liveness"
readinessProbe:
httpGet:
path: "/bridge/actuator/health/readiness"
startupProbe:
httpGet:
path: "/bridge/actuator/health/readiness"
resources:
limits:
cpu: 800m
memory: 2Gi
requests:
cpu: 300m
memory: 2Gi
applicationConfig:
server:
servlet:
context-path: "/bridge"
bpdm:
client:
pool:
base-url: "http://bpdm-dev-pool:8080/pool"
gate:
base-url: "http://bpdm-dev-gate-test-company:8080/companies/test-company"
security:
auth-server-url: https://centralidp.dev.demo.catena-x.net/auth
realm: CX-Central
client-id: Cl7-CX-BPDM
permissions:
sync: add_company_data
spring:
security:
oauth2:
client:
registration:
pool-client:
client-id: sa-cl7-cx-7
gate-client:
client-id: sa-cl7-cx-7
applicationSecrets:
spring:
datasource:
password: <path:bpdm/data/dev/pool/postgresql#password>
security:
oauth2:
client:
registration:
gate-client:
client-secret: <path:bpdm/data/dev/pool/admin-user#client-secret>
pool-client:
client-secret: <path:bpdm/data/dev/pool/admin-user#client-secret>
orchestrator:
registration:
client-secret: <path:bpdm/data/dev/pool/admin-user#client-secret>

bpdm-orchestrator:
image:
tag: "main"
fullnameOverride: bpdm-dev-orchestrator
enabled: true
springProfiles:
- auth
replicaCount: 1
resources:
limits:
Expand All @@ -265,6 +166,20 @@ bpdm-orchestrator:
requests:
cpu: 300m
memory: 2Gi
ingress:
enabled: true
annotations:
kubernetes.io/ingress.class: nginx
nginx.ingress.kubernetes.io/backend-protocol: "HTTP"
hosts:
- host: business-partners.dev.demo.catena-x.net
paths:
- path: /orchestrator
pathType: Prefix
tls:
- secretName: tls-secret
hosts:
- business-partners.dev.demo.catena-x.net
livenessProbe:
httpGet:
path: "orchestrator/actuator/health/liveness"
Expand All @@ -285,8 +200,12 @@ bpdm-orchestrator:
client-id: Cl7-CX-BPDM
permissions:
createTask: add_company_data
viewTask: view_company_data
processTask:
readTask: add_company_data
reservation:
clean: add_company_data
cleanAndSync: add_company_data
poolSync: add_company_data
result:
clean: add_company_data
cleanAndSync: add_company_data
poolSync: add_company_data
Expand All @@ -295,8 +214,6 @@ bpdm-cleaning-service-dummy:
image:
tag: "main"
fullnameOverride: bpdm-dev-cleaning-service
springProfiles:
- orchestrator-auth
enabled: true
replicaCount: 1
resources:
Expand All @@ -311,27 +228,18 @@ bpdm-cleaning-service-dummy:
client:
orchestrator:
base-url: "http://bpdm-dev-orchestrator:8080/orchestrator"
provider:
issuer-uri: https://centralidp.dev.demo.catena-x.net/auth/realms/CX-Central
registration:
client-id: sa-cl7-cx-7
cleaningService:
pollingCron: "*/30 * * * * *"
spring:
security:
oauth2:
client:
provider:
orchestrator-oauth2-provider:
issuer-uri: https://centralidp.dev.demo.catena-x.net/auth/realms/CX-Central
registration:
orchestrator-client:
client-id: sa-cl7-cx-7
applicationSecrets:
spring:
security:
oauth2:
client:
registration:
orchestrator-client:
client-secret: <path:bpdm/data/dev/pool/admin-user#client-secret>

bpdm:
client:
orchestrator:
registration:
client-secret: <path:bpdm/data/dev/pool/admin-user#client-secret>

postgres:
auth:
Expand Down

0 comments on commit 325d3d7

Please sign in to comment.