Skip to content

update deployment configurationn #8

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 22 additions & 0 deletions .helm/adhoc/certificate.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
apiVersion: cert-manager.io/v1
kind: Certificate
metadata:
Expand All @@ -18,3 +19,24 @@ spec:
secretName: siibra-spatial-backend-secret
usages:
- server auth
---
apiVersion: cert-manager.io/v1
kind: Certificate
metadata:
name: siibra-spatial-backend-canonical
spec:
commonName: siibra-spatial-backend.apps.ebrains.eu
isCA: false
dnsNames:
- siibra-spatial-backend.apps.ebrains.eu
issuerRef:
kind: ClusterIssuer
name: letsencrypt-production-issuer-1
privateKey:
algorithm: RSA
encoding: PKCS1
size: 2048
renewBefore: 120h
secretName: siibra-spatial-backend-canonical-secret
usages:
- server auth
2 changes: 1 addition & 1 deletion .helm/hbp_spatial_backend/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.1.0
version: 0.1.1

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
Expand Down
9 changes: 9 additions & 0 deletions .helm/hbp_spatial_backend/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,10 +54,17 @@ ingress:
paths:
- path: /
pathType: ImplementationSpecific
- host: siibra-spatial-backend.apps.ebrains.eu
paths:
- path: /
pathType: ImplementationSpecific
tls:
- secretName: siibra-spatial-backend-secret
hosts:
- siibra-spatial-backend.apps.tc.humanbrainproject.eu
- secretName: siibra-spatial-backend-canonical-secret
hosts:
- siibra-spatial-backend.apps.ebrains.eu

resources:
# We usually recommend not to specify default resources and to leave this as a conscious
Expand All @@ -67,9 +74,11 @@ resources:
limits:
cpu: 300m
memory: 1024Mi
ephemeral-storage: 512Mi
requests:
cpu: 150m
memory: 256Mi
ephemeral-storage: 512Mi

autoscaling:
enabled: false
Expand Down
Loading