Feature 57 (config and provisioning): modules declare config and provisions, their files rendered from templates; synced with main (issues of feature 57, 874)
This commit is contained in:
@@ -0,0 +1 @@
|
||||
{}
|
||||
@@ -0,0 +1,2 @@
|
||||
DOCKER_STEPCA_INIT_PASSWORD=${secret:password}
|
||||
DOCKER_STEPCA_INIT_DNS_NAMES=${machine:at},${machine:name},localhost,127.0.0.1
|
||||
@@ -57,7 +57,8 @@
|
||||
"type": "file",
|
||||
"path": "${dir:mesh-state}/config.json",
|
||||
"mode": "0644",
|
||||
"content": "{}",
|
||||
"template": "files/config.json",
|
||||
"takes-config": [],
|
||||
"merge": "json"
|
||||
},
|
||||
{
|
||||
@@ -65,7 +66,7 @@
|
||||
"type": "file",
|
||||
"path": "${dir:mesh-state}/init.env",
|
||||
"mode": "0600",
|
||||
"content": "DOCKER_STEPCA_INIT_PASSWORD=${secret:password}\nDOCKER_STEPCA_INIT_DNS_NAMES=${machine:at},${machine:name},localhost,127.0.0.1\n"
|
||||
"template": "files/init.env"
|
||||
},
|
||||
{
|
||||
"id": "server",
|
||||
@@ -90,5 +91,14 @@
|
||||
],
|
||||
"secrets-in-environment": "the entrypoint honours DOCKER_STEPCA_INIT_PASSWORD_FILE; convertible, awaiting a bed that proves it"
|
||||
}
|
||||
]
|
||||
],
|
||||
"build": {
|
||||
"artifacts": [
|
||||
{
|
||||
"name": "files",
|
||||
"kind": "archive",
|
||||
"from": "files"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user