Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-35310

Replace RBAC verb wildcards with actual verbs

    XMLWordPrintableJSON

Details

    Description

      We are deploying the flink operator on a managed Kubernetes cluster which utilizes Kyverno Policy Management and all it's default rules. Not complying to certain rules, leads to a restriction in deploying.

      As we are using Helm to build the manifest files (which is super useful) I recognized that in the RBAC template "wildcards" are being used for all verbs ("*").

      This violates the following Kyverno ruleset: https://kyverno.io/policies/other/restrict-wildcard-verbs/restrict-wildcard-verbs/

      Besides that I think that it would also be cleaner to explicitly list the needed verbs instead of just using the star symbol as a wildcard.

      I have already attempted to change this in a fork as a demonstration how it could be changed to be conform. Please take a look and I would greatly appreciate a change in that direction.

      Attachments

        Issue Links

          Activity

            People

              timsn Tim
              timsn Tim
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: