mirror of
https://github.com/rancher/rke.git
synced 2025-08-31 14:36:32 +00:00
Print proxy env vars when applying authz resources
This commit is contained in:
committed by
Alena Prokharchyk
parent
a31f707eb5
commit
14827e2cdf
@@ -310,6 +310,8 @@ func ApplyAuthzResources(ctx context.Context, rkeConfig v3.RancherKubernetesEngi
|
||||
if len(kubeCluster.ControlPlaneHosts) == 0 {
|
||||
return nil
|
||||
}
|
||||
// Print proxy environment variables as we are directly contacting the cluster
|
||||
util.PrintProxyEnvVars()
|
||||
if err := authz.ApplyJobDeployerServiceAccount(ctx, kubeCluster.LocalKubeConfigPath, kubeCluster.K8sWrapTransport); err != nil {
|
||||
return fmt.Errorf("Failed to apply the ServiceAccount needed for job execution: %v", err)
|
||||
}
|
||||
|
Reference in New Issue
Block a user