first commit
This commit is contained in:
5
ha/10-native-ha-instance.ini.tpl
Normal file
5
ha/10-native-ha-instance.ini.tpl
Normal file
@@ -0,0 +1,5 @@
|
||||
NativeHALocalInstance:
|
||||
Name={{ .Name }}
|
||||
{{ if .SSLFipsRequired }}
|
||||
SSLFipsRequired={{ .SSLFipsRequired }}
|
||||
{{- end}}
|
||||
8
ha/10-native-ha-keystore.ini.tpl
Normal file
8
ha/10-native-ha-keystore.ini.tpl
Normal file
@@ -0,0 +1,8 @@
|
||||
NativeHALocalInstance:
|
||||
{{ if .CertificateLabel }}
|
||||
CertificateLabel={{ .CertificateLabel }}
|
||||
{{- end }}
|
||||
{{ if .Group.CertificateLabel }}
|
||||
GroupCertificateLabel={{ .Group.CertificateLabel}}
|
||||
{{- end }}
|
||||
KeyRepository={{ .KeyRepository }}
|
||||
29
ha/10-native-ha.ini.tpl
Normal file
29
ha/10-native-ha.ini.tpl
Normal file
@@ -0,0 +1,29 @@
|
||||
NativeHALocalInstance:
|
||||
{{ if .ShouldConfigureTLS }}
|
||||
{{ if .CipherSpec }}
|
||||
CipherSpec={{ .CipherSpec }}
|
||||
{{- end }}
|
||||
{{ if .Group.Local.Name }}
|
||||
GroupName={{ .Group.Local.Name }}
|
||||
{{- end}}
|
||||
{{ if .Group.CipherSpec }}
|
||||
GroupCipherSpec={{ .Group.CipherSpec }}
|
||||
{{- end }}
|
||||
{{ if .Group.Local.Role }}
|
||||
GroupRole={{ .Group.Local.Role }}
|
||||
{{- end}}
|
||||
{{ if .Group.Local.Address }}
|
||||
GroupLocalAddress={{ .Group.Local.Address }}
|
||||
{{- end}}
|
||||
{{- end }}{{/* end if .ShouldConfigureTLS */}}
|
||||
{{- range $idx, $instance := .Instances}}
|
||||
NativeHAInstance:
|
||||
Name={{ $instance.Name }}
|
||||
ReplicationAddress={{ $instance.ReplicationAddress }}
|
||||
{{- end}}
|
||||
{{ if .Group.Recovery.Name }}
|
||||
NativeHARecoveryGroup:
|
||||
GroupName={{ .Group.Recovery.Name }}
|
||||
Enabled={{ .Group.Recovery.Enabled }}
|
||||
ReplicationAddress={{ .Group.Recovery.Address }}
|
||||
{{- end }}
|
||||
Reference in New Issue
Block a user