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: remove spec requirement #1512

Merged
merged 1 commit into from
Nov 5, 2020
Merged

fix: remove spec requirement #1512

merged 1 commit into from
Nov 5, 2020

Conversation

p0tr3c
Copy link
Contributor

@p0tr3c p0tr3c commented Nov 5, 2020

  • Ready for review
  • Follows CONTRIBUTING rules
  • Reviewed by Snyk internal team

What does this PR do?

This PR removes the requirement of spec to accept yaml files as valid k8s objects

Where should the reviewer start?

How should this be manually tested?

Any background context you want to provide?

We currently reject yaml files if the spec field is not present in k8s object.
This is not valid requirement for all k8s object for example service-account

What are the relevant tickets?

Zendesk

Screenshots

Additional questions

@p0tr3c p0tr3c requested a review from a team as a code owner November 5, 2020 16:16
@p0tr3c p0tr3c requested a review from a team November 5, 2020 16:16
@p0tr3c p0tr3c requested a review from a team as a code owner November 5, 2020 16:16
@p0tr3c p0tr3c self-assigned this Nov 5, 2020
@ghost ghost requested review from gitphill and razzmadaz November 5, 2020 16:16
@p0tr3c p0tr3c force-pushed the fix/k8s-object-requirements branch from b6f9946 to 3152782 Compare November 5, 2020 16:27
@p0tr3c p0tr3c force-pushed the fix/k8s-object-requirements branch from 3152782 to bb7efaf Compare November 5, 2020 17:07
@github-actions
Copy link
Contributor

github-actions bot commented Nov 5, 2020

Expected release notes (by @p0tr3c)

fixes:
remove spec requirement (bb7efaf)

others (will not be included in Semantic-Release notes):
fix iac codeowners (8375bf7)

  • I hereby acknowledge these release notes are 🥙 AWESOME 🥙

@almog27 almog27 removed request for a team, gitphill and razzmadaz November 5, 2020 17:30
@p0tr3c p0tr3c merged commit 8b14d00 into master Nov 5, 2020
@p0tr3c p0tr3c deleted the fix/k8s-object-requirements branch November 5, 2020 18:39
@snyksec
Copy link

snyksec commented Nov 5, 2020

🎉 This PR is included in version 1.424.4 🎉

The release is available on:

Your semantic-release bot 📦🚀

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