1
0
mirror of https://github.com/rancher/types.git synced 2025-08-31 21:00:16 +00:00

Cluster conditions

For creating a default project and assigning the default namespace to it
This commit is contained in:
Craig Jellick
2018-01-08 12:23:00 -07:00
committed by Darren Shepherd
parent f03c946987
commit e5890bff08
2 changed files with 6 additions and 0 deletions

View File

@@ -17,6 +17,10 @@ const (
ClusterConditionNoDiskPressure condition.Cond = "NoDiskPressure"
// ClusterConditionNoMemoryPressure true when all cluster nodes have sufficient memory
ClusterConditionNoMemoryPressure condition.Cond = "NoMemoryPressure"
// ClusterConditionconditionDefautlProjectCreated true when default project has been created
ClusterConditionconditionDefautlProjectCreated condition.Cond = "DefaultProjectCreated"
// ClusterCondictionDefaultNamespaceAssigned true when cluster's default namespace has been initially assigned
ClusterConditionDefaultNamespaceAssigned condition.Cond = "DefaultNamespaceAssigned"
// More conditions can be added if unredlying controllers request it
)