Browse Source

Update MetalLB to v0.7.3 (#4194)

pull/4305/head
Maxime Guyot 5 years ago
committed by Kubernetes Prow Robot
parent
commit
bb495006c8
2 changed files with 3 additions and 35 deletions
  1. 1
      contrib/metallb/roles/provision/defaults/main.yml
  2. 37
      contrib/metallb/roles/provision/templates/metallb.yml.j2

1
contrib/metallb/roles/provision/defaults/main.yml

@ -5,3 +5,4 @@ metallb:
cpu: "100m"
memory: "100Mi"
port: "7472"
version: v0.7.3

37
contrib/metallb/roles/provision/templates/metallb.yml.j2

@ -53,22 +53,6 @@ rules:
---
apiVersion: rbac.authorization.k8s.io/v1
kind: Role
metadata:
namespace: metallb-system
name: leader-election
labels:
app: metallb
rules:
- apiGroups: [""]
resources: ["endpoints"]
resourceNames: ["metallb-speaker"]
verbs: ["get", "update"]
- apiGroups: [""]
resources: ["endpoints"]
verbs: ["create"]
---
apiVersion: rbac.authorization.k8s.io/v1
kind: Role
metadata:
namespace: metallb-system
name: config-watcher
@ -131,21 +115,6 @@ roleRef:
kind: Role
name: config-watcher
---
apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding
metadata:
namespace: metallb-system
name: leader-election
labels:
app: metallb
subjects:
- kind: ServiceAccount
name: speaker
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: Role
name: leader-election
---
apiVersion: apps/v1beta2
kind: DaemonSet
metadata:
@ -173,7 +142,7 @@ spec:
hostNetwork: true
containers:
- name: speaker
image: metallb/speaker:v0.6.2
image: metallb/speaker:{{ metallb.version }}
imagePullPolicy: IfNotPresent
args:
- --port={{ metallb.port }}
@ -230,7 +199,7 @@ spec:
runAsUser: 65534 # nobody
containers:
- name: controller
image: metallb/controller:v0.6.2
image: metallb/controller:{{ metallb.version }}
imagePullPolicy: IfNotPresent
args:
- --port={{ metallb.port }}
@ -250,5 +219,3 @@ spec:
readOnlyRootFilesystem: true
---
Loading…
Cancel
Save