Document PostgreSQL secret connections - #2021
Open
willdavsmith wants to merge 2 commits into
Open
Conversation
Signed-off-by: willdavsmith <willdavsmith@gmail.com>
Signed-off-by: willdavsmith <willdavsmith@gmail.com>
willdavsmith
marked this pull request as ready for review
August 28, 2026 01:57
Contributor
Author
|
This PR depends on radius-project/samples#2656. |
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
Updates the add-connection tutorial for the Kubernetes direct Secret connection pattern.
postgresqlproducer connection forCONNECTION_POSTGRESQL_HOST,PORT,DATABASE, andUSERNAME.Radius.Security/secretsresource containing the same password passed by value to PostgreSQL.postgresqlcredentials, which projectsCONNECTION_POSTGRESQLCREDENTIALS_PASSWORDthrough KubernetessecretKeyRefwithout copying the value into Recipe output or plaintext container configuration.rad deployshortcode arguments on the published page.Prerequisites and dependencies
Runtime support is provided by radius-project/radius#12709, and Kubernetes Container Recipe support is provided by radius-project/resource-types-contrib#300; both are merged.
The PostgreSQL ownership correction in radius-project/resource-types-contrib#298 is merged. It stops returning the developer-supplied password and connection string from Recipe
result.secrets.This PR depends on radius-project/samples#2656 and remains draft until that sample change lands on
edgeand its compatible demo image is published.Platform and adoption scope
Automatic Secret projection requires compatible Radius runtime and Kubernetes Container Recipe versions. Older or mixed environments can retain explicit
env.valueFrom.secretKeyRefbindings; this change does not migrate or rewrite existing working models. Azure Container Instances behavior is unchanged.Validation
app-postgresql.bicepis byte-for-byte identical to samples #2656 at92ff98ee6454f062970aafcd0daf7aaf820440ffgit diff --checkFile change summary
docs/content/getting-started/add-connection/_index.mddocs/static/samples/demo/app-postgresql.biceppostgresqlcredentialsconnection from samples #2656.