[1/n][guardian-integration] guardian local and dev deployment infra setup#449
Draft
0xsiddharthks wants to merge 2 commits intomainfrom
Draft
[1/n][guardian-integration] guardian local and dev deployment infra setup#4490xsiddharthks wants to merge 2 commits intomainfrom
0xsiddharthks wants to merge 2 commits intomainfrom
Conversation
Adds a non-enclave Containerfile under docker/hashi-guardian-k8s/ that mirrors hashi-screener's build shape, registers grpc.health.v1.Health in the guardian binary so K8s gRPC probes work, and ships a dev-only bootstrap_operator_init example that drives OperatorInit from env vars against a real AWS S3 bucket. The existing docker/hashi-guardian/ Nitro enclave build is untouched.
06adb7a to
c50c783
Compare
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
docker/hashi-guardian-k8s/Containerfile— plain K8s (non-enclave) musl build, mirrors hashi-screenergrpc.health.v1.Healthin the guardian binary so the K8s gRPC probe + GKEHealthCheckPolicyworkcrates/hashi-guardian/examples/bootstrap_operator_init.rs— dev helper to driveOperatorInitfrom env vars against a real AWS S3 bucketExisting
docker/hashi-guardian/Nitro enclave build is untouched. Pairs with a draft PR insui-operationsthat adds the Pulumi stack + provisions the S3 bucket.Test plan
cargo nextest run -p hashi-guardiancargo run -p hashi-guardian+grpc_health_probe -addr=localhost:3000returnsSERVINGdocker build -f docker/hashi-guardian-k8s/Containerfile .succeeds