engine: LoadSecret->NewSecret

Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
This commit is contained in:
Andrea Luzzardi
2022-01-07 11:52:16 -08:00
parent 6a70271ff2
commit 5f840723e2
5 changed files with 25 additions and 25 deletions

View File

@@ -15,7 +15,7 @@ engine.#Plan & {
args: ["sh", "-c", "echo test > /secret"]
}
load: engine.#LoadSecret & {
load: engine.#NewSecret & {
input: generate.output
path: "/secret"
}
@@ -24,7 +24,7 @@ engine.#Plan & {
input: image.output
mounts: secret: {
dest: "/run/secrets/test"
contents: load.contents
contents: load.output
}
args: [
"sh", "-c",