Skip to content

Instantly share code, notes, and snippets.

View lukeplausin's full-sized avatar

Luke Plausin lukeplausin

View GitHub Profile
@lukeplausin
lukeplausin / values-lovely-plugin.yaml
Created April 4, 2024 15:43
Install ArgoCD lovely plugin via helm values.yaml file configuration
# Ah yes, the lovely, undocumented, and not-at-all-irrationally-difficult-to-understand ArgoCD method of chart customisation - plugins...
# If you are struggling to install the "lovely" plugin (or any plugin for that matter) with the ArgoCD Helm chart, this Gist could help you.
# Include this values config file as part of a Helm/Helmfile values argument to include the "lovely" plugin in your ArgoCD deployment.
# "Lovely" includes several popular tools for helm chart management, including the brilliant Helmfile, which itself includes
# "Vals" for secrets management.
---
argo-cd:
configs:
@lukeplausin
lukeplausin / upload_historical_charts
Last active May 30, 2024 09:26
Upload all historical helm chart versions from a chart git repository history. If you didn't use a chart repository before but you do now, well this chart can help you upload your back catalogue.
#!/usr/bin/env zsh
# This script assumes that you store all your charts in a single repo
# under a single folder called charts-folder. It will go back through previous versions
# of the code and upload all of them into your chart registry.
# This script assumes that you have updated the chart version in `Chart.yaml`
# whenever a change has been made in the chart. If this is not the case, you can
# switch off version checking by disabling the check on line 54.