Skip to main content

wf init package

wf init package

Initialise a package from a helm repo URL

wf init package [flags]

Examples


# Generate a template package manifest
$ wf init package <package name> --helm-repo <repo url> --chart <chart name> --version <chart version>

# Generate a template package manifest with workload identity added
$ wf init package <package name> --helm-repo <repo url> --chart <chart name> --version <chart version> --enable-workload-identity aws,azure,gcp

# Generate a template package manifest while getting the chart and version interactively
$ wf init package <package name> --helm-repo <repo url>

# Generate a template package manifest and output it to a file
$ wf init package <package name> --helm-repo <repo url> --out ./PATH/TO/DIR

Options

      --auth-secret-ref string             Reference to a PlatformSecret for a private helm repository
--chart string The name of chart in the repo
--enable-workload-identity strings Enable a WorkloadIdentity skeleton for the provided cloud(s) in the package (supports: aws, azure, gcp)
--helm-repo string The url of the helm repository
-h, --help help for package
--non-interactive Will fail instead of prompting if user interaction required
-O, --out string File to write the YAML of the package to (default: output to standard out)
--version string The version of the chart in the repo

Options inherited from parent commands

      --debug              Debug / trace logging (default: false)
--force Force operation to happen (default: false)
--no-wait Do not wait for resources to provision
-o, --output string Output format of the resource (json,yaml,table) (default "table")
--profile string Use a profile other than your current - to change current: wf use profile NAME
--show-headers Display headers on table out (default true)
--verbose Verbose logging (default: false)
-w, --workspace string Workspace to use - to change default: wf use workspace NAME

SEE ALSO

  • wf init - Use wf init to create skeleton YAML structures for Wayfinder resources