-
Notifications
You must be signed in to change notification settings - Fork 100
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
adding secrets as environment variables
Signed-off-by: Nick Beenham <[email protected]>
- Loading branch information
1 parent
64da215
commit f2ffaa6
Showing
35 changed files
with
1,173 additions
and
251 deletions.
There are no files selected for viewing
357 changes: 195 additions & 162 deletions
357
...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.