Add support for external es using https
Created by: wanjunlei
Signed-off-by: wanjunlei wanjunlei@yunify.com
With this pr, it supports to use of an es cluster that enabled HTTPS to store logging, events, and auditing logs.
We can use an external es cluster that enabled HTTPS like this.
apiVersion: installer.kubesphere.io/v1alpha1
kind: ClusterConfiguration
metadata:
name: ks-installer
namespace: kubesphere-system
spec:
common:
es:
basicAuth:
enabled: true
password: R5HN2Ji6ZC9wR4Ifm574l2p0
username: elastic
elkPrefix: logstash
externalElasticsearchPort: "30730"
externalElasticsearchProtocol: https
externalElasticsearchUrl: 192.168.0.4