Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/gree-gorey/karavel
Yet another Kubernetes tempalting tool, Python-based
https://github.com/gree-gorey/karavel
helm kubernetes templating
Last synced: 3 months ago
JSON representation
Yet another Kubernetes tempalting tool, Python-based
- Host: GitHub
- URL: https://github.com/gree-gorey/karavel
- Owner: gree-gorey
- License: apache-2.0
- Created: 2019-01-26T13:29:41.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2021-03-30T05:27:45.000Z (over 3 years ago)
- Last Synced: 2024-07-27T18:52:19.386Z (4 months ago)
- Topics: helm, kubernetes, templating
- Language: Python
- Homepage:
- Size: 14.6 KB
- Stars: 13
- Watchers: 4
- Forks: 4
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# karavel
Yet another Kubernates tempalting tool, Python-based# Usage
```console
$ cd example
$ docker run -v $PWD:/chart greegorey/karavel ensure .
$ docker run -v $PWD:/chart greegorey/karavel template -f values.yaml -f prod.yaml .
---
# Source: templates/custom-resource.py
apiVersion: stable.example.com/v1
kind: Whale
metadata:
name: my-object
spec:
fins: 4
image: my-whale-image:0.0.1
tail: 1---
# Source: templates/deployment.py
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
name: nginx-deployment
spec:
replicas: 3
template:
metadata:
labels:
app: nginx
spec:
containers:
- image: nginx:1.14-alpine
name: nginx
ports:
- containerPort: 80---
# Source: templates/service-helm.py
apiVersion: v1
kind: Service
metadata:
annotations: null
labels:
app: prod-release-mysql
chart: mysql-0.13.1
release: prod-release-suffix
name: prod-release-mysql
spec:
ports:
- name: my-custom-port
port: 3308
protocol: TCP
targetPort: 39000
selector:
app: prod-release-mysql
type: NodePort```