Skip to content
This repository has been archived by the owner on Sep 30, 2020. It is now read-only.

Commit

Permalink
Add missing calico networkset crd and rbac permission (#1774)
Browse files Browse the repository at this point in the history
* Add missing calico networkset crd and rbac permission

* Reduce log spam
  • Loading branch information
davidmccormick authored Nov 14, 2019
1 parent 37d1ec7 commit 6971be4
Showing 1 changed file with 16 additions and 2 deletions.
18 changes: 16 additions & 2 deletions builtin/files/userdata/cloud-config-controller
Original file line number Diff line number Diff line change
Expand Up @@ -1520,7 +1520,7 @@ write_files:
value: "kubernetes"
# Enable felix logging.
- name: FELIX_LOGSEVERITYSYS
value: "info"
value: "Warning"
# Don't enable BGP.
- name: CALICO_NETWORKING_BACKEND
value: "none"
Expand Down Expand Up @@ -1742,7 +1742,7 @@ write_files:
value: "kubernetes"
# Enable felix logging.
- name: FELIX_LOGSEVERITYSYS
value: "info"
value: "Warning"
# Don't enable BGP.
- name: CALICO_NETWORKING_BACKEND
value: "none"
Expand Down Expand Up @@ -2084,6 +2084,19 @@ write_files:
kind: NetworkPolicy
plural: networkpolicies
singular: networkpolicy
---
apiVersion: apiextensions.k8s.io/v1beta1
kind: CustomResourceDefinition
metadata:
name: networksets.crd.projectcalico.org
spec:
scope: Namespaced
group: crd.projectcalico.org
version: v1
names:
kind: NetworkSet
plural: networksets
singular: networkset

- path: /srv/kubernetes/rbac/network-daemonsets.yaml
content: |
Expand Down Expand Up @@ -2173,6 +2186,7 @@ write_files:
- globalnetworkpolicies
- globalnetworksets
- networkpolicies
- networksets
- clusterinformations
- hostendpoints
verbs:
Expand Down

0 comments on commit 6971be4

Please sign in to comment.