[CEPH] Endpoints discovery

Allows to discover monitor endpoints for multiple RGWs instances
deployed in different namespaces.

Change-Id: Ia4a9a4b011951cec9f88ede41ba0286863fde86e
This commit is contained in:
Sigunov, Vladimir (vs422h) 2022-04-13 13:59:57 -04:00
parent 37ac688842
commit f900462c33
3 changed files with 5 additions and 4 deletions

View File

@ -15,6 +15,6 @@ apiVersion: v1
appVersion: v1.0.0 appVersion: v1.0.0
description: OpenStack-Helm Ceph RadosGW description: OpenStack-Helm Ceph RadosGW
name: ceph-rgw name: ceph-rgw
version: 0.1.20 version: 0.1.21
home: https://github.com/ceph/ceph home: https://github.com/ceph/ceph
... ...

View File

@ -41,7 +41,7 @@ limitations under the License.
apiVersion: rbac.authorization.k8s.io/v1 apiVersion: rbac.authorization.k8s.io/v1
kind: Role kind: Role
metadata: metadata:
name: {{ $serviceAccountName }} name: {{ printf "%s-%s" $serviceAccountName $envAll.Release.Namespace }}
namespace: {{ .Values.endpoints.ceph_mon.namespace }} namespace: {{ .Values.endpoints.ceph_mon.namespace }}
rules: rules:
- apiGroups: - apiGroups:
@ -56,11 +56,11 @@ rules:
apiVersion: rbac.authorization.k8s.io/v1 apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding kind: RoleBinding
metadata: metadata:
name: {{ $serviceAccountName }} name: {{ printf "%s-%s" $serviceAccountName $envAll.Release.Namespace }}
namespace: {{ .Values.endpoints.ceph_mon.namespace }} namespace: {{ .Values.endpoints.ceph_mon.namespace }}
roleRef: roleRef:
kind: Role kind: Role
name: {{ $serviceAccountName }} name: {{ printf "%s-%s" $serviceAccountName $envAll.Release.Namespace }}
apiGroup: rbac.authorization.k8s.io apiGroup: rbac.authorization.k8s.io
subjects: subjects:
- kind: ServiceAccount - kind: ServiceAccount

View File

@ -21,4 +21,5 @@ ceph-rgw:
- 0.1.18 Consolidate mon_endpoints discovery - 0.1.18 Consolidate mon_endpoints discovery
- 0.1.19 Add ClusterRole to the bootstrap-job - 0.1.19 Add ClusterRole to the bootstrap-job
- 0.1.20 Enable taint toleration for Openstack services jobs - 0.1.20 Enable taint toleration for Openstack services jobs
- 0.1.21 Correct mon discovery for multiple RGWs in different NS
... ...