Skip to content

Commit

Permalink
fix hostnames
Browse files Browse the repository at this point in the history
  • Loading branch information
xgui3783 committed Jun 17, 2024
1 parent ed3bbbd commit 9e1c6d3
Show file tree
Hide file tree
Showing 3 changed files with 96 additions and 6 deletions.
90 changes: 90 additions & 0 deletions .helm/adhoc/old-hostname.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,90 @@
apiVersion: cert-manager.io/v1
kind: Certificate
metadata:
name: voluba-old-hostname-certificate
spec:
secretName: voluba-old-hostname-secret
renewBefore: 120h
commonName: voluba.apps.hbp.eu
isCA: false
privateKey:
algorithm: RSA
encoding: PKCS1
size: 2048
usages:
- server auth
dnsNames:
# (CHANGE ME! same as `commonName`)
- voluba.apps.hbp.eu
issuerRef:
name: letsencrypt-production-issuer-1
kind: ClusterIssuer
---
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: voluba-old-hostname-ingress
labels:
name: voluba-old-hostname-ingress
spec:
rules:
- host: voluba.apps.hbp.eu
http:
paths:
- pathType: Prefix
path: "/"
backend:
service:
name: voluba-prod
port:
number: 8080
tls:
- secretName: voluba-old-hostname-secret
hosts:
- voluba.apps.hbp.eu
---

apiVersion: cert-manager.io/v1
kind: Certificate
metadata:
name: voluba-lbe-old-hostname-certificate
spec:
secretName: voluba-lbe-old-hostname-secret
renewBefore: 120h
commonName: voluba-linear-backend.apps.hbp.eu
isCA: false
privateKey:
algorithm: RSA
encoding: PKCS1
size: 2048
usages:
- server auth
dnsNames:
# (CHANGE ME! same as `commonName`)
- voluba-linear-backend.apps.hbp.eu
issuerRef:
name: letsencrypt-production-issuer-1
kind: ClusterIssuer
---
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: voluba-old-lbe-hostname-ingress
labels:
name: voluba-old-lbe-hostname-ingress
spec:
rules:
- host: voluba-linear-backend.apps.hbp.eu
http:
paths:
- pathType: Prefix
path: "/"
backend:
service:
name: voluba-backend
port:
number: 8080
tls:
- secretName: voluba-lbe-old-hostname-secret
hosts:
- voluba-linear-backend.apps.hbp.eu
10 changes: 5 additions & 5 deletions app/src/constants.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ export const DEFAULT_BUNDLED_INCOMING_VOLUMES_0 = [
{
id: 'colin-1',
name: 'Colin 27',
imageSource: 'precomputed://https://neuroglancer.humanbrainproject.org/precomputed/JuBrain/v2.2c/colin27_seg',
imageSource: 'precomputed://https://neuroglancer.humanbrainproject.eu/precomputed/JuBrain/v2.2c/colin27_seg',
dim: [76, 94, 77].map(v => v * 2e6),
extra: {
neuroglancer: {
Expand All @@ -57,7 +57,7 @@ export const DEFAULT_BUNDLED_INCOMING_VOLUMES_1 = [
{
id: 'whole-brain-dataset',
name: 'whole_brain_dataset',
imageSource: 'precomputed://https://neuroglancer.humanbrainproject.org/precomputed/JuBrain/v2.2c/colin27_seg',
imageSource: 'precomputed://https://neuroglancer.humanbrainproject.eu/precomputed/JuBrain/v2.2c/colin27_seg',
dim: [76, 94, 77].map(v => v * 2e6),
extra: {
neuroglancer: {
Expand Down Expand Up @@ -199,7 +199,7 @@ export const getDefaultNehubaConfigLight = (sourceUrl) => {
"annotationColor": "#cccccc",
"visible":false,
"type": "image",
"source": "precomputed://https://neuroglancer.humanbrainproject.org/precomputed/BigBrainRelease.2015/8bit",
"source": "precomputed://https://neuroglancer.humanbrainproject.eu/precomputed/BigBrainRelease.2015/8bit",
"transform": [
[
1,
Expand Down Expand Up @@ -358,7 +358,7 @@ export const viewerConfigs = [
" grey value: ": {
"annotationColor": "#cccccc",
"type": "image",
"source": "precomputed://https://neuroglancer.humanbrainproject.org/precomputed/BigBrainRelease.2015/8bit",
"source": "precomputed://https://neuroglancer.humanbrainproject.eu/precomputed/BigBrainRelease.2015/8bit",
"transform": [
[
1,
Expand Down Expand Up @@ -389,7 +389,7 @@ export const viewerConfigs = [
" tissue type: ": {
"annotationColor": "#cccccc",
"type": "segmentation",
"source": "precomputed://https://neuroglancer.humanbrainproject.org/precomputed/BigBrainRelease.2015/classif",
"source": "precomputed://https://neuroglancer.humanbrainproject.eu/precomputed/BigBrainRelease.2015/classif",
"segments": [
"0"
],
Expand Down
2 changes: 1 addition & 1 deletion app/src/store/dataSelectionStore.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ const dataSelectionStore = {
{
id: BIGBRAIN_ID,
name: 'BigBrain (2015)',
imageSource: 'precomputed://https://neuroglancer.humanbrainproject.org/precomputed/BigBrainRelease.2015/8bit',
imageSource: 'precomputed://https://neuroglancer.humanbrainproject.eu/precomputed/BigBrainRelease.2015/8bit',
siibra_explorer_url: '/a:juelich:iav:atlas:v1.0.0:1/t:minds:core:referencespace:v1.0.0:a1655b99-82f1-420f-a3c2-fe80fd4c8588/p:juelich:iav:atlas:v1.0.0:4/'

}, {
Expand Down

0 comments on commit 9e1c6d3

Please sign in to comment.