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

Create Gatekeeper Policy to Verify All Helm Chart Resources are Produced from Helm Chart Collator #179

Open
lb4368 opened this issue Jun 17, 2021 · 0 comments
Labels
enhancement New feature or request priority/medium Default priority for items
Milestone

Comments

@lb4368
Copy link

lb4368 commented Jun 17, 2021

Problem description
With the delivery of the Gatekeeper manifest function (#167) and a manifest structure for constraint templates and constraints (#174), we would like to demonstrate a policy implementation and auditing within treasuremap. As an initial example, we would like a policy that validates that all helm chart resources used within a site deployment are produced from the helm-chart-collator managed within treasuremap.

Proposed change

  1. Create a Gatekeeper constraint template that allows for restricting HelmRelease sources to specified sources.
  2. Create a Gatekeeper constraint to restrict HelmRelease source to the helm-chart-collator/collator HelmRepository. GitRepository and Bucket sources should also be disallowed.
  3. Deliver the constraint template and constraint during the workload phase or some new gating phase.
  4. Provide capability to report violations during treasuremap gating. See Gatekeeper audit.
@lb4368 lb4368 added enhancement New feature or request triage labels Jun 17, 2021
@jezogwza jezogwza added this to the Future milestone Jun 23, 2021
@jezogwza jezogwza added priority/medium Default priority for items and removed triage labels Jun 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request priority/medium Default priority for items
Projects
None yet
Development

No branches or pull requests

2 participants