Skip to content
This repository has been archived by the owner on Jun 13, 2021. It is now read-only.

Allow the user to specify individual credentials on the command line #531

Merged
merged 2 commits into from
May 17, 2019

Commits on May 10, 2019

  1. e2e: Close the config file after writing it.

    Signed-off-by: Ian Campbell <ijc@docker.com>
    Ian Campbell committed May 10, 2019
    Configuration menu
    Copy the full SHA
    257a653 View commit details
    Browse the repository at this point in the history
  2. Allow the user to specify individual credentials on the command line

    e.g.
    
        docker app install --credential name=somevalue bundle.json
    
    Credentials added with `--credential` always come after those added with
    `--credential-set` (irrespective of the order on the command line).
    
    A credential specified with `--credential` cannot override any previous
    credential, including those specified in a credential set.
    
    The test bnudle used is based on
    https://github.com/deislabs/example-bundles/blob/0e8af9a2f1270bd72045a515637a432e74743d5d/example-credentials/bundle.json
    But with `cnab/example-credentials:latest` → a digested ref (with the digest I
    pulled today)
    
    Signed-off-by: Ian Campbell <ijc@docker.com>
    Ian Campbell committed May 10, 2019
    Configuration menu
    Copy the full SHA
    9ece4d7 View commit details
    Browse the repository at this point in the history