Skip to content

Influx of roles w/o systemOnly annotation #14411

Closed

Description

@benjaminapetersen

There is a sudden influx of roles coming back from the API. We believe it is due to kubernetes imports. Previously ~ 8 roles made it through our systemOnly filter. At the moment I'm seeing 53 (with 101 total roles).

Filtered:

["admin","basic-user","edit","system:auth-delegator","system:basic-user","system:build-controller","system:certificate-signing-controller","system:controller:attachdetach-controller","system:controller:certificate-controller","system:controller:cronjob-controller","system:controller:daemon-set-controller","system:controller:deployment-controller","system:controller:disruption-controller","system:controller:endpoint-controller","system:controller:generic-garbage-collector","system:controller:horizontal-pod-autoscaler","system:controller:job-controller","system:controller:namespace-controller","system:controller:node-controller","system:controller:persistent-volume-binder","system:controller:pod-garbage-collector","system:controller:replicaset-controller","system:controller:replication-controller","system:controller:resourcequota-controller","system:controller:route-controller","system:controller:service-account-controller","system:controller:service-controller","system:controller:statefulset-controller","system:controller:ttl-controller","system:daemonset-controller","system:deployer","system:deployment-controller","system:deploymentconfig-controller","system:disruption-controller","system:endpoint-controller","system:garbage-collector-controller","system:gc-controller","system:heapster","system:hpa-controller","system:image-builder","system:image-puller","system:image-pusher","system:job-controller","system:kube-aggregator","system:kube-controller-manager","system:kube-dns","system:kube-scheduler","system:namespace-controller","system:node-problem-detector","system:replicaset-controller","system:replication-controller","system:statefulset-controller","view"]

Unfiltered:

["admin","basic-user","cluster-admin","cluster-debugger","cluster-reader","cluster-status","edit","registry-admin","registry-editor","registry-viewer","self-access-reviewer","self-provisioner","storage-admin","sudoer","system:auth-delegator","system:basic-user","system:build-controller","system:build-strategy-custom","system:build-strategy-docker","system:build-strategy-jenkinspipeline","system:build-strategy-source","system:certificate-signing-controller","system:controller:attachdetach-controller","system:controller:certificate-controller","system:controller:cronjob-controller","system:controller:daemon-set-controller","system:controller:deployment-controller","system:controller:disruption-controller","system:controller:endpoint-controller","system:controller:generic-garbage-collector","system:controller:horizontal-pod-autoscaler","system:controller:job-controller","system:controller:namespace-controller","system:controller:node-controller","system:controller:persistent-volume-binder","system:controller:pod-garbage-collector","system:controller:replicaset-controller","system:controller:replication-controller","system:controller:resourcequota-controller","system:controller:route-controller","system:controller:service-account-controller","system:controller:service-controller","system:controller:statefulset-controller","system:controller:ttl-controller","system:daemonset-controller","system:deployer","system:deployment-controller","system:deploymentconfig-controller","system:discovery","system:disruption-controller","system:endpoint-controller","system:garbage-collector-controller","system:gc-controller","system:heapster","system:hpa-controller","system:image-auditor","system:image-builder","system:image-pruner","system:image-puller","system:image-pusher","system:image-signer","system:imagetrigger-controller","system:job-controller","system:kube-aggregator","system:kube-controller-manager","system:kube-dns","system:kube-scheduler","system:master","system:namespace-controller","system:node","system:node-admin","system:node-bootstrapper","system:node-problem-detector","system:node-proxier","system:node-reader","system:oauth-token-deleter","system:openshift:controller:build-controller","system:openshift:controller:deployer-controller","system:openshift:controller:deployment-trigger-controller","system:openshift:controller:deploymentconfig-controller","system:openshift:controller:template-instance-controller","system:openshift:template-service-broker","system:openshift:templateservicebroker-client","system:persistent-volume-provisioner","system:pv-attach-detach-controller","system:pv-binder-controller","system:pv-provisioner-controller","system:pv-recycler-controller","system:registry","system:replicaset-controller","system:replication-controller","system:router","system:sdn-manager","system:sdn-reader","system:service-ingress-ip-controller","system:service-load-balancer-controller","system:service-serving-cert-controller","system:statefulset-controller","system:unidling-controller","system:webhook","view"]
Version

oc v3.6.0-alpha.1+a1dffba-860-dirty
kubernetes v1.6.1+5115d708d7
features: Basic-Auth

Server https://127.0.0.1:8443
openshift v3.6.0-alpha.1+3ecdeba-864
kubernetes v1.6.1+5115d708d7

bpeterse at dhcp129-188 in ~/

Steps To Reproduce

In web console, navigate to membership page, click edit membership, use any of the select boxes under the Add another role heading. Toggle the show hidden roles checkbox.

Current Result

53 filtered roles, 101 total roles

Expected Result

8 filtered roles, 101 total roles

@enj @jwforres

Activity

  1. changed the title [-]Influx of roles[/-] [+]Influx of roles w/o systemOnly annotation[/+] on May 30, 2017
  2. benjaminapetersen commented on May 30, 2017

    @benjaminapetersen
    ContributorAuthor

    Original annotation PR: #11328

  3. added
    kind/bug
    on May 30, 2017
  4. jwforres commented on May 30, 2017

    @jwforres
    Member

    considering this a P1 because of the end user impact in the console

  5. liggitt commented on May 31, 2017

    @liggitt
    Contributor

    @enj I would add the system-only annotation to all the system: roles we pull in from kube by default

  6. added this to the 3.6.0 milestone on May 31, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

component/authkind/bugpriority/P1

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions