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

Allow users to make S3 deletion optional

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Done
    • Icon: Undefined Undefined
    • None
    • None
    • None
    • None
    • Sprint 238, Sprint 239, Sprint 240

      User Story:

      As a developer, I want to:

      • Make the deletion of S3 buckets in AWS optional during bootstrap destroy

      so that I can

      • successfully install clusters in restricted environments.

      Acceptance Criteria:

      Description of criteria:

      • A field is added in the install config for the users to set the S3 deletion to optional.
      • Once the field is set, the bootstrap destroy stage does not delete the S3 buckets.

      Engineering Details:

      • Adding a field in the install config and piping it to terraform.
      • If the S3 bucket creation is done in the cluster stage instead of bootstrap, the destroy bootstrap code does not delete the bucket.
      • Might need to create two instances of S3 buckets, one in the bootstrap and one in the cluster stage and control which one is created using the new field in the install config.

      This requires/does not require a design proposal.
      This requires/does not require a feature gate.

            rna-afk Aditya Narayanaswamy
            rna-afk Aditya Narayanaswamy
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: