cancel
Showing results for 
Search instead for 
Did you mean: 

kubectl get nodes and Cluster admin related error. I get a forbidden error as shown.

Naveen
Active Participant

Dear All,

When we are trying to run kubectl to get the nodes and apply the jenkins.io.yml.

Getting attached error.

Below steps also not working as expected.

1. Could not map the exact target node for the requested routes home/global-permissions/roles/cluster-admin.

2. We have already done required setup to connect Kyma runtime. when we are trying to run below commands getting below error.

Warning: apiextensions.k8s.io/v1beta1 CustomResourceDefinition is deprecated in v1.16+, unavailable in v1.22+; use apiextensions.k8s.io/v1 CustomResourceDefinition

Error from server (Forbidden): error when creating "releases.jenkins.io.yml": customresourcedefinitions.apiextensions.k8s.io is forbidden: User "naveen-kumar.jain@atos.net" cannot create resource "customresourcedefinitions" in API group "apiextensions.k8s.io" at the cluster scope

Regards

Naveen Jain

NitinAntoonvN
Participant
0 Kudos

Hi @gabbi,

Can you take a look here?

Nitin

View Entire Topic
jamie_cawley
Advisor
Advisor

Hi Naveen,

In this version, 1.24.x, of Kyma you do not have access to apply changes at the cluster scope required by CRDs, causing the Forbidden error. In the next few weeks Kyma 2.0 will be released and will provide access to you at this level, allowing you to apply the CRD.

Regards,

Jamie

NitinAntoonvN
Participant
0 Kudos

Hi @jamie.cawley,

Do you have an idea when Kyma 2.0 will be released?

Kind regards,

Nitin

jamie_cawley
Advisor
Advisor
0 Kudos

The plan is for Q1, but a date has not been decided.

Regards,

Jamie