-
Notifications
You must be signed in to change notification settings - Fork 102
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
KEP-17: Pipe task implementation (#1105)
Summary: as defined in KEP-0017 we introduce a new Pipe task. Given a task specification like: ``` tasks: - name: genfiles kind: Pipe spec: pod: pipe-pod.yaml pipe: - file: /tmp/foo.txt kind: Secret # or ConfigMap key: foo ``` KUDO will: - create a Pod with the provided `pipe-pod.yaml` - wait for the successful execution of the container - copy out specified pipe files - store them in the API server (in the above example as a Secret) - the secret can be referenced in the subsequent templates as `{{ .Pipes.foo }}` e.g. when mounting a volume: ``` volumes: - name: foo secret: secretName: {{ .Pipes.foo }} ``` For more information about the implementation please consult the [KEP-0017](https://github.com/kudobuilder/kudo/blob/master/keps/0017-pipe-tasks.md). Fixes: #774
- Loading branch information
Aleksey Dukhovniy
authored
Dec 5, 2019
1 parent
2d4c9ac
commit ead3d4c
Showing
27 changed files
with
1,666 additions
and
108 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.