Skip to content

Separate permissions for calico/node and calico/cni #5921

@caseydavenport

Description

@caseydavenport

Expected Behavior

As discussed here: #5910 (comment)

We can introduce a service account specifically for our CNI plugin - this would be a nice improvement rather than sharing serviceaccounts between calico/node and the CNI plugin, since they required similar but ultimately different permissions.

Current Behavior

serviceaccount and RBAC resources shared beteween calico/node and CNI plugin.

Possible Solution

  • Add new calico-cni serviceaccount, clusterrole, and binding.
  • Split out permissions and tidy up calico-node RBAC resources.
  • Make sure upgrade works alright (may need a grace period where both get the superset of permissions)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions