Skip to content

Commit

Permalink
Add tdw server configurations
Browse files Browse the repository at this point in the history
Signed-off-by: Emiliano Suñé <emiliano.sune@gmail.com>
  • Loading branch information
esune committed Nov 28, 2024
1 parent 89a63a5 commit 8b2d216
Show file tree
Hide file tree
Showing 6 changed files with 86 additions and 15 deletions.
6 changes: 3 additions & 3 deletions services/trustdidweb-server-py/charts/dev/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ apiVersion: v2
name: tdw-server
description: tdw-server - dev
type: application
version: 0.0.9
appVersion: "0.1.0"
version: 0.0.10
appVersion: "0.1.1"
dependencies:
- name: tdw-server
version: 0.0.9
version: 0.0.10
repository: https://identity.foundation/trustdidweb-server-py
12 changes: 8 additions & 4 deletions services/trustdidweb-server-py/charts/dev/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@
ingress:
annotations:
route.openshift.io/termination: edge
tls:
- secretName: tdw-server-tls
hosts:
- registry-dev.digitaltrust.gov.bc.ca
networkPolicy:
ingress:
namespaceSelector:
Expand All @@ -12,14 +16,14 @@ server:
repository: ghcr.io/decentralized-identity/trustdidweb-server-py
tag: 0.1.1
pullPolicy: Always
host: "registry-dev.apps.silver.devops.gov.bc.ca"
host: "registry-dev.digitaltrust.gov.bc.ca"
environment:
DOMAIN: "registry-dev.apps.silver.devops.gov.bc.ca"
ENDORSER_MULTIKEY: "z6Mkqnasc6f4mY1vbpGxCkgZNW5VGumPNQGMyqCpf8zWgUX8"
DOMAIN: "registry-dev.digitaltrust.gov.bc.ca"
ENDORSER_MULTIKEY: "z6MkekByGjKYvP6dpMBJEHt5UN72rKPVoDgzcS9Hoq6bjfr1"
autoscaling:
enabled: true
minReplicas: 1
maxReplicas: 10
maxReplicas: 3
targetCPUUtilizationPercentage: 80
targetMemoryUtilizationPercentage: 80
stabilizationWindowSeconds: 300
Expand Down
10 changes: 10 additions & 0 deletions services/trustdidweb-server-py/charts/prod/Chart.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
apiVersion: v2
name: tdw-server
description: tdw-server - prod
type: application
version: 0.0.10
appVersion: "0.1.1"
dependencies:
- name: tdw-server
version: 0.0.10
repository: https://identity.foundation/trustdidweb-server-py
53 changes: 53 additions & 0 deletions services/trustdidweb-server-py/charts/prod/values.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
---
ingress:
annotations:
route.openshift.io/termination: edge
tls:
- secretName: tdw-server-tls
hosts:
- registry.digitaltrust.gov.bc.ca
networkPolicy:
ingress:
namespaceSelector:
network.openshift.io/policy-group: ingress

server:
image:
repository: ghcr.io/decentralized-identity/trustdidweb-server-py
tag: 0.1.1
pullPolicy: Always
host: "registry.digitaltrust.gov.bc.ca"
environment:
DOMAIN: "registry.digitaltrust.gov.bc.ca"
ENDORSER_MULTIKEY: "z6MkpJybUKKTCjrYPL6B6EWw534ESR3oEC6Bo2XSAefeUG7Y"
autoscaling:
enabled: true
minReplicas: 1
maxReplicas: 6
targetCPUUtilizationPercentage: 80
targetMemoryUtilizationPercentage: 80
stabilizationWindowSeconds: 300
resources:
limits:
cpu: 400m
memory: 1600Mi
requests:
cpu: 200m
memory: 820Mi
networkPolicy:
enabled: true
ingress:
enabled: true
namespaceSelector:
network.openshift.io/policy-group: ingress
postgresql:
primary:
persistence:
size: 5Gi
resources:
limits:
cpu: 500m
memory: 500Mi
requests:
cpu: 100m
memory: 100Mi
8 changes: 4 additions & 4 deletions services/trustdidweb-server-py/charts/test/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
apiVersion: v2
name: tdw-server
description: tdw-server - dev
description: tdw-server - test
type: application
version: 0.0.9
appVersion: "0.1.0"
version: 0.0.10
appVersion: "0.1.1"
dependencies:
- name: tdw-server
version: 0.0.9
version: 0.0.10
repository: https://identity.foundation/trustdidweb-server-py
12 changes: 8 additions & 4 deletions services/trustdidweb-server-py/charts/test/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@
ingress:
annotations:
route.openshift.io/termination: edge
tls:
- secretName: tdw-server-tls
hosts:
- registry-test.digitaltrust.gov.bc.ca
networkPolicy:
ingress:
namespaceSelector:
Expand All @@ -12,14 +16,14 @@ server:
repository: ghcr.io/decentralized-identity/trustdidweb-server-py
tag: 0.1.1
pullPolicy: Always
host: "registry-test.apps.silver.devops.gov.bc.ca"
host: "registry-test.digitaltrust.gov.bc.ca"
environment:
DOMAIN: "registry-test.apps.silver.devops.gov.bc.ca"
ENDORSER_MULTIKEY: "z6Mkqnasc6f4mY1vbpGxCkgZNW5VGumPNQGMyqCpf8zWgUX8"
DOMAIN: "registry-test.digitaltrust.gov.bc.ca"
ENDORSER_MULTIKEY: "z6MkpiDTaJuPzFZpg8MCYRM4ff7i6hNMQaL7fUP5pHBFo75c"
autoscaling:
enabled: true
minReplicas: 1
maxReplicas: 10
maxReplicas: 3
targetCPUUtilizationPercentage: 80
targetMemoryUtilizationPercentage: 80
stabilizationWindowSeconds: 300
Expand Down

0 comments on commit 8b2d216

Please sign in to comment.