Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

KEP-17: Pipe task implementation #1105

Merged
merged 19 commits into from
Dec 5, 2019
Merged

KEP-17: Pipe task implementation #1105

merged 19 commits into from
Dec 5, 2019

Commits on Nov 25, 2019

  1. KEP-0017: Pipe task implementation

    Summary:
    as defined in KEP-0017 we introduce a new Pipe task. Given a task specification like:
    ```
    tasks:
      - name: genfiles
        kind: Pipe
        spec:
          container: container.yaml
          pipe:
            - file: /tmp/foo.txt
              kind: Secret # or ConfigMap
              key: foo
    ```
    KUDO will:
    - create a Pod with the provided `container.yaml`
    - wait for 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 resources as `{{Pipes.foo}}`
    
    For more information about the implementation please consult the KEP-0017.
    
    Fixes: #774
    zen-dog committed Nov 25, 2019
    Configuration menu
    Copy the full SHA
    3332621 View commit details
    Browse the repository at this point in the history

Commits on Nov 26, 2019

  1. Added comments and TODOs

    zen-dog committed Nov 26, 2019
    Configuration menu
    Copy the full SHA
    d58e063 View commit details
    Browse the repository at this point in the history

Commits on Nov 27, 2019

  1. Configuration menu
    Copy the full SHA
    7b6d5f3 View commit details
    Browse the repository at this point in the history

Commits on Nov 28, 2019

  1. Configuration menu
    Copy the full SHA
    8848320 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    61dd838 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    3811c1a View commit details
    Browse the repository at this point in the history

Commits on Nov 29, 2019

  1. Configuration menu
    Copy the full SHA
    afb47ad View commit details
    Browse the repository at this point in the history

Commits on Nov 30, 2019

  1. Ran go mod tidy

    zen-dog committed Nov 30, 2019
    Configuration menu
    Copy the full SHA
    a921f6c View commit details
    Browse the repository at this point in the history

Commits on Dec 2, 2019

  1. Configuration menu
    Copy the full SHA
    fe78dd7 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d8589a9 View commit details
    Browse the repository at this point in the history

Commits on Dec 3, 2019

  1. Updated the pipe specification to take a pod instead of a container

    additionally, instance controller doesn't not reconcile on pipe-pod deletion events
    zen-dog committed Dec 3, 2019
    Configuration menu
    Copy the full SHA
    f8e76c9 View commit details
    Browse the repository at this point in the history
  2. Making linter happy

    zen-dog committed Dec 3, 2019
    Configuration menu
    Copy the full SHA
    04c5870 View commit details
    Browse the repository at this point in the history
  3. Added more unit tests

    zen-dog committed Dec 3, 2019
    Configuration menu
    Copy the full SHA
    67b9a1e View commit details
    Browse the repository at this point in the history
  4. Minor comment improvement

    zen-dog committed Dec 3, 2019
    Configuration menu
    Copy the full SHA
    ef7ce24 View commit details
    Browse the repository at this point in the history

Commits on Dec 4, 2019

  1. Configuration menu
    Copy the full SHA
    e83fc64 View commit details
    Browse the repository at this point in the history
  2. Removed io.Pipe when executing pod commands

    and with them goroutines and a lot of complexity.
    zen-dog committed Dec 4, 2019
    Configuration menu
    Copy the full SHA
    82be1a2 View commit details
    Browse the repository at this point in the history

Commits on Dec 5, 2019

  1. Moved pod_exec.go into a separate package

    additionally PodExec caller can now differentiate between command execution failures (exit code > 0) and other errors
    zen-dog committed Dec 5, 2019
    Configuration menu
    Copy the full SHA
    c1087ec View commit details
    Browse the repository at this point in the history
  2. Making linter happy

    zen-dog committed Dec 5, 2019
    Configuration menu
    Copy the full SHA
    a6bf10e View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    6e38698 View commit details
    Browse the repository at this point in the history