Skip to content

Commit

Permalink
incremental updates
Browse files Browse the repository at this point in the history
Signed-off-by: Will Tsai <[email protected]>
  • Loading branch information
willtsai committed Oct 5, 2023
1 parent 6541fb0 commit 31e4f88
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,11 +1,18 @@
import radius as radius

param application string
param environment string

resource app 'Applications.Core/applications@2023-10-01-preview' = {
name: 'myapp'
properties: {
environment: environment
}
}

resource demo 'Applications.Core/containers@2023-10-01-preview' = {
name: 'demo'
properties: {
application: application
application: app.id
container: {
image: 'radius.azurecr.io/tutorial/webapp:edge'
ports: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ resource demo 'Applications.Core/containers@2023-10-01-preview' = {
}
}
}
RUNTIMES
// RUNTIMES
runtimes: {
kubernetes: {
pod: {
Expand All @@ -35,6 +35,6 @@ resource demo 'Applications.Core/containers@2023-10-01-preview' = {
}
}
}
RUNTIMES
// RUNTIMES
}
}

0 comments on commit 31e4f88

Please sign in to comment.