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

fix: upgrade clusterset clustersetbinding to v1beta2 #81

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
6 changes: 3 additions & 3 deletions snippets/managedclusterset.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"managedclusterset-v1beta1": {
"managedclusterset-v1beta2": {
"scope": "yaml",
"prefix": "OCM ManagedClusterSet v1beta1",
"prefix": "OCM ManagedClusterSet v1beta2",
"description": "The managed cluster set represents a set of clusters to select from.",
"body": [
"---",
"apiVersion: cluster.open-cluster-management.io/v1beta1",
"apiVersion: cluster.open-cluster-management.io/v1beta2",
"kind: ManagedClusterSet",
"metadata:",
" name: ${1:<managed-clustterset-name>}"
Expand Down
6 changes: 3 additions & 3 deletions snippets/managedclustersetbinding.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"managedclustersetbinding-v1beta1": {
"managedclustersetbinding-v1beta2": {
"scope": "yaml",
"prefix": "OCM ManagedClusterSetBinding v1beta1",
"prefix": "OCM ManagedClusterSetBinding v1beta2",
"description": "The managed clusters set binding is used to bind the managed clusters set to a namespace.",
"body": [
"---",
"apiVersion: cluster.open-cluster-management.io/v1beta1",
"apiVersion: cluster.open-cluster-management.io/v1beta2",
"kind: ManagedClusterSetBinding",
"metadata:",
" name: ${1:<managed-clustterset-name>} # should be identical to the underlying ManagedClusterSet",
Expand Down
2 changes: 1 addition & 1 deletion templates/Git/clusterset.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
apiVersion: cluster.open-cluster-management.io/v1beta1
apiVersion: cluster.open-cluster-management.io/v1beta2
kind: ManagedClusterSet
metadata:
name: helloworld-clusterset
2 changes: 1 addition & 1 deletion templates/Git/clustersetbinding.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
apiVersion: cluster.open-cluster-management.io/v1beta1
apiVersion: cluster.open-cluster-management.io/v1beta2
kind: ManagedClusterSetBinding
metadata:
name: helloworld-clusterset # the name should be identical to the underlying ManagedClusterSet
Expand Down
2 changes: 1 addition & 1 deletion templates/HelmRepo/clusterset.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
apiVersion: cluster.open-cluster-management.io/v1beta1
apiVersion: cluster.open-cluster-management.io/v1beta2
kind: ManagedClusterSet
metadata:
name: helloworld-clusterset
2 changes: 1 addition & 1 deletion templates/HelmRepo/clustersetbinding.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
apiVersion: cluster.open-cluster-management.io/v1beta1
apiVersion: cluster.open-cluster-management.io/v1beta2
kind: ManagedClusterSetBinding
metadata:
name: helloworld-clusterset # the name should be identical to the underlying ManagedClusterSet
Expand Down
2 changes: 1 addition & 1 deletion templates/ObjectBucket/clusterset.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
apiVersion: cluster.open-cluster-management.io/v1beta1
apiVersion: cluster.open-cluster-management.io/v1beta2
kind: ManagedClusterSet
metadata:
name: helloworld-clusterset
2 changes: 1 addition & 1 deletion templates/ObjectBucket/clustersetbinding.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
apiVersion: cluster.open-cluster-management.io/v1beta1
apiVersion: cluster.open-cluster-management.io/v1beta2
kind: ManagedClusterSetBinding
metadata:
name: helloworld-clusterset # the name should be identical to the underlying ManagedClusterSet
Expand Down