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

Kiln validate resource type allow list #501

Open
wants to merge 7 commits into
base: main
Choose a base branch
from

Conversation

jajita
Copy link

@jajita jajita commented Aug 9, 2024

Golden Path requires tile authors to only use artifactory. This new flag allows us to upstream the requirement to Kiln.

This doesn't introduce any breaking changes; new behavior is effectively feature flagged.

Story Id: TPCF-10575

@jajita jajita added tas-slingshots Created by https://github.com/orgs/pivotal-cf/teams/tas-strategic-initiatives-slingshot enhancement ready-for-review labels Aug 9, 2024
var opt ValidationOptions
for _, o := range options {
if o.resourceTypeAllowList != nil {
opt.resourceTypeAllowList = o.resourceTypeAllowList
Copy link
Author

Choose a reason for hiding this comment

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

Should we append to the list instead of replacing?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement ready-for-review tas-slingshots Created by https://github.com/orgs/pivotal-cf/teams/tas-strategic-initiatives-slingshot
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants