jacobtomlinson_gha-read-helm-chart

command module
v0.0.0-...-ca2f3b5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 19, 2020 License: MIT Imports: 7 Imported by: 0

README

Read Helm Chart

GitHub Marketplace Actions Status Actions Status

This action will read a Helm Chart's Chart.yaml file and expose the values as outputs.

Usage

Describe how to use your action here.

Example workflow
name: My Workflow
on: [push, pull_request]
jobs:
  build:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@master
      - name: Read Helm Chart
        uses: jacobtomlinson/gha-read-helm-chart@master
        with:
          path: path/to/chart
Inputs
Input Description
path Path to the helm chart relative to the root of your project.
Outputs
Output Description
apiVersion The chart API version (always set)
name The name of the chart (always set)
version A SemVer 2 version (always set)
kubeVersion A SemVer range of compatible Kubernetes versions (optional)
description A single-sentence description of this project (optional)
type It is the type of chart (optional)
keywords A list of keywords about this project (optional)
home The URL of this project's home page (optional)
sources A list of URLs to source code for this project (optional)
depenencies_{name}_version Version of dependency {name} (optional)
depenencies_{name}_repository Repository URL of dependency {name} (optional)
repository The repository URL (optional)
icon A URL to an SVG or PNG image to be used as an icon (optional)
appVersion The version of the app that this contains (optional)
deprecated Whether this chart is deprecated (optional)

Examples

Using outputs
steps:
- uses: actions/checkout@master
- name: Read Helm Chart
  id: chart
  uses: jacobtomlinson/gha-read-helm-chart@master
  with:
    path: path/to/chart
- name: Print outputs
    run: |
    echo "Name - ${{ steps.chart.outputs.name }}"
    echo "Version - ${{ steps.chart.outputs.version }}"
    echo "App Version - ${{ steps.chart.outputs.appVersion }}"

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL