### Install sl-namespace-init Helm Chart Source: https://github.com/shoplineapp/helm-charts/blob/master/sl-namespace-init/README.md Installs the sl-namespace-init Helm chart with a specified values file and version. This command deploys ArgoSensor and its related components. ```bash helm install sl-namespace-init shopline-charts/sl-namespace-init -f values.yaml --version 0.1.0 ``` -------------------------------- ### Add Helm Repository Source: https://github.com/shoplineapp/helm-charts/blob/master/sl-namespace-init/README.md Adds the shopline-charts Helm repository to your local configuration. This is a prerequisite for installing charts from this repository. ```bash helm repo add shopline-charts https://shoplineapp.github.io/helm-charts ``` -------------------------------- ### Install OOMKill Exporter for Docker Runtime Source: https://github.com/shoplineapp/helm-charts/blob/master/oomkill-exporter/README.md Installs the oomkill-exporter using Helm 3 for environments utilizing the Docker container runtime. This command specifies the container runtime as 'docker'. ```shell helm3 upgrade -i oomkill-exporter-docker -n prometheus-operator shopline-charts/oomkill-exporter --set-string containerRuntime=docker ``` -------------------------------- ### Install OOMKill Exporter for Containerd Runtime Source: https://github.com/shoplineapp/helm-charts/blob/master/oomkill-exporter/README.md Installs the oomkill-exporter using Helm 3 for environments utilizing the containerd container runtime. This command specifies the container runtime as 'containerd' and is suitable for versions 0.5.0 and above. ```shell helm3 upgrade -i oomkill-exporter-containerd -n prometheus-operator shopline-charts/oomkill-exporter --set-string containerRuntime=containerd ``` -------------------------------- ### Upgrade sl-namespace-init Helm Chart Source: https://github.com/shoplineapp/helm-charts/blob/master/sl-namespace-init/README.md Upgrades an existing installation of the sl-namespace-init Helm chart to a new version or with updated configurations. It uses a values file and specifies the chart version. ```bash helm diff upgrade sl-namespace-init shopline-charts/sl-namespace-init -f values.yaml --version 0.1.0 helm upgrade sl-namespace-init shopline-charts/sl-namespace-init -f values.yaml --version 0.1.0 ``` -------------------------------- ### Build and Install Helm Subchart Source: https://github.com/shoplineapp/helm-charts/blob/master/README.md Commands to build Helm chart dependencies and install or upgrade a subchart. This is useful for managing complex chart structures. ```bash helm dependency build ./example/subChart ``` ```bash helm install ./example/subChart --name andytest ``` ```bash helm upgrade andytest ./example/subChart ``` -------------------------------- ### Helm Upgrade Command Example Source: https://github.com/shoplineapp/helm-charts/blob/master/README.md Demonstrates how to upgrade a Helm release to a specific chart version. The `--version` flag is used to lock the chart to a particular version. ```bash helm upgrade example-simple shopline-charts/simple -f helm/simple.yaml ``` ```bash helm upgrade example-cronjob shopline-charts/cronjob -f helm/cronjob.yaml --version 0.0.1 ``` -------------------------------- ### Add New Chart to Workflow Source: https://github.com/shoplineapp/helm-charts/blob/master/CONTRIBUTING.md Demonstrates how to modify the GitHub Actions workflow file to include packaging and indexing for a new Helm chart, using 'eks' as an example. ```yaml vi .github/workflows/update-chart.yaml - name: Package helm chart file and create index.yaml ... + helm package eks -d eks ... ``` -------------------------------- ### Update Helm Repository Source: https://github.com/shoplineapp/helm-charts/blob/master/sl-namespace-init/README.md Updates the local Helm chart repository cache to fetch the latest chart information from all configured repositories, including shopline-charts. ```bash helm repo update ``` -------------------------------- ### Create Helm Index File Source: https://github.com/shoplineapp/helm-charts/blob/master/CONTRIBUTING.md Generates the 'index.yaml' file, which is essential for Helm repositories. It lists all available charts and their versions, with the '--url' flag specifying the repository's base URL. ```shell helm repo index . --url https://shoplineapp.github.io/helm-charts ``` -------------------------------- ### Package Helm Files Source: https://github.com/shoplineapp/helm-charts/blob/master/CONTRIBUTING.md This command packages Helm chart directories into .tgz files, preparing them for distribution. The '-d' flag specifies the output directory for the packaged charts. ```shell helm package simple -d simple helm package fluentd-cloudwatch -d fluentd-cloudwatch helm package cronjob -d cronjob ``` -------------------------------- ### Create GitHub Pages Branch Source: https://github.com/shoplineapp/helm-charts/blob/master/CONTRIBUTING.md This snippet demonstrates how to create a new branch named 'github-pages' from the master branch, typically used for hosting Helm chart repositories. ```shell git checkout -b 'github-pages' ``` -------------------------------- ### Add Helm Repository Source: https://github.com/shoplineapp/helm-charts/blob/master/README.md Adds the shopline-charts Helm repository to your local configuration. This allows you to access and manage charts from this repository. ```bash helm repo add shopline-charts https://shoplineapp.github.io/helm-charts ``` -------------------------------- ### Run Helm Unit Tests Source: https://github.com/shoplineapp/helm-charts/blob/master/README.md Executes unit tests for a specified Helm chart. This command is used to verify the correctness and behavior of the chart. ```bash helm unittest ``` -------------------------------- ### Commit and Push Chart Updates Source: https://github.com/shoplineapp/helm-charts/blob/master/CONTRIBUTING.md Stages all changes, commits them with a message, and pushes them to the remote repository. 'ggpush' is likely an alias for a git push command. ```shell git add . git commit -m 'update chart' ggpush ``` -------------------------------- ### Update Helm Chart Version Source: https://github.com/shoplineapp/helm-charts/blob/master/CONTRIBUTING.md This sequence shows how to update the version of a Helm chart. It involves editing the 'Chart.yaml' file, repacking the chart, updating the 'index.yaml', and pushing the changes. ```shell vi simple/Chart.yaml - version: 0.0.1 + version: 0.0.2 helm package simple -d simple helm repo index . --url https://shoplineapp.github.io/helm-charts git add . git commit -m 'update chart' ggpush ``` -------------------------------- ### Update Helm Chart Repository Source: https://github.com/shoplineapp/helm-charts/blob/master/README.md Updates the local cache of Helm chart repositories to fetch the latest information about available charts and their versions. ```bash helm repo update ``` -------------------------------- ### Update Helm Subchart Dependencies Source: https://github.com/shoplineapp/helm-charts/blob/master/README.md Updates the Helm chart dependencies after modifying the `requirements.yaml` file, ensuring that the correct versions of subcharts are downloaded. ```bash helm dependency update ./helm/preview ``` -------------------------------- ### Update Subchart Version in Requirements Source: https://github.com/shoplineapp/helm-charts/blob/master/README.md Shows how to update the version of a subchart within the `requirements.yaml` file. This involves editing the file and then updating the dependencies. ```yaml - version: "0.0.1" + version: "0.0.2" repository: "https://shoplineapp.github.io/helm-charts" alias: second-subChart ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.