Skip to content
GitLab
Dashboard
Blueprints
Cloud
Help
Sign in / Register
Toggle navigation
Menu
Commit
408782b7
authored
Apr 28, 2022
by
Andrew Breidenbach
Browse files
manually add mariadb
parent
cfb9355c
Changes
2
Hide whitespace changes
Inline
Side-by-side
ensemble-template.yaml
View file @
408782b7
...
...
@@ -154,3 +154,19 @@ spec:
# dockerhost is defined in deployment blueprint
node
:
dockerhost
bitnami_mariadb_container_service
:
type
:
unfurl.nodes.ContainerService
properties
:
container
:
image
:
bitnami/mariadb:latest
ports
:
-
80:80
environment
:
MARIADB_ROOT_PASSWORD
:
eval
:
.sources::container::root_password
requirements
:
-
host
:
# blueprint needs to define this:
node
:
mariadb-dockerhost
unfurl.json
View file @
408782b7
...
...
@@ -613,7 +613,7 @@
"type"
:
"object"
,
"properties"
:
{
"user_data"
:
{
"title"
:
"
u
ser
_d
ata"
,
"title"
:
"
U
ser
D
ata"
,
"required"
:
true
,
"type"
:
"string"
}
...
...
@@ -675,7 +675,7 @@
"type"
:
"object"
,
"properties"
:
{
"user_data"
:
{
"title"
:
"
u
ser
_d
ata"
,
"title"
:
"
U
ser
D
ata"
,
"required"
:
true
,
"type"
:
"string"
}
...
...
@@ -3106,6 +3106,45 @@
"match"
:
"dockerhost"
}
]
},
"bitnami_mariadb_container_service"
:
{
"type"
:
"unfurl.nodes.ContainerService"
,
"name"
:
"bitnami_mariadb_container_service"
,
"title"
:
"bitnami_mariadb_container_service"
,
"description"
:
""
,
"properties"
:
[
{
"name"
:
"container"
,
"value"
:
{
"image"
:
"bitnami/mariadb:latest"
,
"ports"
:
[
"80:80"
],
"environment"
:
{
"MARIADB_ROOT_PASSWORD"
:
{
"eval"
:
".sources::container::root_password"
}
}
}
}
],
"dependencies"
:
[
{
"constraint"
:
{
"name"
:
"host"
,
"title"
:
"host"
,
"description"
:
""
,
"min"
:
1
,
"max"
:
1
,
"match"
:
null
,
"resourceType"
:
"unfurl.nodes.DockerHost"
,
"visibility"
:
"hidden"
},
"name"
:
"host"
,
"__typename"
:
"Requirement"
,
"match"
:
"mariadb-dockerhost"
}
]
}
},
"Overview"
:
{
...
...
@@ -3131,9 +3170,10 @@
"primary"
:
"the_app"
,
"resourceTemplates"
:
[
"container_service"
,
"mariadb-dockerhost"
,
"the_app"
,
"
dockerhost
"
,
"
mariadb-
dockerhost"
"
bitnami_mariadb_container_service
"
,
"dockerhost"
],
"ResourceTemplate"
:
{
"dockerhost"
:
{
...
...
@@ -3290,9 +3330,10 @@
"blueprint"
:
"magento"
,
"primary"
:
"the_app"
,
"resourceTemplates"
:
[
"dockerhost"
,
"container_service"
,
"the_app"
"the_app"
,
"bitnami_mariadb_container_service"
,
"dockerhost"
],
"ResourceTemplate"
:
{
"dockerhost"
:
{
...
...
@@ -3348,11 +3389,12 @@
"blueprint"
:
"magento"
,
"primary"
:
"the_app"
,
"resourceTemplates"
:
[
"localdb"
,
"mariadb-dockerhost"
,
"bitnami_mariadb_container_service"
,
"container_service"
,
"the_app"
,
"dockerhost"
,
"
mariadb-dockerhost
"
"
localdb
"
],
"ResourceTemplate"
:
{
"dockerhost"
:
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment