Uploaded image for project: 'OpenShift Installer'
  1. OpenShift Installer
  2. CORS-1614

GCP - Set gcp bucket uniform_bucket_level_access to to "True" during install

XMLWordPrintable

    • Icon: Epic Epic
    • Resolution: Done
    • Icon: Major Major
    • openshift-4.8
    • None
    • None
    • None
    • GCP - Set gcp bucket uniform_bucket_level_access to to "True" during install
    • False
    • False
    • Done
    • OCPPLAN-4444 - Installer Sustainability
    • OCPPLAN-4444Installer Sustainability
    • Undefined

      1. Proposed title of this feature request

      GCP - Set gcp bucket uniform_bucket_level_access to to "True" during install

       

      2. What is the nature and description of the request?

       

       

      3.  Why does the customer need this? (List the business requirements here)

       

      The customer uses GCP Organization Policy Constraints.  The policy "constraints/storage.uniformBucketLevelAccess" is enabled.

       

      More info can be found here:

      https://cloud.google.com/resource-manager/docs/organization-policy/org-policy-constraints

       

      and more about Unifor Bucket Level Access here:

      https://registry.terraform.io/providers/hashicorp/google/latest/docs/resources/storage_bucket#uniform_bucket_level_access

       


      A quick summary, from what I read:  There are two ways to access buckets in GCP; 1) IAM users 2) ACL's.  When a resource is requested from the bucket, it can be granted access by EITHER the IAM or ACL.

       

      By enabling uniform bucket-level access it disables the ACL, and only IAM users can access resources in the bucket.


       

      4. List any affected packages or components.

       


      This is an issue surfaced by a customer. The customer uses GCP Organization Policy Constraints.  The policy "constraints/storage.uniformBucketLevelAccess" is enabled.

       

      I believe (I may be wrong) that Openshift only uses the IAM aspect of GCP buckets, so disabling the ACL's shouldn't be a problem.

       

      However, in terraform, the uniform bucket level access is false by default.

       

      https://registry.terraform.io/providers/hashicorp/google/latest/docs/resources/storage_bucket#uniform_bucket_level_access

       

      The outcome of this card would be:

      • verify that uniform bucket level access can be enabled
      • enable it when creating buckets for GCP

          There are no Sub-Tasks for this issue.

              mstaeble Matthew Staebler (Inactive)
              kdube@redhat.com Katherine Dubé
              To Hung Sze To Hung Sze
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: