Skip to content

Commit

Permalink
add test configurations
Browse files Browse the repository at this point in the history
Signed-off-by: pstlouis <[email protected]>
  • Loading branch information
PatStLouis committed Oct 10, 2024
1 parent 4239cc3 commit 08049de
Show file tree
Hide file tree
Showing 2 changed files with 59 additions and 0 deletions.
10 changes: 10 additions & 0 deletions services/trustdidweb-server-py/charts/test/Chart.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
apiVersion: v2
name: tdw-server
description: tdw-server - dev
type: application
version: 0.0.9
appVersion: "0.1.0"
dependencies:
- name: tdw-server
version: 0.0.9
repository: https://identity.foundation/trustdidweb-server-py
49 changes: 49 additions & 0 deletions services/trustdidweb-server-py/charts/test/values.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
---
ingress:
annotations:
route.openshift.io/termination: edge
networkPolicy:
ingress:
namespaceSelector:
network.openshift.io/policy-group: ingress

server:
image:
repository: image-registry.openshift-image-registry.svc:5000/4a9599-tools/tdw-server
tag: latest
pullPolicy: Always
host: "registry-test.apps.silver.devops.gov.bc.ca"
environment:
DOMAIN: "registry-test.apps.silver.devops.gov.bc.ca"
ENDORSER_MULTIKEY: "z6Mkqnasc6f4mY1vbpGxCkgZNW5VGumPNQGMyqCpf8zWgUX8"
autoscaling:
enabled: true
minReplicas: 1
maxReplicas: 10
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: 2
memory: 4000Mi
requests:
cpu: 200m
memory: 820Mi

0 comments on commit 08049de

Please sign in to comment.