mirror of
https://github.com/edgelesssys/constellation.git
synced 2024-12-23 14:39:40 -05:00
increase helm install timeout (#381)
This commit is contained in:
parent
402fc7761b
commit
29a1b5de42
@ -34,7 +34,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||
### Removed
|
||||
<!-- For now removed features. -->
|
||||
### Fixed
|
||||
<!-- For any bug fixes. -->
|
||||
|
||||
- Fix timeout issue during cilium installation.
|
||||
### Security
|
||||
<!-- In case of vulnerabilities. -->
|
||||
### Internal
|
||||
|
@ -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…
Reference in New Issue
Block a user