1
+ kind : ConfigMap
2
+ apiVersion : v1
3
+ metadata :
4
+ name : {{ include "fusionsuite.fullname" . }}-security
5
+ data :
6
+ fusion-security.properties : |
7
+ ######################################################################
8
+ # DATABASE CONNECTION #
9
+ ######################################################################
10
+ database.security.dialect={{ .Values.managed.security.db_dialect }}
11
+ database.security.driver={{ .Values.managed.security.db_driver }}
12
+ database.security.username={{ .Values.managed.security.db_username }}
13
+ database.security.password={{ .Values.managed.security.db_password }}
14
+ database.security.url=jdbc:{{ .Values.managed.security.db_jdbc_type }}://{{ .Values.managed.security.mssql_host }}:{{ .Values.managed.security.mssql_port }};databaseName\={{ .Values.managed.security.db_name }};
15
+ #database.security.url=jdbc:sqlserver://dotstatsuite.database.windows.net:1433;databaseName\={{ .Values.managed.security.db_name }}
16
+ ######################################################################
17
+ # SECURITY (HTTPS PORT REDIRECTION) #
18
+ ######################################################################
19
+ #Auto Redirect to http:
20
+ # any - do not auto redirect
21
+ # https - auto redirect traffic coming in on http to https, requires port mapping information to be correct
22
+ requires.channel=any
23
+
24
+ #Only required if requires.channel=https
25
+ port.http=8080
26
+ port.https=8444
27
+
28
+ ######################################################################
29
+ # CERTIFICATE AUTHENTICATION #
30
+ ######################################################################
31
+ security.p12File=
32
+ security.p12Pass=
33
+
34
+ ######################################################################
35
+ # EMAIL SERVER #
36
+ ######################################################################
37
+ mail.smtp={{ .Values.managed.smtp.host }}
38
+ mail.port={{ .Values.managed.smtp.port }}
39
+ mail.username={{ .Values.managed.smtp.username }}
40
+ mail.password={{ .Values.managed.smtp.password }}
41
+ mail.security=TLS
42
+ #mail.starttls.enable={{ .Values.managed.smtp.enableSsl }}
43
+ mail.from={{ .Values.managed.smtp.mailFrom }}
44
+
45
+ ######################################################################
46
+ # PASSWORD RULES #
47
+ ######################################################################
48
+ security.password.timeouthours=2
49
+ security.password.disallowed=
50
+ security.password.minlength=1
51
+ security.password.minnum=-1
52
+ security.password.minchar=-1
53
+ security.password.minlower=-1
54
+ security.password.minupper=-1
55
+ security.password.illegalchars=
56
+ max.login.attempt=3
57
+ {{- if .Values.fusionapps.ingress.enabled -}}
58
+ {{- range .Values.fusionapps.ingress.hosts }}
59
+ ######################################################################
60
+ # STRUCTURE WEB SERVICE (ORGANISATION RETRIEVAL) #
61
+ ######################################################################
62
+ structure.ws=CloudRegistry@https://{{ .host }}/FusionRegistry
63
+
64
+ ######################################################################
65
+ # GENERAL SETTINGS #
66
+ ######################################################################
67
+ server.url=https://{{ .host }}/FusionSecurity
68
+ {{- end }}
69
+ {{ else }}
70
+ ######################################################################
71
+ # STRUCTURE WEB SERVICE (ORGANISATION RETRIEVAL) #
72
+ ######################################################################
73
+ structure.ws=CloudRegistry@https://{{ .Values.managed.host }}:{{ .Values.managed.port }}/FusionRegistry
74
+
75
+ ######################################################################
76
+ # GENERAL SETTINGS #
77
+ ######################################################################
78
+ server.url=https://{{ .Values.managed.host }}:{{ .Values.managed.port }}/FusionSecurity
79
+
80
+ {{- end }}
0 commit comments