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

fix: Properly represent multiple versions of the same custom resource #516

Closed

Conversation

atzawada
Copy link

I took a quick peek into the issue #515 that I opened earlier. Looks like it was an issue with how the Rego template was being rendered for additional custom resources. Simply combined the resource versions in the go code before passing it all off to the template.

If this approach is deemed ok, I will go back and write up some additional testing around this.

@dark0dave dark0dave self-requested a review August 16, 2023 21:22
@dark0dave dark0dave self-assigned this Aug 16, 2023
Copy link
Collaborator

@dark0dave dark0dave left a comment

Choose a reason for hiding this comment

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

Tests, rebase and signed commit please.

@atzawada atzawada force-pushed the atzawada-fix-multiple-versions branch 3 times, most recently from 2f33a3f to 2c3f328 Compare September 26, 2023 15:27
@atzawada
Copy link
Author

@dark0dave Sonar is flagging a couple of code smells...I am not sure that the suggested changes help the style of the tests in any way, but if you want me to make them I can

@atzawada atzawada force-pushed the atzawada-fix-multiple-versions branch from 2c3f328 to c954f76 Compare September 26, 2023 15:57
Copy link

This PR has not seen any activity in last 60 days and has been marked as stale

@github-actions github-actions bot added the stale label Nov 26, 2023
atzawada and others added 3 commits December 22, 2023 18:45
Signed-off-by: Andy Zawada <atzawada@gmail.com>
Signed-off-by: Andy Zawada <atzawada@gmail.com>
Signed-off-by: Andy Zawada <atzawada@gmail.com>
@dark0dave dark0dave force-pushed the atzawada-fix-multiple-versions branch from c954f76 to 321d972 Compare December 22, 2023 18:45
@dark0dave dark0dave removed the stale label Dec 22, 2023
@dark0dave
Copy link
Collaborator

Looks like you'll need to format this.

Copy link

This PR has not seen any activity in last 60 days and has been marked as stale

@github-actions github-actions bot added the stale label Feb 21, 2024
Copy link

This PR was closed because it has been stalled for 90 days with no activity.

@github-actions github-actions bot closed this Mar 23, 2024
@w21froster
Copy link

@atzawada this is some functionality I need so I am running your fork -- are you by chance able to get this formatted so it can be merged? 🙏

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants