on 01-27-2022 10:32 AM
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Naveen,
At present, the Kubeconfig that is provided does not have enough access to get nodes. It is limited in the sense to not have full access to the kubernetes cluster.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
82 | |
11 | |
8 | |
8 | |
6 | |
6 | |
6 | |
6 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.