enable tls in services - #3016
Draft
SantanM wants to merge 7 commits into
Draft
Conversation
…addy/Logto OIDC) dataflow-gen: - New services/alp-dataflow-gen image (Dockerfile installs nginx) + entrypoint.sh that materializes cert/key/ca from TLS__INTERNAL__* env and configures nginx to terminate TLS on :41120 (listen 41120 ssl); Prefect stays HTTP on loopback. - docker-compose(-local) wire the build/image + HTTPS Prefect URLs. dataflow-gen-worker: - Install the internal CA into the OS trust store (update-ca-certificates) and set SSL_CERT_FILE/REQUESTS_CA_BUNDLE so the Prefect worker (urllib/httpx) verifies it. trex: - DENO_TLS_CA_STORE=system so the Deno runtime trusts the internal CA from the OS store; CA installed via update-ca-certificates in the service command. Caddy/Logto OIDC: - Caddy -> Logto upstream over HTTPS on the internal FQDN (matches the *.d2e.local cert); certs materialized from TLS__INTERNAL__* env. - Consolidate OIDC identity on the internal Logto FQDN :3001 (Logto ENDPOINT, LOGTO__ISSUER, SECURITY_AUTH_OIDC_URL, LOGTO__TOKEN_URL, idIssuerUrl) so trex and WebAPI validate the same issuer; TRUST_PROXY_HEADER keeps browser-facing URLs on the public Caddy host.
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.
Merge Checklist
Please cross check this list if additions / modifications needs to be done on top of your core changes and tick them off. Reviewer can as well glance through and help the developer if something is missed out.
developbranch)