You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
_logger.LogTrace("Checking if kubeconfig is null or empty");
89
90
if(string.IsNullOrEmpty(kubeconfig))
90
91
{
91
92
_logger.LogError("kubeconfig is null or empty");
92
-
thrownewKubeConfigException("kubeconfig is null or empty, please provide a valid kubeconfig in JSON format. For more information on how to create a kubeconfig file, please visit https://github.com/Keyfactor/k8s-orchestrator/tree/main/scripts/kubernetes#example-service-account-json");
93
+
thrownewKubeConfigException(
94
+
"kubeconfig is null or empty, please provide a valid kubeconfig in JSON format. For more information on how to create a kubeconfig file, please visit https://github.com/Keyfactor/k8s-orchestrator/tree/main/scripts/kubernetes#example-service-account-json");
_logger.LogError("kubeconfig is not a JSON object");
121
-
thrownewKubeConfigException("kubeconfig is not a JSON object, please provide a valid kubeconfig in JSON format. For more information on how to create a kubeconfig file, please visit: https://github.com/Keyfactor/k8s-orchestrator/tree/main/scripts/kubernetes#get_service_account_credssh");
123
+
thrownewKubeConfigException(
124
+
"kubeconfig is not a JSON object, please provide a valid kubeconfig in JSON format. For more information on how to create a kubeconfig file, please visit: https://github.com/Keyfactor/k8s-orchestrator/tree/main/scripts/kubernetes#get_service_account_credssh");
122
125
// return k8SConfiguration;
123
-
}
124
-
126
+
}
127
+
125
128
126
129
_logger.LogDebug("Parsing kubeconfig as a dictionary of string, string");
_logger.LogDebug("Setting skip-tls-verify to {SkipTlsVerify}",skipTlsVerifyEnv);
159
164
if(skipTlsVerifyEnv&&!skipTLSVerify)
160
165
{
161
-
_logger.LogWarning("Skipping TLS verification is enabled in environment variable KEYFACTOR_ORCHESTRATOR_SKIP_TLS_VERIFY this takes the highest precedence and verification will be skipped. To disable this, set the environment variable to 'false' or remove it");
166
+
_logger.LogWarning(
167
+
"Skipping TLS verification is enabled in environment variable KEYFACTOR_ORCHESTRATOR_SKIP_TLS_VERIFY this takes the highest precedence and verification will be skipped. To disable this, set the environment variable to 'false' or remove it");
0 commit comments