@@ -39,7 +39,7 @@ const (
39
39
40
40
const (
41
41
// HelmChartFoundCondition reports when mentioned helm chart is present in the cluster addon tar archive.
42
- HelmChartFoundCondition = "HelmChartFound"
42
+ HelmChartFoundCondition clusterv1. ConditionType = "HelmChartFound"
43
43
44
44
// HelmChartMissingReason is used when mentioned helm chart is missing in the cluster addon tar archive.
45
45
HelmChartMissingReason = "HelmChartMissing"
@@ -62,6 +62,14 @@ const (
62
62
TemplateNewClusterStackFailedReason = "TemplateNewClusterStackFailed"
63
63
)
64
64
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
+
65
73
const (
66
74
// HelmChartAppliedCondition reports on whether the relevant helm chart has been applied.
67
75
HelmChartAppliedCondition clusterv1.ConditionType = "HelmChartApplied"
@@ -91,7 +99,7 @@ const (
91
99
92
100
const (
93
101
// ProviderClusterStackReleasesSyncedCondition reports on whether the ProviderClusterStackReleases are ready.
94
- ProviderClusterStackReleasesSyncedCondition = "ProviderClusterStackReleasesSynced"
102
+ ProviderClusterStackReleasesSyncedCondition clusterv1. ConditionType = "ProviderClusterStackReleasesSynced"
95
103
96
104
// ProviderTemplateNotFoundReason is used when providerTemplate is not found.
97
105
ProviderTemplateNotFoundReason = "ProviderTemplateNotFound"
@@ -102,7 +110,7 @@ const (
102
110
103
111
const (
104
112
// ClusterStackReleasesSyncedCondition reports on whether the ClusterStackReleases are ready.
105
- ClusterStackReleasesSyncedCondition = "ClusterStackReleasesSynced" //#nosec
113
+ ClusterStackReleasesSyncedCondition clusterv1. ConditionType = "ClusterStackReleasesSynced" //#nosec
106
114
)
107
115
108
116
const (
0 commit comments