Jesús Pérez 44648e3206
chore: complete nickel migration and consolidate legacy configs
- Remove KCL ecosystem (~220 files deleted)
- Migrate all infrastructure to Nickel schema system
- Consolidate documentation: legacy docs → provisioning/docs/src/
- Add CI/CD workflows (.github/) and Rust build config (.cargo/)
- Update core system for Nickel schema parsing
- Update README.md and CHANGES.md for v5.0.0 release
- Fix pre-commit hooks: end-of-file, trailing-whitespace
- Breaking changes: KCL workspaces require migration
- Migration bridge available in docs/src/development/
2026-01-08 09:55:37 +00:00

18 lines
519 B
Django/Jinja

#!/bin/bash
kubectl apply -f ns
kubectl apply -f volumes
{%- if k8s_deploy.spec.volumes %}
{%- for vol in k8s_deploy.spec.volumes %}
{%- if vol.persitentVolumeClaim %}
PVC_ID=$(kubectl get pv | grep {{k8s_deploy.namespace}}/{{vol.persitentVolumeClaim.name}} | cut -f1 -d" " | sed "s/ //g")
[ -n "$PVC_ID" ] && kubectl patch pv $PVC_ID -p '{"spec":{"persistentVolumeReclaimPolicy":"{{vol.persitentVolumeClaim.reclaimPolicy}}"}}'
{%- endif %}
{%- endfor %}
{%- endif %}
[ -r "bin/apply.sh" ] && ./bin/apply.sh
exit 0