Skip to content

Latest commit

 

History

History
56 lines (46 loc) · 1.71 KB

README.md

File metadata and controls

56 lines (46 loc) · 1.71 KB

Using Smurf SELM on local

Use smurf selm <command> to run Helm commands. Supported commands include:

  • Help: smurf selm --help
  • Create a Helm Chart: smurf selm create
  • Install a Chart: smurf selm install
  • Upgrade a Release: smurf selm upgrade
  • Provision Helm Environment: smurf selm provision --help

The provision command for Helm combines install, upgrade, lint, and template.

Using Smurf SELM in GitHub Action

This GitHub Action creates helm chart and renders chart templates.

name: Smurf SELM Workflow

on:
  push:
    branches:
      - main

jobs:
  terraform:
    runs-on: ubuntu-latest
    steps:
      - name: Checkout repository
        uses: actions/checkout@v3

      - name: Smurf selm create
        uses: clouddrove/[email protected]
        with:
          tool: selm
          command: create test-smurf

      - name: Smurf selm Template
        uses: clouddrove/[email protected]
        with:
          tool: selm
          command: template my-release ./test-smurf

All available commands in Smurf SELM

Command Description
create Create a new Helm chart in the specified directory
install Install a Helm chart into a Kubernetes cluster
lint Lint a Helm chart
list List all Helm releases
provision Combination of install, upgrade, lint, and template for Helm
rollback PRoll back a release to a previous revision
status Status of a Helm release
template Render chart templates
uninstall Uninstall a Helm release
upgrade Upgrade a deployed Helm chart