feat: Add Network Mirror Protocol for OpenTofu / HashiCorp Registries - #80
Open
tonedefdev wants to merge 9 commits into
Open
feat: Add Network Mirror Protocol for OpenTofu / HashiCorp Registries#80tonedefdev wants to merge 9 commits into
tonedefdev wants to merge 9 commits into
Conversation
- preserve canonical registry.opentofu.org provider identities - add namespace-scoped mirror index, metadata, and archive endpoints - enforce existing authentication and provider RBAC for mirror metadata - serve exact platform artifacts with zh checksum verification - add canonical tofu init, TLS, archive, and authentication e2e coverage - update UI provider usage guidance for network mirror configuration - document anonymous and authenticated provider mirror workflows - bump chart and application versions to 0.10.0
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Closes #79
Closes #78
Closes #68
Closes #65
This release adds Provider Network Mirror support for OpenTofu and Terraform while preserving canonical provider identities in configuration and dependency lockfiles.
It also introduces a complete local Tilt environment for testing the mirror over trusted HTTPS and includes the dependency, authentication, RBAC, container, and logging hardening identified during release review.
The Helm chart
versionandappVersionare bumped to0.10.0.Provider Network Mirror
https://<host>/opendepot/providers/mirror/v1/<kubernetes-namespace>/registry.opentofu.org/hashicorp/awsregistry.terraform.io/hashicorp/awsspec.providerConfig.upstreamRegistry.registry.opentofu.organdregistry.terraform.io.registry.opentofu.org.Local Development
mkcertTLS proxy at:https://opendepot.localtest.me:8443Security Hardening
8-alpineimage..dockerignoreto exclude local state and build artifacts.Upgrade Notes
Valkey authentication is now enabled by default. Before deployment, create a Secret containing the
defaultACL password:kubectl create secret generic opendepot-valkey-auth \ --namespace opendepot-system \ --from-literal=default='<password>'Custom Secret names must match in both:
Provider resources may select their canonical upstream registry:
Existing resources that omit this field continue to use
registry.opentofu.org.Validation
go vetgo vetgo vet