Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use secret for storing connectioninfo (bucketname) in s3-irsa example #177

Merged
merged 16 commits into from
Mar 25, 2024

Conversation

johnphilips3
Copy link
Collaborator

What does this PR do?

Changes s3-irsa examplea and related compositions to use a secret for the connectioninfo (bucketname) vs. configmap.
Associated version updates to crossplane and providers is also included for both terraform and eksctl bootstraps.

Motivation

Uses correct pattern now that provider bug has been fixed.

More

  • [ X] Yes, I have tested the PR using my local account setup (Provide any test evidence report under Additional Notes)

  • [ NA] Yes, I have added a new example under examples to support my PR

  • [NA ] Yes, I have updated the docs for this feature

  • [ NA] Yes, I have linked to an issue or feature request (applicable to PRs that solves a bug or a feature request)

Note:

  • Not all the PRs require examples and docs
  • We prefer small, well tested pull requests. Please ensure your pull requests are self-contained, and commits are squashed

For Moderators

  • E2E Test successfully complete before merge?

Additional Notes

johnphilips3 and others added 7 commits January 3, 2024 11:27
* Update package version and args to match terraform bootstrap

* Add deployment for crossplane helm provider and argocd to eksctl bootstrap

* temporary change to region for testing with existing deployment in us-west-2

* Adjust permission boundary to allow CreateRole
Quotes around ACCOUNT_ID in environmentconfig

* Change region to us-east-1 to match default in terraform bootstrap
Remove Deny for CreateRole
Add missing ControllerConfig apply for Helm Provider
* Add annotations to for saving s3 bucket as secret for s3irsa example

* Add writeConnectionSecretToRef to base.spec in Composition
Change writeConnectionSecretToRef.name in claim in case of conflicts

* Add annotations for ConnectionSecret to s3irsa composition

* use secret for bucketname

* corrected connectiondetails

* change secret key to match configmap
remove configmap
candonov and others added 9 commits March 25, 2024 21:10
* fixing some warnings

* matching service

* reverting a test

* feat(upgrade): upbound aws-provider to 1.2.1 and clearing warnings

* upgrading eksclt as well

* apigw warning cleanup
Adding Navya to Codeowners
Eksctl update (#2)

* Update package version and args to match terraform bootstrap

* Add deployment for crossplane helm provider and argocd to eksctl bootstrap

* temporary change to region for testing with existing deployment in us-west-2

* Adjust permission boundary to allow CreateRole
Quotes around ACCOUNT_ID in environmentconfig

* Change region to us-east-1 to match default in terraform bootstrap
Remove Deny for CreateRole
Add missing ControllerConfig apply for Helm Provider
Request changes from PR Review
S3 secret fix (#4)

* Add annotations to for saving s3 bucket as secret for s3irsa example

* Add writeConnectionSecretToRef to base.spec in Composition
Change writeConnectionSecretToRef.name in claim in case of conflicts

* Add annotations for ConnectionSecret to s3irsa composition

* use secret for bucketname

* corrected connectiondetails

* change secret key to match configmap
remove configmap
Copy link
Contributor

@candonov candonov left a comment

Choose a reason for hiding this comment

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

lgtm

@candonov candonov merged commit b03d0b2 into awslabs:main Mar 25, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants