Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/kikobeats/docker-doctl

A docker image for deploying to DigitalOcean Kubernetes.
https://github.com/kikobeats/docker-doctl

digitalocean digitalocean-kubernetes docker docker-image kubernetes kubernetes-deployment

Last synced: 14 days ago
JSON representation

A docker image for deploying to DigitalOcean Kubernetes.

Awesome Lists containing this project

README

        

# docker-doctl

> A docker image for deploying to DigitalOcean kubernetes.

## Getting Started

### GitLab

Suggested configuratin for deploying any new release to `my-cluster-name` cluster.

```yaml
deploy:
stage: deploy
only:
- tags
image: kikobeats/docker-doctl
variables:
DOCKER_DRIVER: overlay2
services:
- docker:dind
before_script:
# initialize `doctl`
- doctl kubernetes cluster kubeconfig save my-cluster-name
# initialize `helm`
- helm init --client-only
# initialize `docker`
- echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin
script:
- ./bin/publish
- ./bin/deploy
```

## Environment Variables

- [`DIGITALOCEAN_ACCESS_TOKEN`](https://github.com/digitalocean/doctl#authenticating-with-digitalocean): The variable should be exposed in order to authenticate `doctl`.

## License

**docker-doctl** © [Kiko Beats](https://kikobeats.com), released under the [MIT](https://github.com/Kikobeats/docker-doctl/blob/master/LICENSE.md) License.

Authored and maintained by Kiko Beats with help from [contributors](https://github.com/Kikobeats/docker-doctl/contributors).

> [kikobeats.com](https://kikobeats.com) · GitHub [@Kiko Beats](https://github.com/Kikobeats) · X [@Kikobeats](https://x.com/Kikobeats)