feat: add helmfile package configuration
Add RPM package configuration for helmfile v1.1.7, a declarative tool for deploying Kubernetes Helm charts.
This commit is contained in:
Executable
+14
@@ -0,0 +1,14 @@
|
||||
#!/usr/bin/bash
|
||||
|
||||
# Download the required files
|
||||
curl -L -o /app/helmfile.tar.gz https://github.com/helmfile/helmfile/releases/download/v${PACKAGE_VERSION}/helmfile_${PACKAGE_VERSION}_linux_amd64.tar.gz
|
||||
|
||||
# Extract the binary
|
||||
cd /app
|
||||
tar -xzf helmfile.tar.gz
|
||||
|
||||
# Make the binary executable
|
||||
chmod +x /app/helmfile
|
||||
|
||||
# Build the RPM
|
||||
nfpm pkg --config /app/resources/nfpm.yaml --target /app/dist --packager rpm
|
||||
Reference in New Issue
Block a user