diff --git a/charts/rstudio/templates/ingress.yaml b/charts/rstudio/templates/ingress.yaml index 891ba50..5df123a 100644 --- a/charts/rstudio/templates/ingress.yaml +++ b/charts/rstudio/templates/ingress.yaml @@ -18,15 +18,7 @@ metadata: {{- end }} spec: rules: - {{- if .Values.environment -eq "development" }} - - host: "analysis.dev.molgenis.org" - {{- else if .Values.environment -eq "test" }} - - host: "analysis.test.molgenis.org" - {{- else if .Values.environment -eq "acceptance" }} - - host: "analysis.accept.molgenis.org" - {{- else }} - - host: "analysis.molgenis.org" - {{- end }} + - host: {{ .name }} http: paths: - path: {{ default "/" .path }} diff --git a/charts/rstudio/values.yaml b/charts/rstudio/values.yaml index f1bab92..9686917 100644 --- a/charts/rstudio/values.yaml +++ b/charts/rstudio/values.yaml @@ -7,7 +7,6 @@ replicaCount: 1 environment: production rstudio: - environment: development name: rstudio strategy: type: Recreate @@ -30,7 +29,7 @@ ingress: } path: / hosts: - - name: analysis.molgenis.org + - name: analysis.dev.molgenis.org tls: [] nodeSelector: {}