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

Default rule to make sure service-account is created before secret associated with that service-account #895

Merged
merged 2 commits into from
Apr 4, 2024

Conversation

sethiyash
Copy link
Contributor

What this PR does / why we need it:

Default rule to make sure secret associated with service-account created after service-account is created

Which issue(s) this PR fixes:

#514

Fixes #

Does this PR introduce a user-facing change?


Additional Notes for your reviewer:

Review Checklist:
  • Follows the developer guidelines
  • Relevant tests are added or updated
  • Relevant docs in this repo added or updated
  • Relevant carvel.dev docs added or updated in a separate PR and there's
    a link to that PR
  • Code is at least as readable and maintainable as it was before this
    change

Additional documentation e.g., Proposal, usage docs, etc.:


@sethiyash sethiyash changed the title Default rule to make sure secret associated with service-account created after service-account is created Default rule to make sure secret associated with service-account created after service-account Mar 7, 2024
@sethiyash sethiyash changed the title Default rule to make sure secret associated with service-account created after service-account Default rule to make sure service-account is created before secret associated with a service-account Mar 7, 2024
@sethiyash sethiyash changed the title Default rule to make sure service-account is created before secret associated with a service-account Default rule to make sure service-account is created before secret associated with that service-account Mar 7, 2024
Copy link
Contributor

@kumaritanushree kumaritanushree left a comment

Choose a reason for hiding this comment

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

@sethiyash would you like to go through these tests once and if possible add similar for your changes as well?

pkg/kapp/diffgraph/change_graph_test.go Outdated Show resolved Hide resolved
pkg/kapp/diffgraph/change_graph_test.go Show resolved Hide resolved
test/e2e/change_rule_test.go Outdated Show resolved Hide resolved
…ted after service-account is created

Signed-off-by: Yash Sethiya <[email protected]>
@sethiyash sethiyash force-pushed the ordering-sa-secret branch 2 times, most recently from 8fdd44e to 212e27b Compare April 1, 2024 05:48
Signed-off-by: Yash Sethiya <[email protected]>
Copy link
Member

@praveenrewar praveenrewar left a comment

Choose a reason for hiding this comment

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

LGTM!

@praveenrewar praveenrewar merged commit 10603a4 into develop Apr 4, 2024
5 checks passed
@praveenrewar praveenrewar deleted the ordering-sa-secret branch April 4, 2024 19:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

4 participants