Updated rbac and demonset example bloc

This commit is contained in:
bjthomas1
2020-03-02 08:48:04 +00:00
committed by GitHub
parent 862772230c
commit d474c87cde

View File

@@ -53,6 +53,12 @@ rules:
- get - get
- list - list
- watch - watch
- apiGroups:
- extensions
resources:
- ingresses/status
verbs:
- update
--- ---
kind: ClusterRoleBinding kind: ClusterRoleBinding
apiVersion: rbac.authorization.k8s.io/v1beta1 apiVersion: rbac.authorization.k8s.io/v1beta1
@@ -171,6 +177,10 @@ metadata:
labels: labels:
k8s-app: traefik-ingress-lb k8s-app: traefik-ingress-lb
spec: spec:
selector:
matchLabels:
k8s-app: traefik-ingress-lb
name: traefik-ingress-lb
template: template:
metadata: metadata:
labels: labels:
@@ -188,6 +198,7 @@ spec:
hostPort: 80 hostPort: 80
- name: admin - name: admin
containerPort: 8080 containerPort: 8080
hostPort: 8080
securityContext: securityContext:
capabilities: capabilities:
drop: drop: