Skip to content

feat(chart): add stores[].plainHttp for HTTP registries#2582

Open
fseldow wants to merge 2 commits into
notaryproject:mainfrom
fseldow:xinhl/chart-plainhttp
Open

feat(chart): add stores[].plainHttp for HTTP registries#2582
fseldow wants to merge 2 commits into
notaryproject:mainfrom
fseldow:xinhl/chart-plainhttp

Conversation

@fseldow

@fseldow fseldow commented Jun 12, 2026

Copy link
Copy Markdown
Contributor

Summary

Adds an opt-in plainHttp toggle on each store in the ratify-gatekeeper-provider Helm chart so the rendered Executor CR can talk to registries that do not serve TLS (e.g. local kind clusters and dev registries).

Changes

  • deployments/ratify-gatekeeper-provider/values.yaml — new stores[].plainHttp field (defaults to false)
  • deployments/ratify-gatekeeper-provider/templates/executor.yaml — render plainHttp: true on the store when the value is set

Backwards compatibility

Default is false, so existing deployments render exactly the same Executor as before.

Motivation

Needed by the upcoming v2 Executor CRD e2e workflow which uses a local insecure registry. Split out of #2565 so it can land independently.

Testing

helm template of the chart with and without --set stores[0].plainHttp=true renders the expected diff.

Copilot AI review requested due to automatic review settings June 12, 2026 04:20

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

Note

Copilot was unable to run its full agentic suite in this review.

Adds support for configuring non-TLS (plain HTTP) registry access for the Ratify Gatekeeper provider by introducing a plainHttp store setting and wiring it into the rendered executor configuration.

Changes:

  • Added plainHttp (default false) to the stores values schema.
  • Updated the executor template to emit plainHttp: true when enabled per store.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
deployments/ratify-gatekeeper-provider/values.yaml Introduces a plainHttp toggle in store configuration (default off).
deployments/ratify-gatekeeper-provider/templates/executor.yaml Renders plainHttp in generated config when enabled for a store.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread deployments/ratify-gatekeeper-provider/templates/executor.yaml
@codecov

codecov Bot commented Jun 12, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 77.62%. Comparing base (5eb83f5) to head (965f0fe).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2582   +/-   ##
=======================================
  Coverage   77.62%   77.62%           
=======================================
  Files         105      105           
  Lines        4657     4657           
=======================================
  Hits         3615     3615           
  Misses        893      893           
  Partials      149      149           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@fseldow fseldow force-pushed the xinhl/chart-plainhttp branch 2 times, most recently from 0d591b1 to a7b1732 Compare June 12, 2026 07:30
Adds an opt-in plainHttp toggle on each store in the ratify-gatekeeper-provider Helm chart so the rendered Executor CR can talk to registries that do not serve TLS (e.g. local kind clusters and development registries). Defaults to false so existing deployments are unchanged.

Signed-off-by: xinhl <xinhl@microsoft.com>

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@fseldow fseldow force-pushed the xinhl/chart-plainhttp branch from a7b1732 to 97b3e13 Compare June 12, 2026 07:32
Comment thread deployments/ratify-gatekeeper-provider/templates/executor.yaml
Signed-off-by: xinhl <xinhl@microsoft.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.

3 participants