An open API service indexing awesome lists of open source software.

https://github.com/devth/helm-docker

☸️ helm, gcloud, kubectl, jq + other goodies
https://github.com/devth/helm-docker

gcloud helm kubectl kubernetes

Last synced: 9 months ago
JSON representation

☸️ helm, gcloud, kubectl, jq + other goodies

Awesome Lists containing this project

README

          

# helm-docker

[![Docker Pulls](https://img.shields.io/docker/pulls/devth/helm.svg?style=for-the-badge)](https://hub.docker.com/r/devth/helm/)
[![Docker Image Version](https://img.shields.io/docker/v/devth/helm?sort=date&style=for-the-badge)](https://hub.docker.com/r/devth/helm/)

## Usage

This Docker image includes `helm` along with:

- `gcloud`
- `kubectl`
- `envsubst`
- `jq`
- [`vals`](https://github.com/variantdev/vals)

And `helm` plugins:

- `viglesiasce/helm-gcs.git`
- `databus23/helm-diff`

## Docker

Docker images are automatically built on [Docker
Hub](https://hub.docker.com/r/devth/helm/):

- Docker tags correspond to [Helm
release](https://github.com/helm/helm/releases) versions.
- `latest` is always the latest fully released version (non-beta/RC).
- `master` is always the latest commit on master.

### Building

To test a local build:

```bash
docker build -t devth/helm .
```

## Release procedure

Use the following to:

- Bump `VERSION` in the [Dockerfile](Dockerfile)
- Commit and create tag matching the version

NB: the `sed` syntax works with MacOS built-in `sed`.

```bash
gh issue list
VERSION=v3.16.3
ISSUE=227
# use GNU sed
sed -i "3s/.*/ENV VERSION $VERSION/" Dockerfile
# ensure it looks good
git diff
git commit -am "Bump to $VERSION; fix #$ISSUE"
git tag $VERSION
git push && git push --tags
```

Close an issue without fixing it:

```bash
gh issue close 109
```

Optionally test building the image before pushing:

```bash
docker build .
```

### Re-release

To re-build a particular tag we need to delete the git tag locally and remotely:

```bash
git push origin :$VERSION
git tag -d $VERSION
```

Then re-tag and push:

```bash
git tag $VERSION
git push --tags
```