#!/bin/bash # Creates a restricted kubeconfig for the oil-calculator namespace only. # Run on the k8s server as a user with cluster-admin access. set -e NAMESPACE=oil-calculator SA_NAME=oil-calculator-deployer echo "Creating ServiceAccount, Role, and RoleBinding..." kubectl apply -f - < kubeconfig <