Skip to content

Commit 4ad8679

Browse files
Merge pull request #46 from caseydavenport/fix-policy-controller-example
Fix policy-controller example
2 parents 7814608 + 96c8da4 commit 4ad8679

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

examples/policy-controller.yaml

-5
Original file line numberDiff line numberDiff line change
@@ -8,22 +8,17 @@ metadata:
88
namespace: kube-system
99
labels:
1010
k8s-app: calico-policy
11-
kubernetes.io/cluster-service: "true"
1211
spec:
1312
# Only a single instance of the policy controller should be
1413
# active at a time. Since this pod is run as a ReplicaSet,
1514
# Kubernetes will ensure the pod is recreated in case of failure,
1615
# removing the need for passive backups.
1716
replicas: 1
18-
selector:
19-
kubernetes.io/cluster-service: "true"
20-
k8s-app: calico-policy
2117
template:
2218
metadata:
2319
name: calico-policy-controller
2420
namespace: kube-system
2521
labels:
26-
kubernetes.io/cluster-service: "true"
2722
k8s-app: calico-policy
2823
spec:
2924
hostNetwork: true

0 commit comments

Comments
 (0)