Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion kubernetes/akka-cluster-deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ metadata:
labels:
app: akka-cluster-demo
name: akka-cluster-demo
namespace: akka-cluster-1
spec:
replicas: 3
selector:
Expand Down
7 changes: 2 additions & 5 deletions kubernetes/akka-cluster-rolebindging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ kind: Role
apiVersion: rbac.authorization.k8s.io/v1
metadata:
name: pod-reader
namespace: akka-cluster-1
rules:
- apiGroups: [""] # "" indicates the core API group
resources: ["pods"]
Expand All @@ -12,11 +11,9 @@ kind: RoleBinding
apiVersion: rbac.authorization.k8s.io/v1
metadata:
name: read-pods
namespace: akka-cluster-1
subjects:
# Create the default user for the akka-cluster-1 namespace
- kind: User
name: system:serviceaccount:akka-cluster-1:default
- kind: ServiceAccount
name: default
roleRef:
kind: Role
name: pod-reader
Expand Down