splunk / splunk-connect-for-kubernetes

Helm charts associated with kubernetes plug-ins
Apache License 2.0
344 stars 270 forks source link

Fixed certificate is ignored when using own secret #810

Open hvaghani221 opened 2 years ago

hvaghani221 commented 2 years ago

Added following config when using self-created secrets. Fixes https://github.com/splunk/splunk-connect-for-kubernetes/issues/805

# Create or use existing secret if the name is empty default name is used
secret:
  create: true
  name:
  # Ignore follwoing config if create is false 
  # Enable it if secret has hec_client_key
  has_client_key: false
  # Enable it if secret has hec_client_cert
  has_client_cert: false
  # Enable it if secret has hec_ca_file
  has_ca_file: false

Enable the required config according to the keys available in the self-created certificates.