mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-08-02 12:06:09 -04:00
cli: install cilium in cli instead of bootstrapper (#2146)
* add wait and restartDS * cilium working (tested on azure + gcp) * clean helm code from bootstrapper * fixup! clean helm code from bootstrapper * fixup! clean helm code from bootstrapper * fixup! clean helm code from bootstrapper * add patchnode for gcp * fix gcp * patch node inside bootstrapper * apply renaming of client * fixup! apply renaming of client * otto feedback
This commit is contained in:
parent
da1376cd90
commit
13eea1ca31
36 changed files with 519 additions and 575 deletions
39
cli/internal/helm/release.go
Normal file
39
cli/internal/helm/release.go
Normal file
|
@ -0,0 +1,39 @@
|
|||
/*
|
||||
Copyright (c) Edgeless Systems GmbH
|
||||
|
||||
SPDX-License-Identifier: AGPL-3.0-only
|
||||
*/
|
||||
|
||||
// Package helm provides types and functions shared across services.
|
||||
package helm
|
||||
|
||||
// Release bundles all information necessary to create a helm release.
|
||||
type Release struct {
|
||||
Chart []byte
|
||||
Values map[string]any
|
||||
ReleaseName string
|
||||
WaitMode WaitMode
|
||||
}
|
||||
|
||||
// Releases bundles all helm releases to be deployed to Constellation.
|
||||
type Releases struct {
|
||||
AWSLoadBalancerController *Release
|
||||
CSI *Release
|
||||
Cilium Release
|
||||
CertManager Release
|
||||
ConstellationOperators Release
|
||||
ConstellationServices Release
|
||||
}
|
||||
|
||||
// WaitMode specifies the wait mode for a helm release.
|
||||
type WaitMode string
|
||||
|
||||
const (
|
||||
// WaitModeNone specifies that the helm release should not wait for the resources to be ready.
|
||||
WaitModeNone WaitMode = ""
|
||||
// WaitModeWait specifies that the helm release should wait for the resources to be ready.
|
||||
WaitModeWait WaitMode = "wait"
|
||||
// WaitModeAtomic specifies that the helm release should
|
||||
// wait for the resources to be ready and roll back atomically on failure.
|
||||
WaitModeAtomic WaitMode = "atomic"
|
||||
)
|
Loading…
Add table
Add a link
Reference in a new issue