Skip to content

Commit

Permalink
feat: remove v1alpha1 version of platformadmin crd
Browse files Browse the repository at this point in the history
Signed-off-by: LavenderQAQ <[email protected]>
  • Loading branch information
LavenderQAQ committed Aug 22, 2023
1 parent b6f2ec0 commit f39428d
Show file tree
Hide file tree
Showing 11 changed files with 4 additions and 9,156 deletions.
8,366 changes: 0 additions & 8,366 deletions charts/yurt-manager/crds/iot.openyurt.io_platformadmins.yaml

Large diffs are not rendered by default.

19 changes: 0 additions & 19 deletions pkg/apis/iot/v1alpha1/condition_const.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,25 +17,6 @@ limitations under the License.
package v1alpha1

const (
// ConfigmapAvailableCondition documents the status of the PlatformAdmin configmap.
ConfigmapAvailableCondition PlatformAdminConditionType = "ConfigmapAvailable"

ConfigmapProvisioningReason = "ConfigmapProvisioning"

ConfigmapProvisioningFailedReason = "ConfigmapProvisioningFailed"
// ServiceAvailableCondition documents the status of the PlatformAdmin service.
ServiceAvailableCondition PlatformAdminConditionType = "ServiceAvailable"

ServiceProvisioningReason = "ServiceProvisioning"

ServiceProvisioningFailedReason = "ServiceProvisioningFailed"
// DeploymentAvailableCondition documents the status of the PlatformAdmin deployment.
DeploymentAvailableCondition PlatformAdminConditionType = "DeploymentAvailable"

DeploymentProvisioningReason = "DeploymentProvisioning"

DeploymentProvisioningFailedReason = "DeploymentProvisioningFailed"

// DeviceSyncedCondition indicates that the device exists in both OpenYurt and edge platform
DeviceSyncedCondition DeviceConditionType = "DeviceSynced"

Expand Down
7 changes: 0 additions & 7 deletions pkg/apis/iot/v1alpha1/default.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,3 @@ limitations under the License.
*/

package v1alpha1

// SetDefaultsPlatformAdmin set default values for PlatformAdmin.
func SetDefaultsPlatformAdmin(obj *PlatformAdmin) {
if obj.Annotations == nil {
obj.Annotations = make(map[string]string)
}
}
141 changes: 0 additions & 141 deletions pkg/apis/iot/v1alpha1/platformadmin_conversion.go

This file was deleted.

142 changes: 0 additions & 142 deletions pkg/apis/iot/v1alpha1/platformadmin_types.go

This file was deleted.

Loading

0 comments on commit f39428d

Please sign in to comment.