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