From c41a4990dec070e18861419e977842fb145cfd63 Mon Sep 17 00:00:00 2001 From: Trekkie Coder Date: Wed, 10 Jan 2024 13:10:41 +0900 Subject: [PATCH] cicd updates for kube-proxy replacement --- .../loxilb.yml | 78 +------------------ 1 file changed, 1 insertion(+), 77 deletions(-) diff --git a/cicd/k3s-flannel-cluster-ipvs-compat/loxilb.yml b/cicd/k3s-flannel-cluster-ipvs-compat/loxilb.yml index 50cd07ceb..22b8a7de2 100644 --- a/cicd/k3s-flannel-cluster-ipvs-compat/loxilb.yml +++ b/cicd/k3s-flannel-cluster-ipvs-compat/loxilb.yml @@ -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: @@ -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"