Configure Helm Artifact account

Spinnaker stages that consume artifacts can read from a Helm provider directly.

The provider can be an Artifactory like Nexus , JFrog , or Chartmuseum .

If the files are hidden behind basic auth, you can configure an artifact account with the needed credentials to read your artifacts. Basic auth is the only authentication mechanism supported for accessing a Helm artifact account.

Prerequisites

  1. Collect your basic auth $USERNAME and $PASSWORD

  2. Pick a $USERNAME_PASSWORD_FILE location on your disk

  3. Run:

    1. echo ${USERNAME}:${PASSWORD} > $USERNAME_PASSWORD_FILE

Edit your artifact settings

  1. Collect the $USERNAME_PASSWORD_FILE value returned from the prerequisites section above.

  2. Enable artifact support .

  3. Enable the Helm artifact provider:

    1. hal config artifact helm enable
  4. Add an artifact account:

    1. hal config artifact helm account add my-helm-account \
    2. --username-password-file $USERNAME_PASSWORD_FILE

There are more options described here if you need more control over your configuration.

Last modified May 4, 2021: more cleanup (0281411)