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

[stable/wiremock] Add serviceAccount #608

Conversation

turuncuofke
Copy link
Contributor

This PR adds the capability of creating a service account resource with custom annotations for the wiremock consumer pod.

Since we are using large stubs files for our mock tests and we are constantly updating those large files, it is the best solution for us to upload those files in to an s3 bucket and copy them to our wiremock consumer pod using an init container. To be able to this, we need some kind of authorization and authentication mechanism for our aws account. And using a service account for this suits us perfectly. Because of those reasons, related updates were made on the wiremock helm chart. All kinds of feedbacks are appreciated. Thanks in advance.

  • serviceaccount.yaml is created

  • template.spec.serviceAccount filed is added to deployment.yaml

  • serviceAccount field is added to values.yaml file to control related resources

  • Title of the PR starts with chart name (e.g. [stable/mychartname])

  • I have read the contribution instructions, bumped chart version and regenerated the docs

  • Github actions are passing

@turuncuofke turuncuofke requested a review from a team as a code owner October 3, 2024 05:29
Copy link
Member

@max-rocket-internet max-rocket-internet left a comment

Choose a reason for hiding this comment

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

Nice, thanks @turuncuofke 💚

@max-rocket-internet max-rocket-internet enabled auto-merge (squash) October 4, 2024 07:23
@turuncuofke
Copy link
Contributor Author

@max-rocket-internet Should I update the README.md? There has been a mistake in the alphabetical order I guess.

@max-rocket-internet
Copy link
Member

@turuncuofke just run this from repo root (in your branch) and commit the changes:

docker run --rm -v "$(git rev-parse --show-toplevel):/helm-docs" jnorwood/helm-docs:v1.11.3 --template-files ./ci/README.md.gotmpl

auto-merge was automatically disabled October 4, 2024 08:35

Head branch was pushed to by a user without write access

@turuncuofke turuncuofke force-pushed the wiremock-add-serviceaccount branch from 5538f25 to c5dc1fd Compare October 4, 2024 08:35
@max-rocket-internet max-rocket-internet enabled auto-merge (squash) October 4, 2024 09:06
@max-rocket-internet max-rocket-internet merged commit 70ce30b into deliveryhero:master Oct 4, 2024
5 checks passed
fekaiser pushed a commit to gastromatic/delivery-hero-helm-charts that referenced this pull request Oct 23, 2024
* [stable/wiremock] Add serviceAccount

* Fix README.md

---------

Co-authored-by: Max Williams <[email protected]>
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