Update MetalLB to v0.7.3 (#4194)

This commit is contained in:
Maxime Guyot 2019-02-26 05:05:45 +01:00 committed by Kubernetes Prow Robot
parent 3d25b4dfc1
commit bb495006c8
2 changed files with 3 additions and 35 deletions

View file

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

View file

@ -53,22 +53,6 @@ rules:
--- ---
apiVersion: rbac.authorization.k8s.io/v1 apiVersion: rbac.authorization.k8s.io/v1
kind: Role 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: metadata:
namespace: metallb-system namespace: metallb-system
name: config-watcher name: config-watcher
@ -131,21 +115,6 @@ roleRef:
kind: Role kind: Role
name: config-watcher 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 apiVersion: apps/v1beta2
kind: DaemonSet kind: DaemonSet
metadata: metadata:
@ -173,7 +142,7 @@ spec:
hostNetwork: true hostNetwork: true
containers: containers:
- name: speaker - name: speaker
image: metallb/speaker:v0.6.2 image: metallb/speaker:{{ metallb.version }}
imagePullPolicy: IfNotPresent imagePullPolicy: IfNotPresent
args: args:
- --port={{ metallb.port }} - --port={{ metallb.port }}
@ -230,7 +199,7 @@ spec:
runAsUser: 65534 # nobody runAsUser: 65534 # nobody
containers: containers:
- name: controller - name: controller
image: metallb/controller:v0.6.2 image: metallb/controller:{{ metallb.version }}
imagePullPolicy: IfNotPresent imagePullPolicy: IfNotPresent
args: args:
- --port={{ metallb.port }} - --port={{ metallb.port }}
@ -250,5 +219,3 @@ spec:
readOnlyRootFilesystem: true readOnlyRootFilesystem: true
--- ---