@@ -39,7 +39,7 @@ const (
3939
4040const (
4141 // HelmChartFoundCondition reports when mentioned helm chart is present in the cluster addon tar archive.
42- HelmChartFoundCondition = "HelmChartFound"
42+ HelmChartFoundCondition clusterv1. ConditionType = "HelmChartFound"
4343
4444 // HelmChartMissingReason is used when mentioned helm chart is missing in the cluster addon tar archive.
4545 HelmChartMissingReason = "HelmChartMissing"
@@ -62,6 +62,14 @@ const (
6262 TemplateNewClusterStackFailedReason = "TemplateNewClusterStackFailed"
6363)
6464
65+ const (
66+ // ClusterAddonConfigValidatedCondition reports when there is a error parsing clusteraddon.yaml.
67+ ClusterAddonConfigValidatedCondition clusterv1.ConditionType = "ClusterAddonConfigValidated"
68+
69+ // ParsingClusterAddonConfigFailedReason is used when there's some error happen while parsing clusteraddon.yaml.
70+ ParsingClusterAddonConfigFailedReason = "ParsingClusterAddonConfigFailed"
71+ )
72+
6573const (
6674 // HelmChartAppliedCondition reports on whether the relevant helm chart has been applied.
6775 HelmChartAppliedCondition clusterv1.ConditionType = "HelmChartApplied"
@@ -91,7 +99,7 @@ const (
9199
92100const (
93101 // ProviderClusterStackReleasesSyncedCondition reports on whether the ProviderClusterStackReleases are ready.
94- ProviderClusterStackReleasesSyncedCondition = "ProviderClusterStackReleasesSynced"
102+ ProviderClusterStackReleasesSyncedCondition clusterv1. ConditionType = "ProviderClusterStackReleasesSynced"
95103
96104 // ProviderTemplateNotFoundReason is used when providerTemplate is not found.
97105 ProviderTemplateNotFoundReason = "ProviderTemplateNotFound"
@@ -102,7 +110,7 @@ const (
102110
103111const (
104112 // ClusterStackReleasesSyncedCondition reports on whether the ClusterStackReleases are ready.
105- ClusterStackReleasesSyncedCondition = "ClusterStackReleasesSynced" //#nosec
113+ ClusterStackReleasesSyncedCondition clusterv1. ConditionType = "ClusterStackReleasesSynced" //#nosec
106114)
107115
108116const (
0 commit comments