Update apiVersion
This patch set updates and tests the apiVersion for rbac.authorization.k8s.io from v1beta1 to v1 in preparation for its removal in k8s 1.20. Change-Id: I4e68db1f75ff72eee55ecec93bd59c68c179c627 Signed-off-by: Tin Lam <tin@irrational.io>
This commit is contained in:
@@ -23,7 +23,7 @@ limitations under the License.
|
||||
{{- $serviceAccountName := printf "%s-%s" .Release.Name "filebeat" }}
|
||||
{{ tuple $envAll "filebeat" $serviceAccountName | include "helm-toolkit.snippets.kubernetes_pod_rbac_serviceaccount" }}
|
||||
---
|
||||
apiVersion: rbac.authorization.k8s.io/v1beta1
|
||||
apiVersion: rbac.authorization.k8s.io/v1
|
||||
kind: ClusterRoleBinding
|
||||
metadata:
|
||||
name: {{ $serviceAccountName }}
|
||||
|
||||
Reference in New Issue
Block a user