Skip to content

Commit

Permalink
Skip ControlPlaneIsStable preflight check for worker machines
Browse files Browse the repository at this point in the history
  • Loading branch information
eromanova committed Feb 11, 2025
1 parent c5d6dd4 commit a9e48bd
Show file tree
Hide file tree
Showing 26 changed files with 39 additions and 40 deletions.
2 changes: 1 addition & 1 deletion config/dev/aws-clusterdeployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ metadata:
name: aws-${CLUSTER_NAME_SUFFIX}
namespace: ${NAMESPACE}
spec:
template: aws-standalone-cp-0-1-0
template: aws-standalone-cp-0-1-2
credential: aws-cluster-identity-cred
config:
clusterLabels: {}
Expand Down
2 changes: 1 addition & 1 deletion config/dev/azure-clusterdeployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ metadata:
name: azure-${CLUSTER_NAME_SUFFIX}
namespace: ${NAMESPACE}
spec:
template: azure-standalone-cp-0-1-0
template: azure-standalone-cp-0-1-2
credential: azure-cluster-identity-cred
config:
clusterLabels: {}
Expand Down
2 changes: 1 addition & 1 deletion config/dev/openstack-clusterdeployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ metadata:
name: openstack-${CLUSTER_NAME_SUFFIX}
namespace: ${NAMESPACE}
spec:
template: openstack-standalone-cp-0-1-1
template: openstack-standalone-cp-0-1-3
credential: openstack-cluster-identity-cred
config:
clusterLabels: {}
Expand Down
2 changes: 1 addition & 1 deletion config/dev/vsphere-clusterdeployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ metadata:
name: vsphere-${CLUSTER_NAME_SUFFIX}
namespace: ${NAMESPACE}
spec:
template: vsphere-standalone-cp-0-1-0
template: vsphere-standalone-cp-0-1-2
credential: vsphere-cluster-identity-cred
config:
clusterLabels: {}
Expand Down
2 changes: 1 addition & 1 deletion templates/cluster/aws-hosted-cp/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.1.1
version: 0.1.2
# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
# follow Semantic Versioning. They should reflect the version the application is using.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ apiVersion: cluster.x-k8s.io/v1beta1
kind: MachineDeployment
metadata:
name: {{ include "machinedeployment.name" . }}
annotations:
machineset.cluster.x-k8s.io/skip-preflight-checks: "ControlPlaneIsStable"
spec:
clusterName: {{ include "cluster.name" . }}
replicas: {{ .Values.workersNumber }}
Expand Down
2 changes: 1 addition & 1 deletion templates/cluster/aws-standalone-cp/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.1.1
version: 0.1.2
# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
# follow Semantic Versioning. They should reflect the version the application is using.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ apiVersion: cluster.x-k8s.io/v1beta1
kind: MachineDeployment
metadata:
name: {{ include "machinedeployment.name" . }}
annotations:
machineset.cluster.x-k8s.io/skip-preflight-checks: "ControlPlaneIsStable"
spec:
clusterName: {{ include "cluster.name" . }}
replicas: {{ .Values.workersNumber }}
Expand Down
2 changes: 1 addition & 1 deletion templates/cluster/azure-hosted-cp/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.1.1
version: 0.1.2
# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
# follow Semantic Versioning. They should reflect the version the application is using.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ apiVersion: cluster.x-k8s.io/v1beta1
kind: MachineDeployment
metadata:
name: {{ include "machinedeployment.name" . }}
annotations:
machineset.cluster.x-k8s.io/skip-preflight-checks: "ControlPlaneIsStable"
spec:
clusterName: {{ include "cluster.name" . }}
replicas: {{ .Values.workersNumber }}
Expand Down
2 changes: 1 addition & 1 deletion templates/cluster/azure-standalone-cp/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.1.1
version: 0.1.2
# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
# follow Semantic Versioning. They should reflect the version the application is using.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ apiVersion: cluster.x-k8s.io/v1beta1
kind: MachineDeployment
metadata:
name: {{ include "machinedeployment.name" . }}
annotations:
machineset.cluster.x-k8s.io/skip-preflight-checks: "ControlPlaneIsStable"
spec:
clusterName: {{ include "cluster.name" . }}
replicas: {{ .Values.workersNumber }}
Expand Down
2 changes: 1 addition & 1 deletion templates/cluster/openstack-standalone-cp/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.1.2
version: 0.1.3
# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
# follow Semantic Versioning. They should reflect the version the application is using.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ apiVersion: cluster.x-k8s.io/v1beta1
kind: MachineDeployment
metadata:
name: {{ include "machinedeployment.name" . }}
annotations:
machineset.cluster.x-k8s.io/skip-preflight-checks: "ControlPlaneIsStable"
spec:
clusterName: {{ include "cluster.name" . }}
replicas: {{ .Values.workersNumber }}
Expand Down
2 changes: 1 addition & 1 deletion templates/cluster/vsphere-hosted-cp/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.1.1
version: 0.1.2
# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
# follow Semantic Versioning. They should reflect the version the application is using.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ apiVersion: cluster.x-k8s.io/v1beta1
kind: MachineDeployment
metadata:
name: {{ include "machinedeployment.name" . }}
annotations:
machineset.cluster.x-k8s.io/skip-preflight-checks: "ControlPlaneIsStable"
spec:
clusterName: {{ include "cluster.name" . }}
replicas: {{ .Values.workersNumber }}
Expand Down
2 changes: 1 addition & 1 deletion templates/cluster/vsphere-standalone-cp/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.1.1
version: 0.1.2
# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
# follow Semantic Versioning. They should reflect the version the application is using.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ apiVersion: cluster.x-k8s.io/v1beta1
kind: MachineDeployment
metadata:
name: {{ include "machinedeployment.name" . }}
annotations:
machineset.cluster.x-k8s.io/skip-preflight-checks: "ControlPlaneIsStable"
spec:
clusterName: {{ include "cluster.name" . }}
replicas: {{ .Values.workersNumber }}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
apiVersion: k0rdent.mirantis.com/v1alpha1
kind: ClusterTemplate
metadata:
name: aws-hosted-cp-0-1-1
name: aws-hosted-cp-0-1-2
annotations:
helm.sh/resource-policy: keep
spec:
helm:
chartSpec:
chart: aws-hosted-cp
version: 0.1.1
version: 0.1.2
interval: 10m0s
sourceRef:
kind: HelmRepository
Expand Down
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
apiVersion: k0rdent.mirantis.com/v1alpha1
kind: ClusterTemplate
metadata:
name: aws-standalone-cp-0-1-1
name: aws-standalone-cp-0-1-2
annotations:
helm.sh/resource-policy: keep
spec:
helm:
chartSpec:
chart: aws-standalone-cp
version: 0.1.1
version: 0.1.2
interval: 10m0s
sourceRef:
kind: HelmRepository
Expand Down
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
apiVersion: k0rdent.mirantis.com/v1alpha1
kind: ClusterTemplate
metadata:
name: azure-hosted-cp-0-1-1
name: azure-hosted-cp-0-1-2
annotations:
helm.sh/resource-policy: keep
spec:
helm:
chartSpec:
chart: azure-hosted-cp
version: 0.1.1
version: 0.1.2
interval: 10m0s
sourceRef:
kind: HelmRepository
Expand Down
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
apiVersion: k0rdent.mirantis.com/v1alpha1
kind: ClusterTemplate
metadata:
name: azure-standalone-cp-0-1-1
name: azure-standalone-cp-0-1-2
annotations:
helm.sh/resource-policy: keep
spec:
helm:
chartSpec:
chart: azure-standalone-cp
version: 0.1.1
version: 0.1.2
interval: 10m0s
sourceRef:
kind: HelmRepository
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
apiVersion: k0rdent.mirantis.com/v1alpha1
kind: ClusterTemplate
metadata:
name: openstack-standalone-cp-0-1-1
name: openstack-standalone-cp-0-1-3
annotations:
helm.sh/resource-policy: keep
spec:
helm:
chartSpec:
chart: openstack-standalone-cp
version: 0.1.1
version: 0.1.3
interval: 10m0s
sourceRef:
kind: HelmRepository
Expand Down
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
apiVersion: k0rdent.mirantis.com/v1alpha1
kind: ClusterTemplate
metadata:
name: vsphere-hosted-cp-0-1-1
name: vsphere-hosted-cp-0-1-2
annotations:
helm.sh/resource-policy: keep
spec:
helm:
chartSpec:
chart: vsphere-hosted-cp
version: 0.1.1
version: 0.1.2
interval: 10m0s
sourceRef:
kind: HelmRepository
Expand Down
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
apiVersion: k0rdent.mirantis.com/v1alpha1
kind: ClusterTemplate
metadata:
name: vsphere-standalone-cp-0-1-1
name: vsphere-standalone-cp-0-1-2
annotations:
helm.sh/resource-policy: keep
spec:
helm:
chartSpec:
chart: vsphere-standalone-cp
version: 0.1.1
version: 0.1.2
interval: 10m0s
sourceRef:
kind: HelmRepository
Expand Down

0 comments on commit a9e48bd

Please sign in to comment.