Skip to content

Commit

Permalink
fix stagedUpdateRun examples to use v1beta1
Browse files Browse the repository at this point in the history
  • Loading branch information
jwtty committed Jan 7, 2025
1 parent 82874e2 commit 4d89e90
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
10 changes: 5 additions & 5 deletions examples/stagedupdaterun/approvalRequest.yaml
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
apiVersion: placement.kubernetes-fleet.io/v1alpha1
apiVersion: placement.kubernetes-fleet.io/v1beta1
kind: ClusterApprovalRequest
metadata:
name: example-approvalrequest
labels:
TargetUpdateRun: example-clusterstagedupdaterun
TargetStage: stage1
IsLatestUpdateRunApproval: "true"
kubernetes-fleet.io/targetupdaterun: example-run
kubernetes-fleet.io/targetUpdatingStage: canary
kubernetes-fleet.io/isLatestUpdateRunApproval: "true"
spec:
parentStageRollout: example-run
targetStage: canary
status:
conditions:
- type: Approved
status: "True"
status: "True"
4 changes: 2 additions & 2 deletions examples/stagedupdaterun/clusterStagedUpdateRun.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
apiVersion: placement.kubernetes-fleet.io/v1alpha1
apiVersion: placement.kubernetes-fleet.io/v1beta1
kind: ClusterStagedUpdateRun
metadata:
name: example-run
Expand Down Expand Up @@ -39,4 +39,4 @@ status:
- type: Progressing
status: "True"
- type: Succeeded
status: "False"
status: "False"
2 changes: 1 addition & 1 deletion examples/stagedupdaterun/example-crp.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ spec:
- key: gpu-workload
operator: Exists
strategy:
type: External
type: External
4 changes: 2 additions & 2 deletions examples/stagedupdaterun/updateStrategy.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
apiVersion: placement.kubernetes-fleet.io/v1alpha1
apiVersion: placement.kubernetes-fleet.io/v1beta1
kind: ClusterStagedUpdateStrategy
metadata:
name: example-strategy
Expand Down Expand Up @@ -26,4 +26,4 @@ spec:
afterStageTasks:
- type: Approval
- type: TimedWait
waitTime: 1h
waitTime: 1h

0 comments on commit 4d89e90

Please sign in to comment.