Merge pull request #15522 from patrostkowski/feature/mon-active-ep-14986
mon: manage endpoints containing set of mon ip addresses
This commit is contained in:
10 files changed
+325
-10
No files matched your search
@@ -294,6 +294,7 @@ rules:
|
||||
- watch
|
||||
- apiGroups:
|
||||
- ""
|
||||
- "discovery.k8s.io"
|
||||
resources:
|
||||
# Rook creates events for its custom resources
|
||||
- events
|
||||
@@ -303,6 +304,7 @@ rules:
|
||||
# Rook creates endpoints for mgr and object store access
|
||||
- endpoints
|
||||
- services
|
||||
- endpointslices
|
||||
verbs:
|
||||
- get
|
||||
- list
|
||||
|
||||
@@ -0,0 +1,9 @@
|
||||
# Create a headless service which will effectively referenced by the EndpointSlice resources
|
||||
# of the same name which is created automatically by Rook
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: rook-ceph-active-mons
|
||||
namespace: rook-ceph # namespace:cluster
|
||||
spec:
|
||||
clusterIP: None # headless service
|
||||
Reference in new issue
Block a user