Skip to content

Commit

Permalink
Merge pull request #312 from oliverbaehler/feat/selector
Browse files Browse the repository at this point in the history
feat(api): add native clusterselector
  • Loading branch information
gianlucam76 authored Jun 12, 2024
2 parents 8bf4bea + f1a3393 commit f66e954
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions api/v1alpha1/common_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ import (
"errors"

corev1 "k8s.io/api/core/v1"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
)

const (
Expand Down Expand Up @@ -71,6 +72,10 @@ var (

type Selector string

type ClusterSelector struct {
metav1.LabelSelector `json:",inline"`
}

// +kubebuilder:validation:Enum:=Provisioning;Provisioned;Failed;Removing;Removed
type SveltosFeatureStatus string

Expand Down

0 comments on commit f66e954

Please sign in to comment.