Skip to content

Instantly share code, notes, and snippets.

View krakatoa's full-sized avatar

Fernando Alonso krakatoa

  • Buenos Aires, Argentina
View GitHub Profile
@krakatoa
krakatoa / helm-package.sh
Last active December 2, 2022 13:53 — forked from duncangrist/helm-package.sh
Wraps "helm package" in order to be able to --set values at package time. Depends on yq and helm.
#!/usr/bin/env bash
scriptName=$(basename "$0")
USAGE="Wraps \"helm package\" in order to be able to --set values at package time.
Usage:
$scriptName \\
--set key1=value1 --set key2=value2 \\
[--app-version 1.2.3] <chart-path>"
#!/usr/bin/env ruby
#
# Testing multipart uploads into s3 with threads
# Tested with Ruby 1.8 and 1.9
# This is proof of concept code, it works, but is not suitable for production, and may even have nasty bugs in the
# threading section
# Refs:
# http://docs.amazonwebservices.com/AmazonS3/latest/API/index.html?mpUploadInitiate.html