Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: fix stagedUpdateRun examples to use v1beta1 #1012

Merged
merged 1 commit into from
Jan 8, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading