From 2594e714881eddabdfdf689cae1a099517cc08e0 Mon Sep 17 00:00:00 2001 From: bw6938 Date: Sun, 21 Feb 2021 03:59:50 +0000 Subject: [PATCH] [ceph-osd] update rbac api version When using a 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: I40a5863c80489db8ea40028ffb6d89c43f6771d6 --- ceph-osd/Chart.yaml | 2 +- ceph-osd/templates/job-post-apply.yaml | 2 +- releasenotes/notes/ceph-osd.yaml | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/ceph-osd/Chart.yaml b/ceph-osd/Chart.yaml index 99b21726c..9e5459aea 100644 --- a/ceph-osd/Chart.yaml +++ b/ceph-osd/Chart.yaml @@ -15,6 +15,6 @@ apiVersion: v1 appVersion: v1.0.0 description: OpenStack-Helm Ceph OSD name: ceph-osd -version: 0.1.18 +version: 0.1.19 home: https://github.com/ceph/ceph ... diff --git a/ceph-osd/templates/job-post-apply.yaml b/ceph-osd/templates/job-post-apply.yaml index 924354a46..d29755b0b 100644 --- a/ceph-osd/templates/job-post-apply.yaml +++ b/ceph-osd/templates/job-post-apply.yaml @@ -51,7 +51,7 @@ rules: - get - list --- -apiVersion: rbac.authorization.k8s.io/v1beta1 +apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRoleBinding metadata: name: {{ $serviceAccountName }} diff --git a/releasenotes/notes/ceph-osd.yaml b/releasenotes/notes/ceph-osd.yaml index 8780ddb34..03b9fe3cf 100644 --- a/releasenotes/notes/ceph-osd.yaml +++ b/releasenotes/notes/ceph-osd.yaml @@ -19,4 +19,5 @@ ceph-osd: - 0.1.16 dmsetup remove logical devices using correct device names - 0.1.17 Fix a bug with DB orphan volume removal - 0.1.18 Uplift from Nautilus to Octopus release + - 0.1.19 Update rbac api version ...