Description of problem:
When following the documentation, it states that the use of `secret_name` variable is "optioal" (optional). However, if you use the variable `insecure_skip_verify=true` then the `secret_name` is no longer optional
Version-Release number of selected component (if applicable):
OCP 4.10 with ACM 2.6
How reproducible:
Enable `insecure_skip_verify=true` without a `secret_name`
Steps to Reproduce:
FAILS IF: url: https://<vector-endpoint> http_client_config: basic_auth: username: <username> password: <password> tls_config: insecure_skip_tls_verify: true WORKS IF: url: https://<vector-endpoint> http_client_config: basic_auth: username: <username> password: <password> tls_config: insecure_skip_tls_verify: true secret_name: <secret_name>
Actual results:
Component doesn't work without `secret_name` if `insecure_skip_verify=true`, whereas the documentation states `secret_name` is optional
Expected results:
Either this works without `secret_name` (code change) when `insecure_skip_verify=true` is enabled or the documentation is updated to no longer state 'optional' for `secret_name`. It's only optional is you're `insecure_skip_verify=false`
Additional info:
Documentation: https://access.redhat.com/documentation/en-us/red_hat_advanced_cluster_management_for_kubernetes/2.6/html/observability/observing-environments-intro#creating-the-kubernetes-secret-for-external-endpoint Red Hat Case Number: 03462851 ACM Bug: https://issues.redhat.com/browse/ACM-4445