From 367f7bec3cbfca306e10a36349a8d8622c305674 Mon Sep 17 00:00:00 2001 From: bw6938 Date: Sun, 21 Feb 2021 04:14:27 +0000 Subject: [PATCH] [ceph-rgw] update rbac api version When using helm3 to deploy, it fails as helm 3 no longer supports rbac.authorization.k8s.io/v1beta1, but v1 can support helm2 and helm3 (liujinyuan@inspur.com). Change-Id: I8e0ceb0c0991fd48b5b6a1b688a5c1b91f58c02e --- ceph-rgw/Chart.yaml | 2 +- ceph-rgw/templates/job-rgw-restart.yaml | 2 +- releasenotes/notes/ceph-rgw.yaml | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/ceph-rgw/Chart.yaml b/ceph-rgw/Chart.yaml index 4c5d762c8..916248c84 100644 --- a/ceph-rgw/Chart.yaml +++ b/ceph-rgw/Chart.yaml @@ -15,6 +15,6 @@ apiVersion: v1 appVersion: v1.0.0 description: OpenStack-Helm Ceph RadosGW name: ceph-rgw -version: 0.1.2 +version: 0.1.3 home: https://github.com/ceph/ceph ... diff --git a/ceph-rgw/templates/job-rgw-restart.yaml b/ceph-rgw/templates/job-rgw-restart.yaml index 924aaba58..8bd1ba1b0 100644 --- a/ceph-rgw/templates/job-rgw-restart.yaml +++ b/ceph-rgw/templates/job-rgw-restart.yaml @@ -34,7 +34,7 @@ rules: - patch - watch --- -apiVersion: rbac.authorization.k8s.io/v1beta1 +apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRoleBinding metadata: name: {{ $serviceAccountName }} diff --git a/releasenotes/notes/ceph-rgw.yaml b/releasenotes/notes/ceph-rgw.yaml index 98e164b7a..237d1f7f0 100644 --- a/releasenotes/notes/ceph-rgw.yaml +++ b/releasenotes/notes/ceph-rgw.yaml @@ -3,4 +3,5 @@ ceph-rgw: - 0.1.0 Initial Chart - 0.1.1 Change helm-toolkit dependency version to ">= 0.1.0" - 0.1.2 Uplift from Nautilus to Octopus release + - 0.1.3 update rbac api version ...