Skip to content

Commit

Permalink
fix: adjust text and change example style
Browse files Browse the repository at this point in the history
  • Loading branch information
aramkarapetian committed Oct 6, 2023
1 parent bf99dd2 commit 2b64d95
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 30 deletions.
3 changes: 2 additions & 1 deletion modules/dashboard/modules/widgets/text/title/local.tf
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ locals {
"height" : 1,

"properties" : {
"markdown" : "# ${var.text}"
"markdown" : "## ${var.text}"
"background" : "transparent"
}
}
}
40 changes: 11 additions & 29 deletions modules/dashboard/tests/widgets-container/1-example.tf
Original file line number Diff line number Diff line change
Expand Up @@ -11,35 +11,17 @@ module "dashboard-with-container-metrics" {
anomaly_detection : true
}
rows = [
[{ type : "text/title", text : "Superset" }],
[
{
type : "container/cpu",
container : local.container
},
{
type : "container/memory",
container : local.container
},
{
type : "container/network",
container : local.container
},
{
type : "container/network-in",
container : local.container
}],
[{
type : "container/network-out",
container : local.container
},
{
type : "container/restarts",
container : local.container,
},
{
type : "container/replicas",
container : local.container,
},
]
{ type : "container/cpu", container : local.container },
{ type : "container/memory", container : local.container },
{ type : "container/network", container : local.container },
{ type : "container/network-in", container : local.container }
],
[
{ type : "container/network-out", container : local.container },
{ type : "container/restarts", container : local.container, },
{ type : "container/replicas", container : local.container, },
],
]
}

0 comments on commit 2b64d95

Please sign in to comment.