INNER CODE UNIT · Go

main

kubearmor/KubeArmor · deployments/main.go:22

func main() {
	envs := []string{"generic", "docker", "minikube", "microk8s", "k0s", "k3s", "GKE", "EKS", "BottleRocket", "AKS", "OKE"}
	nsPtr := flag.String("namespace", "kubearmor", "Namespace")

	flag.Parse()

	var namespace = *nsPtr

	for _, env := range envs {
		v := []any{
			// ServiceAccounts
			dp.GetServiceAccount(namespace),
			dp.GetRelayServiceAccount(namespace),
			dp.GetKubeArmorControllerServiceAccount(namespace),

			// Configmap
			dp.GetKubearmorConfigMap(namespace, dp.KubeArmorConfigMapName),

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…