Closed wangchen615 closed 2 years ago
/hold
This should be configurable. Skipping TLS cert verification should not be a default.
This should be configurable. Skipping TLS cert verification should not be a default.
@ridv the configurable SkipInsecureVerify field is added.
/unhold
Added both InsecureSkipVerify
and EnableOpenShiftAuth
options to the authentication of prometheus client to resolve issue: #48
@wangchen615 Please update the PR title and description.
@zorro786 , I fixed all issues related to the opt arg, indentations, and format. I also updated the description. Please help take another review.
This commit will introduce
InsecureSkipVerify
option for MetricProvider, so developers can choose to skip the verification of HTTPs requests by addingInsecureSkipVerify: True
for Prometheus queries. This is particular useful for clusters running on GCP and AWS as they by default do not allow HTTPs access with tokens.We also add support to enable OpenShift Authentications for OpenShift clusters via allowing developers to configure environment variable
EnableOpenShiftAuth=True
.This will resolve and close issue #48