mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-05-02 14:26:23 -04:00
increase helm install timeout (#381)
This commit is contained in:
parent
402fc7761b
commit
29a1b5de42
2 changed files with 5 additions and 2 deletions
|
@ -43,6 +43,8 @@ const (
|
|||
kubeletStartTimeout = 10 * time.Minute
|
||||
// crdTimeout is the maximum time given to the CRDs to be created.
|
||||
crdTimeout = 15 * time.Second
|
||||
// helmTimeout is the maximum time given to the helm client.
|
||||
helmTimeout = 5 * time.Minute
|
||||
)
|
||||
|
||||
// Client provides the functions to talk to the k8s API.
|
||||
|
@ -203,7 +205,7 @@ func (k *KubernetesUtil) SetupHelmDeployments(ctx context.Context, kubectl Clien
|
|||
helmClient.Namespace = constants.HelmNamespace
|
||||
helmClient.ReleaseName = "cilium"
|
||||
helmClient.Wait = true
|
||||
helmClient.Timeout = 30 * time.Second
|
||||
helmClient.Timeout = helmTimeout
|
||||
|
||||
if err := k.deployCilium(ctx, in, helmClient, helmDeploy.Cilium, kubectl); err != nil {
|
||||
return fmt.Errorf("deploying cilium: %w", err)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue