Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/niranjan94/rancher-deployer
Update your deployments on Rancher 2.0
https://github.com/niranjan94/rancher-deployer
Last synced: 3 months ago
JSON representation
Update your deployments on Rancher 2.0
- Host: GitHub
- URL: https://github.com/niranjan94/rancher-deployer
- Owner: niranjan94
- License: mit
- Created: 2018-06-06T07:50:23.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2023-07-31T13:49:09.000Z (over 1 year ago)
- Last Synced: 2024-06-21T19:08:55.376Z (8 months ago)
- Language: Go
- Homepage:
- Size: 161 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 10
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# Rancher Deployer
[![Build Status](https://travis-ci.com/niranjan94/rancher-deployer.svg?branch=master)](https://travis-ci.com/niranjan94/rancher-deployer)
[![GitHub (pre-)release](https://img.shields.io/github/release/niranjan94/rancher-deployer/all.svg)](https://github.com/niranjan94/rancher-deployer/releases/latest)```
USAGE:
rancher-deployer [global options] [arguments...]GLOBAL OPTIONS:
--config PATH, -c PATH PATH to a yaml config file
--token TOKEN, -t TOKEN Override TOKEN for deployment
--tag TAG, -T TAG Override the TAG for the docker image to use
--image IMAGE-URL, -i IMAGE-URL Override the Docker IMAGE-URL
--environments ENVIRONMENTS, -e ENVIRONMENTS ENVIRONMENTS to deploy to (comma-separated)
--help, -h show help
--version, -v print the version
```#### Configuration Example
```yaml
rancherUrl: https://rancher.yourdomain.com
token: xyzzy123:abcdefghijklmnop
environments:
dev:
-
project: c-12ab3:p-4c5def
image: docker.io/redis
tag: alpine
namespace: api
deployment: redis-server
type: deployment
-
project: c-12ab3:p-4c5def
image: 111111111111.dkr.ecr.ap-west-1.amazonaws.com/dev-api-server
tag: latest
namespace: api
deployment: api-server
type: statefulset
production:
-
project: c-4c5def:p-12ab3
image: docker.io/redis
tag: alpine
namespace: api
deployment: redis-server
-
project: c-4c5def:p-12ab3
image: 111111111111.dkr.ecr.ap-west-1.amazonaws.com/production-api-server
tag: latest
namespace: api
deployment: api-server
```##### Override via Environment variables
_**Examples:**_
- `rancherUrl` - `DEPLOYER_RANCHERURL`
- `token` - `DEPLOYER_TOKEN`If you would like you override tokens at an environment level,
`DEPLOYER_ENVIRONMENTS__TOKEN`
_**Example:**_
`DEPLOYER_ENVIRONMENTS_DEV_TOKEN=ATokenForDev`