Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/angad-k/kanikotool
https://github.com/angad-k/kanikotool
Last synced: 3 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/angad-k/kanikotool
- Owner: angad-k
- Created: 2024-08-14T18:23:39.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2024-08-16T21:50:55.000Z (5 months ago)
- Last Synced: 2024-11-09T20:53:24.662Z (2 months ago)
- Language: Python
- Size: 22.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Kaniko Tool ⚡
## Get the tool ⬇️
Download it from [here](https://github.com/angad-k/kanikotool/releases)## Usage ⏯️
Example:
`python .\kanikotool.pyz deploy --project .\Newfolder\ --imagename kambli`
Here,
- Python version should be 3.x
- `--project` is optional. If not passed, tool shall assume `.` to be the project directory.
- `--imagename` is required. This is the name that uploaded image will have.### Requirements :dependabot:
- Run this command once, to get the dependencies ready: `pip install kubernetes click`
- This tool assumes that you have a minikube cluster running.
- Python :)
- The Dockerfile should be somewhere inside the project directory. The tool will find it automatically.## How auth credentials are managed 🔐
The tool makes a kubernetes secret and uses it to mount the credentials onto the kaniko pod. The secret is mounted as `config.json` that the kaniko pod expects.