-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Introduce OpenShift metadata to generated resources (#17)
* Add OpenShift KubeVirt provider metadata to preferences This change adds some generic OpenShift specific support metadata to each preference. Signed-off-by: Lee Yarwood <lyarwood@redhat.com> * Add OpenShift metadata to CentOS preferences Signed-off-by: Lee Yarwood <lyarwood@redhat.com> * Add OpenShift metadata to RHEL preferences Signed-off-by: Lee Yarwood <lyarwood@redhat.com> * Add OpenShift metadata to Windows preferences Signed-off-by: Lee Yarwood <lyarwood@redhat.com> * Add OpenShift metadata to Fedora preferences Signed-off-by: Lee Yarwood <lyarwood@redhat.com> * Add OpenShift metadata to Ubuntu preferences Signed-off-by: Lee Yarwood <lyarwood@redhat.com> * Add OpenShift metadata to Alpine preferences Signed-off-by: Lee Yarwood <lyarwood@redhat.com> * Add OpenShift metadata to CirrOS preferences Signed-off-by: Lee Yarwood <lyarwood@redhat.com> * Add virtio to the display name of Window preferences Signed-off-by: Lee Yarwood <lyarwood@redhat.com> * Add an instancetype.kubevirt.io/os-type label to each preference We plan on eventually supporting preferences that are not aligned directly to an OS and version but with an application workload, for example SAP. This label introduces a simple way for users to query the available preferences in an environment given the underlying OS of their workload. Signed-off-by: Lee Yarwood <lyarwood@redhat.com> Signed-off-by: Lee Yarwood <lyarwood@redhat.com>
- Loading branch information
Showing
81 changed files
with
1,410 additions
and
1 deletion.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 10 additions & 0 deletions
10
common-instancetypes/preferences/alpine/metadata/kustomization.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
--- | ||
apiVersion: kustomize.config.k8s.io/v1alpha1 | ||
kind: Component | ||
patches: | ||
- path: ./metadata.yaml | ||
target: | ||
kind: VirtualMachinePreference | ||
- path: ./metadata.yaml | ||
target: | ||
kind: VirtualMachineClusterPreference |
9 changes: 9 additions & 0 deletions
9
common-instancetypes/preferences/alpine/metadata/metadata.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
--- | ||
apiVersion: instancetype.kubevirt.io/v1alpha1 | ||
kind: VirtualMachinePreference | ||
metadata: | ||
name: metadata | ||
annotations: | ||
tags: "hidden,kubevirt,alpine" | ||
iconClass: "icon-alpine" | ||
openshift.io/display-name: "Alpine" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,10 @@ | ||
--- | ||
apiVersion: kustomize.config.k8s.io/v1beta1 | ||
kind: Kustomization | ||
|
||
resources: | ||
- ./VirtualMachineClusterPreference.yaml | ||
- ./VirtualMachinePreference.yaml | ||
|
||
components: | ||
- ./metadata |
10 changes: 10 additions & 0 deletions
10
common-instancetypes/preferences/base/metadata/kustomization.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
--- | ||
apiVersion: kustomize.config.k8s.io/v1alpha1 | ||
kind: Component | ||
patches: | ||
- path: ./metadata.yaml | ||
target: | ||
kind: VirtualMachinePreference | ||
- path: ./metadata.yaml | ||
target: | ||
kind: VirtualMachineClusterPreference |
11 changes: 11 additions & 0 deletions
11
common-instancetypes/preferences/base/metadata/metadata.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
--- | ||
apiVersion: instancetype.kubevirt.io/v1alpha1 | ||
kind: VirtualMachinePreference | ||
metadata: | ||
name: metadata | ||
annotations: | ||
openshift.io/provider-display-name: "KubeVirt" | ||
openshift.io/documentation-url: "https://github.com/kubevirt/common-instancetypes" | ||
openshift.io/support-url: "https://github.com/kubevirt/common-instancetypes/issues" | ||
labels: | ||
instancetype.kubevirt.io/os-type: "linux" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 10 additions & 0 deletions
10
common-instancetypes/preferences/centos/7/metadata/kustomization.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
--- | ||
apiVersion: kustomize.config.k8s.io/v1alpha1 | ||
kind: Component | ||
patches: | ||
- path: ./metadata.yaml | ||
target: | ||
kind: VirtualMachinePreference | ||
- path: ./metadata.yaml | ||
target: | ||
kind: VirtualMachineClusterPreference |
7 changes: 7 additions & 0 deletions
7
common-instancetypes/preferences/centos/7/metadata/metadata.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
--- | ||
apiVersion: instancetype.kubevirt.io/v1alpha1 | ||
kind: VirtualMachinePreference | ||
metadata: | ||
name: metadata | ||
annotations: | ||
openshift.io/display-name: "CentOS 7" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,4 +5,7 @@ kind: Kustomization | |
resources: | ||
- ../base | ||
|
||
components: | ||
- ./metadata | ||
|
||
nameSuffix: ".8.stream" |
10 changes: 10 additions & 0 deletions
10
common-instancetypes/preferences/centos/8_stream/metadata/kustomization.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
--- | ||
apiVersion: kustomize.config.k8s.io/v1alpha1 | ||
kind: Component | ||
patches: | ||
- path: ./metadata.yaml | ||
target: | ||
kind: VirtualMachinePreference | ||
- path: ./metadata.yaml | ||
target: | ||
kind: VirtualMachineClusterPreference |
7 changes: 7 additions & 0 deletions
7
common-instancetypes/preferences/centos/8_stream/metadata/metadata.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
--- | ||
apiVersion: instancetype.kubevirt.io/v1alpha1 | ||
kind: VirtualMachinePreference | ||
metadata: | ||
name: metadata | ||
annotations: | ||
openshift.io/display-name: "CentOS Stream 8" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 10 additions & 0 deletions
10
common-instancetypes/preferences/centos/9_stream/metadata/kustomization.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
--- | ||
apiVersion: kustomize.config.k8s.io/v1alpha1 | ||
kind: Component | ||
patches: | ||
- path: ./metadata.yaml | ||
target: | ||
kind: VirtualMachinePreference | ||
- path: ./metadata.yaml | ||
target: | ||
kind: VirtualMachineClusterPreference |
7 changes: 7 additions & 0 deletions
7
common-instancetypes/preferences/centos/9_stream/metadata/metadata.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
--- | ||
apiVersion: instancetype.kubevirt.io/v1alpha1 | ||
kind: VirtualMachinePreference | ||
metadata: | ||
name: metadata | ||
annotations: | ||
openshift.io/display-name: "CentOS Stream 9" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 10 additions & 0 deletions
10
common-instancetypes/preferences/centos/base/metadata/kustomization.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
--- | ||
apiVersion: kustomize.config.k8s.io/v1alpha1 | ||
kind: Component | ||
patches: | ||
- path: ./metadata.yaml | ||
target: | ||
kind: VirtualMachinePreference | ||
- path: ./metadata.yaml | ||
target: | ||
kind: VirtualMachineClusterPreference |
8 changes: 8 additions & 0 deletions
8
common-instancetypes/preferences/centos/base/metadata/metadata.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
--- | ||
apiVersion: instancetype.kubevirt.io/v1alpha1 | ||
kind: VirtualMachinePreference | ||
metadata: | ||
name: metadata | ||
annotations: | ||
tags: "hidden,kubevirt,linux,centos-stream" | ||
iconClass: "icon-centos" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 10 additions & 0 deletions
10
common-instancetypes/preferences/cirros/metadata/kustomization.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
--- | ||
apiVersion: kustomize.config.k8s.io/v1alpha1 | ||
kind: Component | ||
patches: | ||
- path: ./metadata.yaml | ||
target: | ||
kind: VirtualMachinePreference | ||
- path: ./metadata.yaml | ||
target: | ||
kind: VirtualMachineClusterPreference |
9 changes: 9 additions & 0 deletions
9
common-instancetypes/preferences/cirros/metadata/metadata.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
--- | ||
apiVersion: instancetype.kubevirt.io/v1alpha1 | ||
kind: VirtualMachinePreference | ||
metadata: | ||
name: metadata | ||
annotations: | ||
tags: "hidden,kubevirt,cirros" | ||
iconClass: "icon-cirros" | ||
openshift.io/display-name: "Cirros" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 10 additions & 0 deletions
10
common-instancetypes/preferences/fedora/metadata/kustomization.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
--- | ||
apiVersion: kustomize.config.k8s.io/v1alpha1 | ||
kind: Component | ||
patches: | ||
- path: ./metadata.yaml | ||
target: | ||
kind: VirtualMachinePreference | ||
- path: ./metadata.yaml | ||
target: | ||
kind: VirtualMachineClusterPreference |
9 changes: 9 additions & 0 deletions
9
common-instancetypes/preferences/fedora/metadata/metadata.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
--- | ||
apiVersion: instancetype.kubevirt.io/v1alpha1 | ||
kind: VirtualMachinePreference | ||
metadata: | ||
name: metadata | ||
annotations: | ||
tags: "hidden,kubevirt,fedora" | ||
iconClass: "icon-fedora" | ||
openshift.io/display-name: "Fedora" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,4 +5,7 @@ kind: Kustomization | |
resources: | ||
- ../base | ||
|
||
components: | ||
- ./metadata | ||
|
||
nameSuffix: ".7" |
10 changes: 10 additions & 0 deletions
10
common-instancetypes/preferences/rhel/7/metadata/kustomization.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
--- | ||
apiVersion: kustomize.config.k8s.io/v1alpha1 | ||
kind: Component | ||
patches: | ||
- path: ./metadata.yaml | ||
target: | ||
kind: VirtualMachinePreference | ||
- path: ./metadata.yaml | ||
target: | ||
kind: VirtualMachineClusterPreference |
7 changes: 7 additions & 0 deletions
7
common-instancetypes/preferences/rhel/7/metadata/metadata.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
--- | ||
apiVersion: instancetype.kubevirt.io/v1alpha1 | ||
kind: VirtualMachinePreference | ||
metadata: | ||
name: metadata | ||
annotations: | ||
openshift.io/display-name: "Red Hat Enterprise Linux 7" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,4 +5,7 @@ kind: Kustomization | |
resources: | ||
- ../base | ||
|
||
components: | ||
- ./metadata | ||
|
||
nameSuffix: ".8" |
10 changes: 10 additions & 0 deletions
10
common-instancetypes/preferences/rhel/8/metadata/kustomization.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
--- | ||
apiVersion: kustomize.config.k8s.io/v1alpha1 | ||
kind: Component | ||
patches: | ||
- path: ./metadata.yaml | ||
target: | ||
kind: VirtualMachinePreference | ||
- path: ./metadata.yaml | ||
target: | ||
kind: VirtualMachineClusterPreference |
7 changes: 7 additions & 0 deletions
7
common-instancetypes/preferences/rhel/8/metadata/metadata.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
--- | ||
apiVersion: instancetype.kubevirt.io/v1alpha1 | ||
kind: VirtualMachinePreference | ||
metadata: | ||
name: metadata | ||
annotations: | ||
openshift.io/display-name: "Red Hat Enterprise Linux 8" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 10 additions & 0 deletions
10
common-instancetypes/preferences/rhel/9/metadata/kustomization.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
--- | ||
apiVersion: kustomize.config.k8s.io/v1alpha1 | ||
kind: Component | ||
patches: | ||
- path: ./metadata.yaml | ||
target: | ||
kind: VirtualMachinePreference | ||
- path: ./metadata.yaml | ||
target: | ||
kind: VirtualMachineClusterPreference |
7 changes: 7 additions & 0 deletions
7
common-instancetypes/preferences/rhel/9/metadata/metadata.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
--- | ||
apiVersion: instancetype.kubevirt.io/v1alpha1 | ||
kind: VirtualMachinePreference | ||
metadata: | ||
name: metadata | ||
annotations: | ||
openshift.io/display-name: "Red Hat Enterprise Linux 9" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 10 additions & 0 deletions
10
common-instancetypes/preferences/rhel/base/metadata/kustomization.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
--- | ||
apiVersion: kustomize.config.k8s.io/v1alpha1 | ||
kind: Component | ||
patches: | ||
- path: ./metadata.yaml | ||
target: | ||
kind: VirtualMachinePreference | ||
- path: ./metadata.yaml | ||
target: | ||
kind: VirtualMachineClusterPreference |
8 changes: 8 additions & 0 deletions
8
common-instancetypes/preferences/rhel/base/metadata/metadata.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
--- | ||
apiVersion: instancetype.kubevirt.io/v1alpha1 | ||
kind: VirtualMachinePreference | ||
metadata: | ||
name: metadata | ||
annotations: | ||
tags: "hidden,kubevirt,linux,rhel" | ||
iconClass: "icon-rhel" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 10 additions & 0 deletions
10
common-instancetypes/preferences/ubuntu/metadata/kustomization.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
--- | ||
apiVersion: kustomize.config.k8s.io/v1alpha1 | ||
kind: Component | ||
patches: | ||
- path: ./metadata.yaml | ||
target: | ||
kind: VirtualMachinePreference | ||
- path: ./metadata.yaml | ||
target: | ||
kind: VirtualMachineClusterPreference |
9 changes: 9 additions & 0 deletions
9
common-instancetypes/preferences/ubuntu/metadata/metadata.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
--- | ||
apiVersion: instancetype.kubevirt.io/v1alpha1 | ||
kind: VirtualMachinePreference | ||
metadata: | ||
name: metadata | ||
annotations: | ||
tags: "hidden,kubevirt,ubuntu" | ||
iconClass: "icon-ubuntu" | ||
openshift.io/display-name: "Ubuntu" |
5 changes: 5 additions & 0 deletions
5
common-instancetypes/preferences/windows/10/kustomization.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,11 @@ | ||
--- | ||
apiVersion: kustomize.config.k8s.io/v1beta1 | ||
kind: Kustomization | ||
|
||
resources: | ||
- ../base | ||
|
||
components: | ||
- ./metadata | ||
|
||
nameSuffix: ".10" |
10 changes: 10 additions & 0 deletions
10
common-instancetypes/preferences/windows/10/metadata/kustomization.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
--- | ||
apiVersion: kustomize.config.k8s.io/v1alpha1 | ||
kind: Component | ||
patches: | ||
- path: ./metadata.yaml | ||
target: | ||
kind: VirtualMachinePreference | ||
- path: ./metadata.yaml | ||
target: | ||
kind: VirtualMachineClusterPreference |
7 changes: 7 additions & 0 deletions
7
common-instancetypes/preferences/windows/10/metadata/metadata.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
--- | ||
apiVersion: instancetype.kubevirt.io/v1alpha1 | ||
kind: VirtualMachinePreference | ||
metadata: | ||
name: metadata | ||
annotations: | ||
openshift.io/display-name: "Microsoft Windows 10" |
Oops, something went wrong.