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

KEDA Metrics API Scaler - ability to skip tls check #3821

Closed
Tracked by #2310
zroubalik opened this issue Nov 4, 2022 Discussed in #3728 · 0 comments · Fixed by #3823
Closed
Tracked by #2310

KEDA Metrics API Scaler - ability to skip tls check #3821

zroubalik opened this issue Nov 4, 2022 Discussed in #3728 · 0 comments · Fixed by #3823

Comments

@zroubalik
Copy link
Member

InsecureSkipVerify feature should be implemented for this scaler

Discussed in #3728

Originally posted by wymangr October 6, 2022
I'm trying to setup the Metrics API KEDA scaler. I have an internal API setup with a self signed certificate, but when I deploy it I'm getting the following error:

Warning  KEDAScalerFailed    11s                keda-operator  Get "https://api.com/aks_autoscaler": x509: certificate has expired or is not yet valid

I was wondering if there was a way to ignore certificate errors with this scaler?

here is my setup:

apiVersion: keda.sh/v1alpha1
kind: ScaledObject
metadata:
  name: appraisals-scale
  namespace: app
  labels:
    app: app_name
spec:
  maxReplicaCount: 12
  scaleTargetRef:
    name: app_name
  triggers:
    - type: metrics-api
      metadata:
        targetValue: "7"
        url: "https://api.com/aks_autoscaler"
        valueLocation: 'value'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

1 participant