When trying to create poddefault to inject credentials into notebook, I got:
error: unable to recognize "add-creds-stephen.yaml": no matches for kind "PodDefault" in version "kubeflow.org/v1alpha1"
Diagnose
I realized that the CRD poddefaults.kubeflow.org is not installed on OpenShift when using kfctl_openshift_tekton_kfserving.v1.1.0.yaml, and found this might be the problem:
Problem
When trying to create
poddefault
to inject credentials into notebook, I got:Diagnose
I realized that the CRD
poddefaults.kubeflow.org
is not installed on OpenShift when usingkfctl_openshift_tekton_kfserving.v1.1.0.yaml
, and found this might be the problem:https://github.com/IBM/KubeflowDojo/blob/f6ee14aeee31cad76f962ec2bed603f736a7cb76/OpenShift/manifests/kfctl_openshift_tekton_kfserving.v1.1.0.yaml#L68-L72
Which means it won't install the CRD
poddefaults.kubeflow.org
.