Skip to content

S3 config should not stomp local secret config#106

Merged
openshift-merge-robot merged 2 commits intoopenshift:masterfrom
coreydaley:github_99_s3_config_should_not_stomp_local_secret_config
Jan 2, 2019
Merged

S3 config should not stomp local secret config#106
openshift-merge-robot merged 2 commits intoopenshift:masterfrom
coreydaley:github_99_s3_config_should_not_stomp_local_secret_config

Conversation

@coreydaley
Copy link

@coreydaley coreydaley commented Dec 1, 2018

Cluster S3 configuration should not stomp user configuration

  • Checks for a user supplied S3 configuration to use
  • If user config is not found, use the system configuration
  • Add a test to ensure that a user provided configuration will override the sytem provided one
  • Add image-registry-private-configuration-user to the README.md
  • Finalize S3 storage (remove bucket if managed by us)
  • Don't fail on S3 bucket tagging and encryption, just set the appropriate conditions to false

Fixes #79
Fixes #99

@openshift-ci-robot openshift-ci-robot added the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Dec 1, 2018
@openshift-bot openshift-bot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Dec 1, 2018
@openshift-ci-robot openshift-ci-robot added the size/M Denotes a PR that changes 30-99 lines, ignoring generated files. label Dec 1, 2018
@openshift-bot openshift-bot removed the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Dec 1, 2018
@openshift-ci-robot openshift-ci-robot added size/L Denotes a PR that changes 100-499 lines, ignoring generated files. size/S Denotes a PR that changes 10-29 lines, ignoring generated files. and removed size/M Denotes a PR that changes 30-99 lines, ignoring generated files. size/L Denotes a PR that changes 100-499 lines, ignoring generated files. labels Dec 1, 2018
@coreydaley
Copy link
Author

/retest

@openshift-ci-robot openshift-ci-robot added size/M Denotes a PR that changes 30-99 lines, ignoring generated files. and removed size/S Denotes a PR that changes 10-29 lines, ignoring generated files. labels Dec 2, 2018
@coreydaley coreydaley changed the title [WIP] S3 config should not stomp local secret config S3 config should not stomp local secret config Dec 2, 2018
@openshift-ci-robot openshift-ci-robot removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Dec 2, 2018
@coreydaley coreydaley requested review from bparees and legionus and removed request for deads2k December 2, 2018 04:25
@coreydaley
Copy link
Author

/retest

1 similar comment
@coreydaley
Copy link
Author

/retest

Copy link
Contributor

@bparees bparees left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good start, the main thing you're missing is reacting to changed/deletion/creation of the user-defined secret.

@openshift-ci-robot openshift-ci-robot added size/L Denotes a PR that changes 100-499 lines, ignoring generated files. and removed size/M Denotes a PR that changes 30-99 lines, ignoring generated files. labels Dec 3, 2018
@openshift-ci-robot openshift-ci-robot added size/XL Denotes a PR that changes 500-999 lines, ignoring generated files. size/L Denotes a PR that changes 100-499 lines, ignoring generated files. and removed size/L Denotes a PR that changes 100-499 lines, ignoring generated files. size/XL Denotes a PR that changes 500-999 lines, ignoring generated files. labels Dec 11, 2018
@coreydaley
Copy link
Author

@bparees ptal

@coreydaley
Copy link
Author

/retest

@coreydaley
Copy link
Author

@bparees ptal
I refactored a bunch of stuff and addressed your comments.
I also merged in my other PR since I needed a few things from it in this one.

I am still working on the test, but I believe everything else is ready for another look.

@openshift-ci-robot openshift-ci-robot added size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. and removed size/XL Denotes a PR that changes 500-999 lines, ignoring generated files. labels Dec 19, 2018
Copy link
Contributor

@bparees bparees left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why is this PR disabling all our tests?

@coreydaley
Copy link
Author

coreydaley commented Dec 23, 2018

@bparees ptal
This should be ready for another look, including the tests. I separated the aws-sdk-go bump into it's own commit for ease of review.

@bparees bparees self-assigned this Dec 29, 2018
@coreydaley
Copy link
Author

/retest

    Checks for a user supplied S3 configuration to use
    If user config is not found, use the system configuration
    Add a test to ensure that a user provided configuration will override the sytem provided one
    Add image-registry-private-configuration-user to the README.md
    Finalize S3 storage (remove bucket if managed by us)
    Don't fail on S3 bucket tagging and encryption, just set the appropriate conditions to false

Fixes #79
Fixes #99
@bparees
Copy link
Contributor

bparees commented Jan 2, 2019

/lgtm

@openshift-ci-robot openshift-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Jan 2, 2019
@openshift-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: bparees, coreydaley

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-ci-robot openshift-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jan 2, 2019
@openshift-merge-robot openshift-merge-robot merged commit 0379f48 into openshift:master Jan 2, 2019
@coreydaley coreydaley deleted the github_99_s3_config_should_not_stomp_local_secret_config branch August 14, 2019 15:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged. size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants