XDG_*
variables (https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html)Get the most recent Helm deployment manifest secret from a namespace:
kubectl get secrets -n NAMESPACE -l owner=helm -l status=deployed -o jsonpath='{.items[].data.release}' | base64 -d | base64 -d | gunzip | jq
ConfigMap
- Remove copy-and-paste hell of STS and deployment container envionment variables, and use volume mounted or environmet injected ConfigMaps insteadinitContainer
to avoid concurrency issues and provide better lifecycle controlinclude
and template
snippets to make managable service, ingress, deployment, stateful set and replicaset resources (see https://github.com/helm/charts/tree/master/incubator/common for some helpful examples){{ .Release.Name }}
for example, or use parts of https://github.com/helm/charts/tree/master/incubator/commonhelm fetch
and index
to pre-pull external chart dependencies into vendored pre-build deployment image