Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/markjacksonfishing/kubeark
KubeARK is a Kubectl middleware designed to give template engine functionality to both locally and remotely hosted yaml files. This will allow you to store yamls in your github with bash variables and execute a single command to replace variables in line with the Kubectl apply or create. This allows you to template remotely hosted YAML files for one line installs for customers.
https://github.com/markjacksonfishing/kubeark
Last synced: about 1 month ago
JSON representation
KubeARK is a Kubectl middleware designed to give template engine functionality to both locally and remotely hosted yaml files. This will allow you to store yamls in your github with bash variables and execute a single command to replace variables in line with the Kubectl apply or create. This allows you to template remotely hosted YAML files for one line installs for customers.
- Host: GitHub
- URL: https://github.com/markjacksonfishing/kubeark
- Owner: markjacksonfishing
- License: mit
- Created: 2019-07-08T19:05:30.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2019-07-10T04:33:09.000Z (over 5 years ago)
- Last Synced: 2024-10-13T07:50:58.166Z (2 months ago)
- Language: Shell
- Size: 13.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Description
KubeARK is a Kubectl middleware designed to give template engine functionality to both locally and remotely hosted yaml files. This will allow you to store yamls in your github with bash variables and execute a single command to replace variables in line with the Kubectl apply or create. This allows you to template remotely hosted YAML files for one line installs for customers.# Install
This will ask you for your sudo password when executed. You must have sudo privileges because it moves the file to /usr/local/bin and chmod's the file to be executable.`bash <(curl -s https://raw.githubusercontent.com/iDevOpsio/kubeark/master/installKubeArk.sh)`
# Test
## Local File
`kubeark apply -f"./nginx.test.yaml" -e"port=80" -n${NAMESPACE}`## Remote File
`kubeark apply -f"https://raw.githubusercontent.com/iDevOpsio/kubeark/master/nginx.test.yaml" -e"port=80" -n${NAMESPACE}`KubeARK does secret variables as well. If you have a secret deceleration in the remotely hosted YAML file that needs to be base64 encoded you simply specify the value with -se instead of -e.
#### Please also note the lack of space. This is important. There can be no space with the way version 1 is coded. This will be updated later.
# Clean UP
`kubectl delete deployment nginx-deployment -n ${NAMESPACE}`