[
https://issues.apache.org/jira/browse/YUNIKORN-995?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Craig Condit resolved YUNIKORN-995.
-----------------------------------
Assignee: Craig Condit (was: Anuraag Nalluri)
Resolution: Duplicate
Fixed as part of YUNIKORN-941 refactoring.
> Use v1 for ClusterRoleBinding rbac.authorization.k8s.io instead of v1beta1
> --------------------------------------------------------------------------
>
> Key: YUNIKORN-995
> URL: https://issues.apache.org/jira/browse/YUNIKORN-995
> Project: Apache YuniKorn
> Issue Type: Bug
> Reporter: Anuraag Nalluri
> Assignee: Craig Condit
> Priority: Critical
> Labels: newbie, pull-request-available
> Original Estimate: 2h
> Remaining Estimate: 2h
>
> Here's the following kubernetes client/server info on my local machine:
> {code:java}
> ➜ incubator-yunikorn-k8shim git:(master) ✗ kubectl version
> Client Version: version.Info{Major:"1", Minor:"22", GitVersion:"v1.22.4",
> GitCommit:"b695d79d4f967c403a96986f1750a35eb75e75f1", GitTreeState:"clean",
> BuildDate:"2021-11-17T15:48:33Z", GoVersion:"go1.16.10", Compiler:"gc",
> Platform:"darwin/arm64"}
> Server Version: version.Info{Major:"1", Minor:"22", GitVersion:"v1.22.4",
> GitCommit:"b695d79d4f967c403a96986f1750a35eb75e75f1", GitTreeState:"clean",
> BuildDate:"2021-11-17T15:42:41Z", GoVersion:"go1.16.10", Compiler:"gc",
> Platform:"linux/arm64"} {code}
> This results in the following error when running the `helm install` command
> from the docs:
> {code:java}
> ➜ incubator-yunikorn-k8shim git:(master) ✗ helm install yunikorn
> yunikorn/yunikorn --namespace yunikornError: INSTALLATION FAILED: failed
> pre-install: unable to build kubernetes object for deleting hook
> yunikorn/templates/rbac.yaml: unable to recognize "": no matches for kind
> "ClusterRoleBinding" in version "rbac.authorization.k8s.io/v1beta1"{code}
> I believe this is because ClusterRoleBinding is removed from
> rbac.authorization.k8s.io/v1beta1 as of version 1.22 of Kubernetes. We should
> instead use the following apiVersion for this resource in the yaml:
> rbac.authorization.k8s.io/v1.
>
--
This message was sent by Atlassian Jira
(v8.20.1#820001)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]