Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom certificate not working #6466

Open
pacmanmulet opened this issue Jan 8, 2025 Discussed in #6432 · 0 comments
Open

Custom certificate not working #6466

pacmanmulet opened this issue Jan 8, 2025 Discussed in #6432 · 0 comments

Comments

@pacmanmulet
Copy link

Discussed in #6432

Originally posted by pacmanmulet December 19, 2024

Report

We are encountering an error when using our own certificate.

Expected Behavior
kubectl get --raw "/apis/external.metrics.k8s.io/v1beta1" works as usual

Actual Behavior
"Error from server (ServiceUnavailable): the server is currently unable to handle the request"

Steps to reproduce the problem
Generate ca and cert files
Create kedaorg-certs secret
Install Keda to your cluster (Using 2.14.2 chart version) disabling certs:

certificates:
  autoGenerated: false

KEDA version
2.14.0

Kubernetes Version
1.27.0

Executing the next patch solves the problem, but I suppose it is not the right way:
oc patch apiservice v1beta1.external.metrics.k8s.io -p '{"spec": {"insecureSkipTLSVerify": true}}'

Are steps right or there any other requirements for using your own certificate?

Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: To Triage
Development

No branches or pull requests

1 participant