diff --git a/ceph-rgw/Chart.yaml b/ceph-rgw/Chart.yaml index 757ad2ca6..e42ef8acc 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.20 +version: 0.1.21 home: https://github.com/ceph/ceph ... diff --git a/ceph-rgw/templates/deployment-rgw.yaml b/ceph-rgw/templates/deployment-rgw.yaml index cb62515c0..07da5dbb7 100644 --- a/ceph-rgw/templates/deployment-rgw.yaml +++ b/ceph-rgw/templates/deployment-rgw.yaml @@ -41,7 +41,7 @@ limitations under the License. apiVersion: rbac.authorization.k8s.io/v1 kind: Role metadata: - name: {{ $serviceAccountName }} + name: {{ printf "%s-%s" $serviceAccountName $envAll.Release.Namespace }} namespace: {{ .Values.endpoints.ceph_mon.namespace }} rules: - apiGroups: @@ -56,11 +56,11 @@ rules: apiVersion: rbac.authorization.k8s.io/v1 kind: RoleBinding metadata: - name: {{ $serviceAccountName }} + name: {{ printf "%s-%s" $serviceAccountName $envAll.Release.Namespace }} namespace: {{ .Values.endpoints.ceph_mon.namespace }} roleRef: kind: Role - name: {{ $serviceAccountName }} + name: {{ printf "%s-%s" $serviceAccountName $envAll.Release.Namespace }} apiGroup: rbac.authorization.k8s.io subjects: - kind: ServiceAccount diff --git a/releasenotes/notes/ceph-rgw.yaml b/releasenotes/notes/ceph-rgw.yaml index 5835f9b59..eb7f72e52 100644 --- a/releasenotes/notes/ceph-rgw.yaml +++ b/releasenotes/notes/ceph-rgw.yaml @@ -21,4 +21,5 @@ ceph-rgw: - 0.1.18 Consolidate mon_endpoints discovery - 0.1.19 Add ClusterRole to the bootstrap-job - 0.1.20 Enable taint toleration for Openstack services jobs + - 0.1.21 Correct mon discovery for multiple RGWs in different NS ...