Skip to content

gatekeeper on duplicated nested packages merges the validation #3758

Open
kptdev/krm-functions-catalog
#969
@bluebrown

Description

@bluebrown

Expected behavior

The gatekeeper validation does not work as expected when running on nested packages in a mono repo where the nested packages are the same.

env/prod/app  <-- contains contraint violation
env/stage/app <-- is ok

In a setup like this, I expect an error to be reported on the prod app.

Actual behavior

No error is reported. Probably because it is overshadowed by the stage app.

Information

Using 0.2.1 of https://catalog.kpt.dev/gatekeeper/v0.2/
kpt version: 1.0.0-beta.24

Steps to reproduce the behavior

https://github.com/bluebrown/kpt-gatekeeper-issue

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/fn-catalogFunctions CatalogbugSomething isn't workinggood first issueGood for newcomerstriagedIssue has been triaged by adding an `area/` label

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions