-
Notifications
You must be signed in to change notification settings - Fork 5
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
fix: move awsacfg resource creation from Helm chart to controller #61
Merged
Merged
Changes from 10 commits
Commits
Show all changes
18 commits
Select commit
Hold shift + click to select a range
1679e4a
remove creation of awsacfg resource from helm charts
kbeniwal 1800193
pass required fields for creating awsacfg resource as env variables
kbeniwal 1e6a346
add CreateCRIfNotPresent
kbeniwal 4fb157f
Merge branch 'main' of github.com:kbeniwal/kyverno-aws-adapter into r…
kbeniwal b66a5ef
update getting_started.md with the updated behavior
kbeniwal 150f391
check if resource exists using Get and use ctrl.New instead of mgr.Ge…
kbeniwal 01f8b57
fix IsCRPresent not returnign err
kbeniwal a446e2d
use AWS Adapter instead of AWS SDK
kbeniwal 8fd0537
move client and resource creation code to seperate functions
kbeniwal 357b111
change IsCRPresent with IsAWSAdapterConfigPresent
kbeniwal 0dfe88b
add error handling for required parameters to create CR
kbeniwal c06e777
Merge branch 'main' into resource-recreation
pns-nirmata c6fcbbf
move required params error handling to main file
kbeniwal a44edf1
Merge branch 'resource-recreation' of github.com:kbeniwal/kyverno-aws…
kbeniwal 2f72ea7
show param names
kbeniwal c6dfd75
Merge branch 'main' into resource-recreation
pns-nirmata 470eed8
Merge branch 'main' into resource-recreation
pns-nirmata ff62d8e
fix: merge error
pns-nirmata File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If any of the above are empty, then don't create instead of failing and exiting.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done. I moved the required parameters and their error handling to the main file, so that we can right away return if all required params are not present.