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

feat: Generate .spec.resources #73

Merged
merged 22 commits into from
Oct 21, 2024

Conversation

c-pius
Copy link
Contributor

@c-pius c-pius commented Oct 17, 2024

Description

Changes proposed in this pull request:

  • parses resources from the module config file and puts it into .spec.resources of the module template
  • rawManifest will be defaulted from manifest in the module config file but may be overwritten with an explicit entry in resources

Regarding AC:

  • link must be a valid web URL (http* and not file://)

I opted to only allow https. I don't see a case why somebody should provide a http only resource.

Related issue(s)

@c-pius c-pius requested a review from a team as a code owner October 17, 2024 09:01
@c-pius c-pius changed the title feat: Generate '.spec.resources' feat: Generate .spec.resources Oct 17, 2024
Copy link
Contributor

@ruanxin ruanxin left a comment

Choose a reason for hiding this comment

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

most looks good, just that moduleconfig needs to rethink imo.

@kyma-bot kyma-bot added size/XXL and removed size/XL labels Oct 21, 2024
@kyma-bot kyma-bot added the lgtm label Oct 21, 2024
@kyma-bot kyma-bot removed the lgtm label Oct 21, 2024
@kyma-bot
Copy link
Contributor

New changes are detected. LGTM label has been removed.

@c-pius c-pius enabled auto-merge (squash) October 21, 2024 13:48
@c-pius c-pius merged commit 09f42c8 into kyma-project:main Oct 21, 2024
10 checks passed
@c-pius c-pius deleted the feat/support-module-config-resources branch October 21, 2024 13:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[ModuleCatalog] Support .spec.resources
3 participants