Skip to content

Commit

Permalink
Merge pull request #494 from TrekkieCoder/main
Browse files Browse the repository at this point in the history
PR - cicd updates for kube-proxy replacement
  • Loading branch information
UltraInstinct14 authored Jan 15, 2024
2 parents 6460ce1 + aa7b819 commit b7ba0bb
Showing 1 changed file with 1 addition and 77 deletions.
78 changes: 1 addition & 77 deletions cicd/k3s-flannel-cluster-ipvs-compat/loxilb.yml
Original file line number Diff line number Diff line change
@@ -1,79 +1,3 @@
---
apiVersion: v1
kind: ServiceAccount
metadata:
name: loxilb-lb
namespace: kube-system
---
kind: ClusterRole
apiVersion: rbac.authorization.k8s.io/v1
metadata:
name: loxilb-lb
rules:
- apiGroups:
- ""
resources:
- nodes
verbs:
- get
- watch
- list
- patch
- apiGroups:
- ""
resources:
- pods
verbs:
- get
- watch
- list
- patch
- apiGroups:
- ""
resources:
- endpoints
- services
- services/status
verbs:
- get
- watch
- list
- patch
- update
- apiGroups:
- discovery.k8s.io
resources:
- endpointslices
verbs:
- get
- watch
- list
- apiGroups:
- authentication.k8s.io
resources:
- tokenreviews
verbs:
- create
- apiGroups:
- authorization.k8s.io
resources:
- subjectaccessreviews
verbs:
- create
---
kind: ClusterRoleBinding
apiVersion: rbac.authorization.k8s.io/v1
metadata:
name: loxilb-lb
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
name: loxilb-lb
subjects:
- kind: ServiceAccount
name: loxilb-lb
namespace: kube-system
---
apiVersion: apps/v1
kind: DaemonSet
metadata:
Expand All @@ -98,7 +22,7 @@ spec:
- key: "node-role.kubernetes.io/control-plane"
operator: Exists
priorityClassName: system-node-critical
serviceAccountName: loxilb-lb
serviceAccountName: kube-loxilb
containers:
- name: loxilb-lb
image: "ghcr.io/loxilb-io/loxilb:latest"
Expand Down

0 comments on commit b7ba0bb

Please sign in to comment.