mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-06-21 04:34:22 -04:00
Fork node maintenance operator and deploy it on all supported k8s versions
Signed-off-by: Malte Poll <mp@edgeless.systems>
This commit is contained in:
parent
84b4519ffd
commit
c84e44913b
2 changed files with 13 additions and 14 deletions
|
@ -200,12 +200,9 @@ func (k *KubeWrapper) InitCluster(
|
||||||
return nil, fmt.Errorf("failed to setup verification service: %w", err)
|
return nil, fmt.Errorf("failed to setup verification service: %w", err)
|
||||||
}
|
}
|
||||||
|
|
||||||
// TODO: enable operator deployment on kubernetes 1.24 once https://github.com/medik8s/node-maintenance-operator/issues/49 is fixed
|
|
||||||
if k8sVersion != versions.V1_24 {
|
|
||||||
if err := k.setupOperators(ctx); err != nil {
|
if err := k.setupOperators(ctx); err != nil {
|
||||||
return nil, fmt.Errorf("setting up operators: %w", err)
|
return nil, fmt.Errorf("setting up operators: %w", err)
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
if k.cloudProvider == "gcp" {
|
if k.cloudProvider == "gcp" {
|
||||||
if err := k.clusterUtil.SetupGCPGuestAgent(k.client, resources.NewGCPGuestAgentDaemonset()); err != nil {
|
if err := k.clusterUtil.SetupGCPGuestAgent(k.client, resources.NewGCPGuestAgentDaemonset()); err != nil {
|
||||||
|
|
|
@ -37,8 +37,10 @@ const (
|
||||||
GcpGuestImage = "ghcr.io/edgelesssys/gcp-guest-agent:20220713.00"
|
GcpGuestImage = "ghcr.io/edgelesssys/gcp-guest-agent:20220713.00"
|
||||||
NodeOperatorCatalogImage = "ghcr.io/edgelesssys/constellation/node-operator-catalog"
|
NodeOperatorCatalogImage = "ghcr.io/edgelesssys/constellation/node-operator-catalog"
|
||||||
NodeOperatorVersion = "v0.0.1"
|
NodeOperatorVersion = "v0.0.1"
|
||||||
NodeMaintenanceOperatorCatalogImage = "quay.io/medik8s/node-maintenance-operator-catalog"
|
// TODO: switch node maintenance operator catalog back to upstream quay.io/medik8s/node-maintenance-operator-catalog
|
||||||
NodeMaintenanceOperatorVersion = "v0.13.0"
|
// once https://github.com/medik8s/node-maintenance-operator/issues/49 is resolved.
|
||||||
|
NodeMaintenanceOperatorCatalogImage = "ghcr.io/edgelesssys/constellation/node-maintenance-operator-catalog"
|
||||||
|
NodeMaintenanceOperatorVersion = "v0.13.1-alpha1"
|
||||||
|
|
||||||
// currently supported versions.
|
// currently supported versions.
|
||||||
V1_22 ValidK8sVersion = "1.22"
|
V1_22 ValidK8sVersion = "1.22"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue