mirror of
https://github.com/usual2970/certimate.git
synced 2025-06-16 17:39:51 +00:00
Update k8s_secret.go
This commit is contained in:
parent
528a3d9da8
commit
9f6ea410af
@ -116,7 +116,7 @@ func (d *K8sSecretDeployer) createClient(access *domain.KubernetesAccess) (*kube
|
||||
}
|
||||
config, err := kubeConfig.ClientConfig()
|
||||
if err != nil {
|
||||
panic(err.Error())
|
||||
return nil, err
|
||||
}
|
||||
|
||||
client, err := kubernetes.NewForConfig(config)
|
||||
|
Loading…
x
Reference in New Issue
Block a user