sabre1041 / openshift-logforwarding-splunk

Demonstration of forwarding logs from OpenShift to Splunk
Apache License 2.0
31 stars 26 forks source link

Setting forwarding.fluentd.ssl=false fails to deploy #11

Open bpayton opened 3 years ago

bpayton commented 3 years ago

Following the instructions in the REAME here https://github.com/sabre1041/openshift-logforwarding-splunk#fluentd, I set ssl=false to disable SSL for the communication between OpenShift and the logforwarder.

snippet of values.yml:

forwarding:
  fluentd:
    port: 24224
    sharedkey: splunkforwarding
    passphrase: ""
    ssl: false
    #caFile: files/default-openshift-logging-fluentd.crt
    #keyFile: files/default-openshift-logging-fluentd.key

However, when deploying the chart, the pod never comes up and produces this error: MountVolume.SetUp failed for volume "openshift-logforwarding-splunk" : references non-existent secret key: forwarder-tls.crt

This is on OpenShift 4.7. Thanks!

sabre1041 commented 3 years ago

@bpayton looked into the issue and corrected via https://github.com/sabre1041/openshift-logforwarding-splunk/commit/96f448d01cada9dbfd4b96dabbdf8c4878d73e84