sigs.k8s.io/cluster-api-provider-aws@v1.5.5/controlplane/eks/api/v1alpha3/conditions_consts.go (about) 1 /* 2 Copyright 2020 The Kubernetes Authors. 3 4 Licensed under the Apache License, Version 2.0 (the "License"); 5 you may not use this file except in compliance with the License. 6 You may obtain a copy of the License at 7 8 http://www.apache.org/licenses/LICENSE-2.0 9 10 Unless required by applicable law or agreed to in writing, software 11 distributed under the License is distributed on an "AS IS" BASIS, 12 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 See the License for the specific language governing permissions and 14 limitations under the License. 15 */ 16 17 package v1alpha3 18 19 import clusterv1alpha3 "sigs.k8s.io/cluster-api/api/v1alpha3" 20 21 const ( 22 // EKSControlPlaneReadyCondition condition reports on the successful reconciliation of eks control plane. 23 EKSControlPlaneReadyCondition clusterv1alpha3.ConditionType = "EKSControlPlaneReady" 24 // EKSControlPlaneCreatingCondition condition reports on whether the eks 25 // control plane is creating. 26 EKSControlPlaneCreatingCondition clusterv1alpha3.ConditionType = "EKSControlPlaneCreating" 27 // EKSControlPlaneUpdatingCondition condition reports on whether the eks 28 // control plane is updating. 29 EKSControlPlaneUpdatingCondition clusterv1alpha3.ConditionType = "EKSControlPlaneUpdating" 30 // EKSControlPlaneReconciliationFailedReason used to report failures while reconciling EKS control plane. 31 EKSControlPlaneReconciliationFailedReason = "EKSControlPlaneReconciliationFailed" 32 ) 33 34 const ( 35 // IAMControlPlaneRolesReadyCondition condition reports on the successful reconciliation of eks control plane iam roles. 36 IAMControlPlaneRolesReadyCondition clusterv1alpha3.ConditionType = "IAMControlPlaneRolesReady" 37 // IAMControlPlaneRolesReconciliationFailedReason used to report failures while reconciling EKS control plane iam roles. 38 IAMControlPlaneRolesReconciliationFailedReason = "IAMControlPlaneRolesReconciliationFailed" 39 ) 40 41 const ( 42 // IAMAuthenticatorConfiguredCondition condition reports on the successful reconciliation of aws-iam-authenticator config. 43 IAMAuthenticatorConfiguredCondition clusterv1alpha3.ConditionType = "IAMAuthenticatorConfigured" 44 // IAMAuthenticatorConfigurationFailedReason used to report failures while reconciling the aws-iam-authenticator config. 45 IAMAuthenticatorConfigurationFailedReason = "IAMAuthenticatorConfigurationFailed" 46 ) 47 48 const ( 49 // EKSAddonsConfiguredCondition condition reports on the successful reconciliation of EKS addons. 50 EKSAddonsConfiguredCondition clusterv1alpha3.ConditionType = "EKSAddonsConfigured" 51 // EKSAddonsConfiguredFailedReason used to report failures while reconciling the EKS addons. 52 EKSAddonsConfiguredFailedReason = "EKSAddonsConfiguredFailed" 53 )