Files
Poseidon/scripts/init-namespace.sh
Moritz Jörg 27e54a7e1d feat: migrate to nix-actions and modernize build infrastructure
This commit series completes a major infrastructure overhaul:

- Migrate from manual GitHub Actions YAML to nix-actions workflow generation
- Add automated dependency update workflow with scheduled runs
- Add comprehensive Nix package definitions for all components (atlantis, sorcerer, archivist, etc.)
- Create containerized builds with proper Docker support
- Wrap scripts inside nix for better dependency management and shellcheck

The build system now uses pure Nix expressions for both local development
and CI/CD, providing better reproducibility and maintainability.
2025-08-12 09:49:22 +02:00

9 lines
145 B
Bash
Executable File

#!/usr/bin/env bash
ns=${1:-oceanbox}
init_namespace() {
kubectl create ns "$ns"
}
kubectl get ns "$ns" > /dev/null 2>&1 || init_namespace