↓ Skip to main content
DevOps

Spinnaker: Artifact Helm

In this blog let’s try add a helm account and enable for use in the pipelines

bash-5.0$ hal config artifact helm account get dev-helm-ac
+ Get current deployment
  Success
+ Get dev-helm-ac artifact account
  Success
+ Artifact account dev-helm-ac: 
HelmArtifactAccount(name=dev-helm-ac, repository=https://helm-dev-local.artifactory.net/artifactory/helm-dev-local, username=myaccount, password=samplepassword, usernamePasswordFile=/home/spinnaker/.hal/helm_password)

The steps I followed are explained in detail here.

Enable
#

hal config artifact helm enable

Adding account for helm
#

Help
#

bash-5.0$ hal config artifact helm account add -h
ADD

  Add an artifact account to the helm artifact provider.

USAGE

  hal config artifact helm account add [parameters]

GLOBAL PARAMETERS

  --daemon-endpoint
    If supplied, connect to the daemon at this address.

  --options
    Get options for the specified field name.

  -a, --alpha
    Enable alpha halyard features.

  -c, --color
    Enable terminal color output.

  -d, --debug
    Show detailed network traffic with halyard daemon.

  -h, --help=false
    Display help text about this command.

  -l, --log
    Set the log level of the CLI.

  -o, --output
    Format the CLIs output.

  -q, --quiet
    Show no task information or messages. When set, ANSI formatting will be
    disabled, and all prompts will be accepted.

PARAMETERS

  ACCOUNT
    The name of the account to operate on.

  --deployment
    If supplied, use this Halyard deployment. This will _not_ create a new
    deployment.

  --no-validate=false
    Skip validation.

  --password (sensitive data - user will be prompted)
    Helm chart repository basic auth password

  --repository
    Helm chart repository

  --username
    Helm chart repository basic auth username

  --username-password-file
    File containing "username:password" to use for helm chart repository basic
helm config artifact helm account add dev-helm-ac \
--username <username> \
--repository <repository> \
--password

Apply
#

hal deploy apply

Check in the pipeline

[image unavailable: Screenshot-2022-02-05-at-9.29.53-PM-1024x363.png]

Author
Samarthya
Engineer, learner, tinkerer. This is my trophy shelf of everyday work and leisure.

Related

Spinnaker: Open Source Deployment

I have written a series of blogs to capture how you can deploy spinnaker on a Kubernetes cluster & manage a helm chart deployment via pipeline. The only way to enable more frequent changes is to invest in supporting people with better tooling, practices, and culture From the Book Spinnaker

Spinnaker: Install & Configure

·12 mins
Spinnaker is an open-source continuous delivery platform which provides two core set of features Application Management Application deployment Applications , clusters , and server groups are the key concepts Spinnaker uses to describe your services. Key Concepts # Some of the key concepts in the spinnaker universe are covered as under

Spinnaker: docker-registry

You will need a valid docker registry before you add any trigger in the pipeline in Spinnaker Official documentation is a good resource to seek more clarifications — Spinnaker In my case I have already added an account my-docker-registry as under (The final result after you successfully configure Docker.