Skip to content

Validate with Helm and Kustomize Support - #392

Merged
Manasa Chinta (manasachi) merged 7 commits into
mainfrom
staging-safeguards
Nov 13, 2024
Merged

Validate with Helm and Kustomize Support#392
Manasa Chinta (manasachi) merged 7 commits into
mainfrom
staging-safeguards

Conversation

@manasachi

@manasachi Manasa Chinta (manasachi) commented Oct 7, 2024

Copy link
Copy Markdown
Contributor

Description

Merging helm and kustomize support for draft validate.
Draft validate will validate manifests given a path to a helm chart, Kustomize dir, a directory of .yaml files, or a single yaml file.

Helm specifically requires --releaseName or -n and --releaseNamespace or -e flags. Otherwise, it uses the directory name as the default name.

Fixes # (issue)
Feature # (details)

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update
  • Refactor

How Has This Been Tested?

Provide instructions so we can reproduce, and list any relevant details for your test configuration. Please mention if this is a breaking change which will impact consuming tool(s).

  • Unit Test:
  • E2E Test:
  • Other Test:

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • Any dependent changes have been merged and published in downstream modules

Signed-off-by: Manasa Chinta <manasachinta7@gmail.com>
…pace for rendering helm projects (#352)

Co-authored-by: manasachi <144361666+manasachi@users.noreply.github.com>
Co-authored-by: Brandon Foley <brandonfoley13@gmail.com>
Signed-off-by: Manasa Chinta <manasachinta7@gmail.com>
Signed-off-by: Manasa Chinta <manasachinta7@gmail.com>
Signed-off-by: Manasa Chinta <manasachinta7@gmail.com>
@manasachi Manasa Chinta (manasachi) changed the title Staging safeguards Validate with Helm and Kustomize Support Oct 7, 2024

@tbarnes94 Tommy Barnes (tbarnes94) left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Left a nit comment, otherwise LGTM! Good job!

Comment thread pkg/safeguards/preprocessing/preprocessing.go

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

lgtm love to see support for the rendered chart types

@manasachi
Manasa Chinta (manasachi) deleted the staging-safeguards branch November 13, 2024 20:54
Audra Stump (audrastump) pushed a commit to audrastump/draft that referenced this pull request Dec 13, 2024
Signed-off-by: Manasa Chinta <manasachinta7@gmail.com>
Co-authored-by: Tommy Barnes <thomas.jonathan.barnes@gmail.com>
Co-authored-by: Brandon Foley <brandonfoley13@gmail.com>
Co-authored-by: David Gamero <david340804@gmail.com>
Audra Stump (audrastump) pushed a commit to audrastump/draft that referenced this pull request Dec 16, 2024
Signed-off-by: Manasa Chinta <manasachinta7@gmail.com>
Co-authored-by: Tommy Barnes <thomas.jonathan.barnes@gmail.com>
Co-authored-by: Brandon Foley <brandonfoley13@gmail.com>
Co-authored-by: David Gamero <david340804@gmail.com>
Audra Stump (audrastump) pushed a commit to audrastump/draft that referenced this pull request Dec 19, 2024
Signed-off-by: Manasa Chinta <manasachinta7@gmail.com>
Co-authored-by: Tommy Barnes <thomas.jonathan.barnes@gmail.com>
Co-authored-by: Brandon Foley <brandonfoley13@gmail.com>
Co-authored-by: David Gamero <david340804@gmail.com>
Audra Stump (audrastump) pushed a commit to audrastump/draft that referenced this pull request Jan 2, 2025
Signed-off-by: Manasa Chinta <manasachinta7@gmail.com>
Co-authored-by: Tommy Barnes <thomas.jonathan.barnes@gmail.com>
Co-authored-by: Brandon Foley <brandonfoley13@gmail.com>
Co-authored-by: David Gamero <david340804@gmail.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