add fip-controller
Some checks failed
ci/woodpecker/push/yamllint Pipeline failed

This commit is contained in:
Aaron Riedel 2025-05-27 21:27:28 +02:00
parent 7fde2126c2
commit 8449839a98
Signed by: aaron
GPG key ID: 643004654D40D577
8 changed files with 214 additions and 0 deletions

View file

@ -0,0 +1,43 @@
apiVersion: v1
kind: ServiceAccount
metadata:
name: fip-controller
namespace: fip-controller
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
name: fip-controller
rules:
- apiGroups:
- ""
resources:
- nodes
- pods
verbs:
- get
- list
- apiGroups:
- "coordination.k8s.io"
resources:
- "leases"
verbs:
- "get"
- "list"
- "update"
- "create"
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
name: fip-controller
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
name: fip-controller
subjects:
- kind: ServiceAccount
name: fip-controller
namespace: fip-controller