https://github.com/quving/kube-yaml-invoker
A little service that invoke a kubernetes manifest using kubectl within a docker-container.
https://github.com/quving/kube-yaml-invoker
Last synced: 3 months ago
JSON representation
A little service that invoke a kubernetes manifest using kubectl within a docker-container.
- Host: GitHub
- URL: https://github.com/quving/kube-yaml-invoker
- Owner: Quving
- Created: 2023-08-14T20:45:20.000Z (almost 2 years ago)
- Default Branch: master
- Last Pushed: 2023-08-21T10:27:59.000Z (almost 2 years ago)
- Last Synced: 2025-01-30T23:48:48.473Z (5 months ago)
- Language: Shell
- Size: 3.91 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Kube Yaml Invoker
## What's here?
As can be easily guessed, the container does just that. It calls a Kubernetes manifest using kubectl.## Usage
### Environment Variables
In this example $MANIFEST_DATA and $KUBECONFIG_DATA is the base64 encoded string based on the Manifest and kubeconfig.
Example:
```bash
cat $FILE | base64
```Run the container:
```bash
docker run --rm -it \
-e MANIFEST_DATA=$MANIFEST_DATA \
-e KUBECONFIG_DATA=$KUBECONFIG_DATA \
quving/kube-yaml-manifest:latest
```