Skip to content

Commit

Permalink
Merge pull request bcgov#235 from OpSecId/trustdidweb-server-py
Browse files Browse the repository at this point in the history
Add dev TDW server values
  • Loading branch information
esune authored Oct 15, 2024
2 parents 150ecca + 5a01522 commit 0502ddf
Show file tree
Hide file tree
Showing 4 changed files with 118 additions and 0 deletions.
10 changes: 10 additions & 0 deletions services/trustdidweb-server-py/charts/dev/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/dev/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: ghcr.io/decentralized-identity/trustdidweb-server-py
tag: 0.1.0
pullPolicy: Always
host: "registry-dev.apps.silver.devops.gov.bc.ca"
environment:
DOMAIN: "registry-dev.apps.silver.devops.gov.bc.ca"
ENDORSER_MULTIKEY: "z6MkgSZwM4LUgh2WEtX6TC1FRYevRbgZHkH4ty7e13TiSQy3"
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
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: ghcr.io/decentralized-identity/trustdidweb-server-py
tag: 0.1.0
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 0502ddf

Please sign in to comment.