forked from radius-project/radius
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adding Kubernetes native secrets to secret stores (radius-project#7744)
# Description Adding secret store capabilities to reference kubernetes secrets natively ## Type of change - This pull request adds or changes features of Radius and has an approved issue (radius-project#5520) . <!-- Please update the following to link the associated issue. This is required for some kinds of changes (see above). --> Fixes: radius-project#5520 --------- Signed-off-by: Nick Beenham <[email protected]>
- Loading branch information
1 parent
96d5cf8
commit 3ddb61e
Showing
35 changed files
with
1,232 additions
and
310 deletions.
There are no files selected for viewing
471 changes: 252 additions & 219 deletions
471
...bicep-types-radius/generated/applications/applications.core/2023-10-01-preview/types.json
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains 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
This file contains 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
This file contains 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
80 changes: 80 additions & 0 deletions
80
pkg/corerp/api/v20231001preview/testdata/containerresource-nil-env-variables.json
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,80 @@ | ||
{ | ||
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/radius-test-rg/providers/Applications.Core/containers/container0", | ||
"name": "container0", | ||
"type": "Applications.Core/containers", | ||
"properties": { | ||
"status": { | ||
"outputResources": [ | ||
{ | ||
"id": "/planes/test/local/providers/Test.Namespace/testResources/test-resource" | ||
} | ||
] | ||
}, | ||
"provisioningState": "Succeeded", | ||
"application": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testGroup/providers/Applications.Core/applications/app0", | ||
"connections": { | ||
"inventory": { | ||
"source": "inventory_route_id", | ||
"disableDefaultEnvVars": true, | ||
"iam": { | ||
"kind": "azure", | ||
"roles": [ | ||
"read" | ||
] | ||
} | ||
} | ||
}, | ||
"restartPolicy": "Always", | ||
"container": { | ||
"image": "ghcr.io/radius-project/webapptutorial-todoapp", | ||
"livenessProbe": { | ||
"kind": "tcp", | ||
"failureThreshold": 5, | ||
"initialDelaySeconds": 5, | ||
"periodSeconds": 5, | ||
"timeoutSeconds": 5, | ||
"containerPort": 8080 | ||
}, | ||
"env": { | ||
"DB_USER": { } | ||
}, | ||
"command": [ | ||
"/bin/sh" | ||
], | ||
"args": [ | ||
"-c", | ||
"while true; do echo hello; sleep 10;done" | ||
], | ||
"workingDir": "/app" | ||
}, | ||
"identity": { | ||
"kind": "azure.com.workload", | ||
"oidcIssuer": "https://oidcuri/id", | ||
"resource": "resourceid" | ||
}, | ||
"extensions": [ | ||
{ | ||
"kind": "manualScaling", | ||
"replicas": 2 | ||
}, | ||
{ | ||
"kind": "daprSidecar", | ||
"appId": "app-id", | ||
"appPort": 80, | ||
"config": "config", | ||
"protocol": "http" | ||
}, | ||
{ | ||
"kind": "kubernetesMetadata", | ||
"annotations": { | ||
"prometheus.io/scrape": "true", | ||
"prometheus.io/port": "80" | ||
}, | ||
"labels": { | ||
"foo/bar/team": "credit", | ||
"foo/bar/contact": "radiususer" | ||
} | ||
} | ||
] | ||
} | ||
} |
This file contains 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
This file contains 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.