cyberark / kubernetes-conjur-deploy

Scripts for deploying DAP followers to Kubernetes and OpenShift given an existing DAP master cluster
Apache License 2.0
14 stars 15 forks source link

Update ClusterRole apiVersion #180

Closed john-odonnell closed 2 years ago

john-odonnell commented 2 years ago

Desired Outcome

Using non-groupfied API resources is deprecated and will be removed in a future release, update apiVersion to "authorization.openshift.io/v1" for your resource

This deprecation has started causing failures in CI for cyberark/secrets-provider-for-k8s:

error: resource mapping not found for name: "conjur-authenticator-conjur-572ae17d-d" namespace: "" from "STDIN": no matches for kind "ClusterRole" in version "v1"

Implemented Changes

Updates ClusterRole apiVersion from ungrouped v1 to grouped rbac.authorization.k8s.io/v1

Connected Issue/Story

N/A

Definition of Done

At least 1 todo must be completed in the sections below for the PR to be merged.

Changelog

Test coverage

Documentation

Behavior

Security