Skip to content

Commit 015e4c8

Browse files
Merge pull request #4 from KusionStack/sync1018
feat: sync kusionstack control label key and modify podavailablecondi…
2 parents d8dace2 + ccf0c3a commit 015e4c8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

apps/v1alpha1/types.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,5 @@ package v1alpha1
1818

1919
// +kubebuilder:object:generate=false
2020
type PodAvailableConditions struct {
21-
ExpectedFinalizers []string `json:"expectedFinalizers,omitempty"` // indicate the expected finalizers of a pod
21+
ExpectedFinalizers map[string]string `json:"expectedFinalizers,omitempty"` // indicate the expected finalizers of a pod
2222
}

apps/v1alpha1/well_known_labels.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ package v1alpha1
1818

1919
// pod ops lifecyle labels
2020
const (
21-
ControlledByPodOpsLifecycle = "podopslifecycle.kusionstack.io/control" // indicate a pod is controlled by podopslifecycle
21+
ControlledByKusionStackLabelKey = "kusionstack.io/control"
2222

2323
PodOperatingLabelPrefix = "operating.podopslifecycle.kusionstack.io" // indicate a pod is operating
2424
PodOperationTypeLabelPrefix = "operation-type.podopslifecycle.kusionstack.io" // indicate the type of operation

0 commit comments

Comments
 (0)