这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@OfekShimko
Copy link
Contributor

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Description

Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.

Fixes # (issue)

New/Edited policies (Delete if not relevant)

Description

Include a description of what makes it a violation and any relevant external links.

Fix

How does someone fix the issue in code and/or in runtime?

Checklist:

  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • I have added tests that prove my feature, policy, or fix is effective and works
  • New and existing tests pass locally with my changes

@OfekShimko OfekShimko changed the title fix(kustomize) handle kustomize file with empty resources section fix(kustomize): handle kustomize file with empty resources section Apr 17, 2025
@OfekShimko OfekShimko merged commit 171efa7 into main Apr 17, 2025
42 of 43 checks passed
@OfekShimko OfekShimko deleted the bugfix_kustomize_fix_error_when_resources_section_is_empty branch April 17, 2025 13:25
Saarett pushed a commit that referenced this pull request Apr 17, 2025
…7109)

* fix error when resources section is empty

* add tests

---------

Co-authored-by: oshimko <oshimko@paloaltonetworks.com>
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.

4 participants