Skip to content

Document how to handle dependencies #135

@sbrunner

Description

@sbrunner

By example:

Chart.yaml:

apiVersion: v2
appVersion: '1.0'
name: geoportal
version: 0.1.0
dependencies:
  - name: common
    repository: https://camptocamp.github.io/helm-common
    version: 0.1.1

helm dependency update =>

Getting updates for unmanaged Helm repositories...
...Successfully got an update from the "https://camptocamp.github.io/helm-common" chart repository
Hang tight while we grab the latest from your chart repositories...
...Successfully got an update from the "bitnami" chart repository
Update Complete. ⎈Happy Helming!⎈
Saving 1 charts
Downloading common from repo https://camptocamp.github.io/helm-common
Deleting outdated charts

cr package . =>

Error: no repository definition for https://camptocamp.github.io/helm-common
Usage:
  cr package [CHART_PATH] [...] [flags]

Flags:
  -h, --help                     help for package
      --key string               Name of the key to use when signing
      --keyring string           Location of a public keyring (default "/home/sbrunner/.gnupg/pubring.gpg")
  -p, --package-path string      Path to directory with chart packages (default ".cr-release-packages")
      --passphrase-file string   Location of a file which contains the passphrase for the signing key. Use '-' in order to read from stdin
      --sign                     Use a PGP private key to sign this package

Global Flags:
      --config string   Config file (default is $HOME/.cr.yaml)

cr version =>

Version:         v1.2.1
Git commit:      6fd1ce2df89d0420b458d182287d72614e551f60
Date:            2021-05-10T12:34:50Z
License:         Apache 2.0

helm version =>

version.BuildInfo{Version:"v3.6.2", GitCommit:"ee407bdf364942bcb8e8c665f82e15aa28009b71", GitTreeState:"clean", GoVersion:"go1.16.5"}

Did I something wrong?

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions