Spaces:
Sleeping
Sleeping
File size: 1,039 Bytes
287a0bc |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 |
# These kubernetes manifests are UNDER ACTIVE DEVELOPMENT and are not yet ready for production use.
# They will be used for the upcoming distributed version of chroma. They are not even ready
# for testing yet. Please do not use them unless you are working on the distributed version of chroma.
# Create a memberlist called worker-memberlist
apiVersion: chroma.cluster/v1
kind: MemberList
metadata:
name: test-memberlist
namespace: chroma
spec:
members:
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
name: test-memberlist-reader
rules:
- apiGroups:
- chroma.cluster
resources:
- memberlists
verbs:
- get
- list
- watch
# TODO: FIX THIS LEAKY PERMISSION
- create
- update
- patch
- delete
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
name: test-memberlist-reader-binding
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
name: test-memberlist-reader
subjects:
- kind: ServiceAccount
name: default
namespace: chroma
|