Skip to content

Commit

Permalink
Update config files for machine API
Browse files Browse the repository at this point in the history
  • Loading branch information
enxebre committed Jan 15, 2019
1 parent 56638b7 commit c827431
Show file tree
Hide file tree
Showing 9 changed files with 20 additions and 20 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ metadata:
creationTimestamp: null
labels:
controller-tools.k8s.io: "1.0"
name: machines.cluster.k8s.io
name: machines.machine.k8s.io
spec:
group: cluster.k8s.io
group: machine.k8s.io
names:
kind: Machine
plural: machines
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ metadata:
creationTimestamp: null
labels:
controller-tools.k8s.io: "1.0"
name: machineclasses.cluster.k8s.io
name: machineclasses.machine.k8s.io
spec:
group: cluster.k8s.io
group: machine.k8s.io
names:
kind: MachineClass
plural: machineclasses
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ metadata:
creationTimestamp: null
labels:
controller-tools.k8s.io: "1.0"
name: machinedeployments.cluster.k8s.io
name: machinedeployments.machine.k8s.io
spec:
group: cluster.k8s.io
group: machine.k8s.io
names:
kind: MachineDeployment
plural: machinedeployments
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ metadata:
creationTimestamp: null
labels:
controller-tools.k8s.io: "1.0"
name: machinesets.cluster.k8s.io
name: machinesets.machine.k8s.io
spec:
group: cluster.k8s.io
group: machine.k8s.io
names:
kind: MachineSet
plural: machinesets
Expand Down
8 changes: 4 additions & 4 deletions config/default/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@ namePrefix: cluster-api-
# markers ("---").
resources:
- ../crds/cluster_v1alpha1_cluster.yaml
- ../crds/cluster_v1alpha1_machine.yaml
- ../crds/cluster_v1alpha1_machineclass.yaml
- ../crds/cluster_v1alpha1_machinedeployment.yaml
- ../crds/cluster_v1alpha1_machineset.yaml
- ../crds/machine_v1alpha1_machine.yaml
- ../crds/machine_v1alpha1_machineclass.yaml
- ../crds/machine_v1alpha1_machinedeployment.yaml
- ../crds/machine_v1alpha1_machineset.yaml
- ../rbac/rbac_role.yaml
- ../rbac/rbac_role_binding.yaml
- ../manager/manager.yaml
Expand Down
10 changes: 5 additions & 5 deletions config/rbac/rbac_role.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ rules:
- patch
- delete
- apiGroups:
- cluster.k8s.io
- machine.k8s.io
resources:
- machines
verbs:
Expand All @@ -29,7 +29,7 @@ rules:
- patch
- delete
- apiGroups:
- cluster.k8s.io
- machine.k8s.io
resources:
- machinedeployments
verbs:
Expand All @@ -41,7 +41,7 @@ rules:
- patch
- delete
- apiGroups:
- cluster.k8s.io
- machine.k8s.io
resources:
- machinesets
verbs:
Expand All @@ -53,7 +53,7 @@ rules:
- patch
- delete
- apiGroups:
- cluster.k8s.io
- machine.k8s.io
resources:
- machines
verbs:
Expand All @@ -77,7 +77,7 @@ rules:
- patch
- delete
- apiGroups:
- cluster.k8s.io
- machine.k8s.io
resources:
- machines
verbs:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
apiVersion: cluster.k8s.io/v1alpha1
apiVersion: machine.k8s.io/v1alpha1
kind: Machine
metadata:
labels:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
apiVersion: cluster.k8s.io/v1alpha1
apiVersion: machine.k8s.io/v1alpha1
kind: MachineDeployment
metadata:
labels:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
apiVersion: cluster.k8s.io/v1alpha1
apiVersion: machine.k8s.io/v1alpha1
kind: MachineSet
metadata:
labels:
Expand Down

0 comments on commit c827431

Please sign in to comment.