From 76bd9d0aadc27565022bb512691946c98cc1fd7a Mon Sep 17 00:00:00 2001 From: Gerrit Date: Mon, 10 Jul 2023 12:48:05 +0200 Subject: [PATCH] Fix. --- cmd/cluster.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/cluster.go b/cmd/cluster.go index f7d73336..6b30ef82 100644 --- a/cmd/cluster.go +++ b/cmd/cluster.go @@ -534,8 +534,8 @@ func (c *config) clusterCreate() error { draintimeout := viper.GetDuration("draintimeout") var allowprivileged *bool - if viper.IsSet("alllowprivileged") { - allowprivileged = pointer.Pointer(viper.GetBool("alllowprivileged")) + if viper.IsSet("allowprivileged") { + allowprivileged = pointer.Pointer(viper.GetBool("allowprivileged")) } var defaultPodSecurityStandard *string if viper.IsSet("default-pod-security-standard") {