Added a config to create Minikube k8s, uses hostpath volumes

This commit is contained in:
Cyber MacGeddon 2024-09-08 20:57:33 +01:00
parent f661791bbf
commit 19625d1cde
4 changed files with 137 additions and 6 deletions

View file

@ -70,9 +70,12 @@ update-templates: set-version
done; \
done
config.yaml: config.json FORCE
jsonnet -J . -J templates/ templates/config-to-k8s.jsonnet | \
python3 -c 'import sys, yaml, json; j=json.loads(sys.stdin.read()); print(yaml.safe_dump(j))' > $@
FORCE:
IGNOREconfig.yaml: config.json FORCE
jsonnet -J . -J templates/ templates/config-to-gcp-k8s.jsonnet | \
python3 -c 'import sys, yaml, json; j=json.loads(sys.stdin.read()); print(yaml.safe_dump(j))' > $@
config.yaml: config.json FORCE
jsonnet -J . -J templates/ templates/config-to-minikube-k8s.jsonnet | \
python3 -c 'import sys, yaml, json; j=json.loads(sys.stdin.read()); print(yaml.safe_dump(j))' > $@