No description
This repository has been archived on 2024-12-21. You can view files and clone it, but you cannot make any changes to its state, such as pushing and creating new issues, pull requests or comments.
Find a file
2019-07-08 18:30:04 +02:00
ext fixed eol of .py scripts 2019-06-19 22:17:06 +02:00
lib actually added log function 2019-07-08 18:30:04 +02:00
.gitattributes fixed eol of .py scripts 2019-06-19 22:17:06 +02:00
.gitlab-ci.yml updated CI configuration 2019-06-19 21:00:07 +02:00
deploy-tool.gitlab-ci.yml updated dockerfile, added gitlab_ci utilities 2019-06-19 20:56:34 +02:00
deploy-tools.sh . 2019-06-19 22:01:50 +02:00
dev-apply.sh added more functions 2019-06-17 15:37:04 +02:00
dev-lint.sh added more functions 2019-06-17 15:37:04 +02:00
dev-patch.sh added more functions 2019-06-17 15:37:04 +02:00
Dockerfile updated dockerfile 2019-06-19 22:28:11 +02:00
README.md updated dockerfile, added gitlab_ci utilities 2019-06-19 20:56:34 +02:00

Deploy tools

Tools for deploying kubernetes configuration (yaml) to a cluster.

Uses envsubst for variables, so you can't use templating like in helm

How to load / use

Add the dependency as a submodule to your git repo

source $(which deploy-tools.sh || echo "deploy-tools/deploy-tools.sh")

# Use any function from lib/*
env::exists TEST_VARIABLE "default_value"

Dockerfile

You can use the Dockerfile as a build / runtime environment

Gitlab CI Template

We provide a base gitlab-ci configuration without script, for you to extend:

include:
  - local: deploy-tools/deploy-tool.gitlab-ci.yml

my-deploy-step:
  extends: .deploy-tool-deployer

  script:
    - kubectl::apply_file "my_file" "" false

Minikube support

Minikube is supported, just setup your minikube, let it configure kubectl, and your deploy script should work as expected on your machine.