updated postgres instances and firewall configuration
This commit is contained in:
parent
039c9993f6
commit
6f995f45bd
@ -42,16 +42,15 @@ questions:
|
|||||||
group: "Provisioning"
|
group: "Provisioning"
|
||||||
show_subquestion_if: true
|
show_subquestion_if: true
|
||||||
subquestions:
|
subquestions:
|
||||||
- variable: service.firewall.umcg.enabled
|
- variable: service.firewall.kind
|
||||||
default: false
|
default: "umcg"
|
||||||
description: "Firewall within the UMCG environment"
|
description: "Firewall kind. This can be 'umcg' or 'cluster' environment"
|
||||||
type: boolean
|
type: enum
|
||||||
label: Firewall UMCG enabled
|
required: true
|
||||||
- variable: service.firewall.cluster.enabled
|
options:
|
||||||
default: false
|
- umcg
|
||||||
description: "Firewall within the cluster environment"
|
- cluster
|
||||||
type: boolean
|
label: Firewall kind
|
||||||
label: Firewall cluster enabled
|
|
||||||
- variable: molgenis.services.opencpu.host
|
- variable: molgenis.services.opencpu.host
|
||||||
label: OpenCPU cluster
|
label: OpenCPU cluster
|
||||||
default: "localhost"
|
default: "localhost"
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{{- if .Values.molgenis.services.postgres.embedded -}}
|
{{- if (.Values.molgenis.services.postgres.embedded) and (.Values.persistence.enabled) }}
|
||||||
apiVersion: extensions/v1beta1
|
apiVersion: extensions/v1beta1
|
||||||
kind: PersistentVolumeClaim
|
kind: PersistentVolumeClaim
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
|
@ -11,16 +11,15 @@ spec:
|
|||||||
type: {{ .Values.service.type }}
|
type: {{ .Values.service.type }}
|
||||||
{{- if .Values.service.firewall.enabled }}
|
{{- if .Values.service.firewall.enabled }}
|
||||||
loadBalancerSourceRanges:
|
loadBalancerSourceRanges:
|
||||||
{{- if .Values.service.firewall.umcg.enabled }}
|
{{- if .Values.service.firewall.kind eq "umcg" }}
|
||||||
{{- range $index, $rule := .Values.service.firewall.umcg.rules }}
|
{{- range $index, $rule := .Values.service.firewall.umcg.rules }}
|
||||||
- {{ $rule }}
|
- {{ $rule }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- if .Values.service.firewall.cluster.enabled }}
|
{{- else }}
|
||||||
{{- range $index, $rule := .Values.service.firewall.cluster.rules }}
|
{{- range $index, $rule := .Values.service.firewall.cluster.rules }}
|
||||||
- {{ $rule }}
|
- {{ $rule }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- end }}
|
|
||||||
{{- end }}
|
{{- end }}
|
||||||
ports:
|
ports:
|
||||||
- name: molgenis
|
- name: molgenis
|
||||||
|
@ -6,12 +6,11 @@ service:
|
|||||||
type: LoadBalancer
|
type: LoadBalancer
|
||||||
firewall:
|
firewall:
|
||||||
enabled: false
|
enabled: false
|
||||||
|
kind: "umcg"
|
||||||
umcg:
|
umcg:
|
||||||
enabled: false
|
|
||||||
rules:
|
rules:
|
||||||
- 127.0.0.1/32
|
- 127.0.0.1/32
|
||||||
cluster:
|
cluster:
|
||||||
enabled: false
|
|
||||||
rules:
|
rules:
|
||||||
- 127.0.0.1/32
|
- 127.0.0.1/32
|
||||||
port: 8080
|
port: 8080
|
||||||
|
Loading…
Reference in New Issue
Block a user