Skip to content
This repository has been archived by the owner on Dec 15, 2021. It is now read-only.

OpenShift 3.9 couldn't list kubeless functions #737

Closed
gkarthiks opened this issue May 7, 2018 · 2 comments
Closed

OpenShift 3.9 couldn't list kubeless functions #737

gkarthiks opened this issue May 7, 2018 · 2 comments

Comments

@gkarthiks
Copy link

Is this a BUG REPORT or FEATURE REQUEST?:
BUG REPORT
What happened:
Deployed the Kubeless v0.5.0 and tried to execute the kubeless function ls command. This throws the below error.

FATA[0000] Get https://<server>:8443/apis/kubeless.io/v1beta1/namespaces/default/functions: x509: certificate signed by unknown authority

The kubectl api-versions result,

admissionregistration.k8s.io/v1beta1
apiextensions.k8s.io/v1beta1
apiregistration.k8s.io/v1beta1
apps.openshift.io/v1
apps/v1
apps/v1beta1
apps/v1beta2
authentication.k8s.io/v1
authentication.k8s.io/v1beta1
authorization.k8s.io/v1
authorization.k8s.io/v1beta1
authorization.openshift.io/v1
autoscaling/v1
autoscaling/v2beta1
batch/v1
batch/v1beta1
batch/v2alpha1
build.openshift.io/v1
certificates.k8s.io/v1beta1
core.events/v1alpha1
events.k8s.io/v1beta1
extensions/v1beta1
image.openshift.io/v1
kubeless.io/v1beta1
network.openshift.io/v1
networking.k8s.io/v1
oauth.openshift.io/v1
policy/v1beta1
project.openshift.io/v1
quota.openshift.io/v1
rbac.authorization.k8s.io/v1
rbac.authorization.k8s.io/v1beta1
route.openshift.io/v1
security.openshift.io/v1
servicecatalog.k8s.io/v1beta1
settings.k8s.io/v1alpha1
storage.k8s.io/v1
storage.k8s.io/v1beta1
template.openshift.io/v1
user.openshift.io/v1
v1

oc get crd results

NAME                          AGE
cronjobtriggers.kubeless.io   2h
functions.kubeless.io         2h
httptriggers.kubeless.io      2h
kafkatriggers.kubeless.io     2h

What you expected to happen:
Should list the functions

How to reproduce it (as minimally and precisely as possible):
Deploy Kubeless 0.5.0 on OpenShift 3.9.25 and try kubeless function ls

Anything else we need to know?:

Environment:
oc v3.9.0+191fece
kubernetes v1.9.1+a0ce1bc657
features: Basic-Auth

Server
openshift v3.9.25
kubernetes v1.9.1+a0ce1bc657

Kubeless version: v0.5.0 (a954695)

@andresmgot
Copy link
Contributor

Hi @gkarthiks, some time ago we fixed a similar issue (#661), but that was included since the version 0.6.0. Could you check if the latest version of kubeless fixes your issue? I've tried with kubeless v1.0.0-alpha.1 and minishift v1.16.1 and I could list the functions in the cluster.

@gkarthiks
Copy link
Author

Yup! thanks @andresmgot

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants