Compare commits

..

No commits in common. "main" and "main" have entirely different histories.
main ... main

13 changed files with 204 additions and 186 deletions

View File

@ -1,9 +1,9 @@
#!BuildTag: %%IMG_PREFIX%%kubevirt-chart:%%CHART_MAJOR%%.0.0_up0.5.0-%RELEASE% #!BuildTag: %%IMG_PREFIX%%kubevirt-chart:%%CHART_MAJOR%%.0.0_up0.4.0-%RELEASE%
#!BuildTag: %%IMG_PREFIX%%kubevirt-chart:%%CHART_MAJOR%%.0.0_up0.5.0 #!BuildTag: %%IMG_PREFIX%%kubevirt-chart:%%CHART_MAJOR%%.0.0_up0.4.0
apiVersion: v2 apiVersion: v2
appVersion: 1.4.0 appVersion: 1.3.1
description: A Helm chart for KubeVirt description: A Helm chart for KubeVirt
icon: https://raw.githubusercontent.com/cncf/artwork/main/projects/kubevirt/icon/color/kubevirt-icon-color.svg icon: https://raw.githubusercontent.com/cncf/artwork/main/projects/kubevirt/icon/color/kubevirt-icon-color.svg
name: kubevirt name: kubevirt
type: application type: application
version: "%%CHART_MAJOR%%.0.0+up0.5.0" version: "%%CHART_MAJOR%%.0.0+up0.4.0"

View File

@ -231,17 +231,6 @@ spec:
type: object type: object
type: object type: object
x-kubernetes-map-type: atomic x-kubernetes-map-type: atomic
commonInstancetypesDeployment:
description: CommonInstancetypesDeployment controls the deployment
of common-instancetypes resources
nullable: true
properties:
enabled:
description: Enabled controls the deployment of common-instancetypes
resources, defaults to True.
nullable: true
type: boolean
type: object
controllerConfiguration: controllerConfiguration:
description: |- description: |-
ReloadableComponentConfiguration holds all generic k8s configuration options which can ReloadableComponentConfiguration holds all generic k8s configuration options which can
@ -423,23 +412,6 @@ spec:
description: PullPolicy describes a policy for if/when to pull description: PullPolicy describes a policy for if/when to pull
a container image a container image
type: string type: string
instancetype:
description: Instancetype configuration
nullable: true
properties:
referencePolicy:
description: |-
ReferencePolicy defines how an instance type or preference should be referenced by the VM after submission, supported values are:
reference (default) - Where a copy of the original object is stashed in a ControllerRevision and referenced by the VM.
expand - Where the instance type or preference are expanded into the VM if no revisionNames have been populated.
expandAll - Where the instance type or preference are expanded into the VM regardless of revisionNames previously being populated.
enum:
- reference
- expand
- expandAll
nullable: true
type: string
type: object
ksmConfiguration: ksmConfiguration:
description: KSMConfiguration holds the information regarding description: KSMConfiguration holds the information regarding
the enabling the KSM in the nodes (if available). the enabling the KSM in the nodes (if available).
@ -498,9 +470,8 @@ spec:
features features
properties: properties:
maxCpuSockets: maxCpuSockets:
description: |- description: MaxCpuSockets holds the maximum amount of sockets
MaxCpuSockets provides a MaxSockets value for VMs that do not provide their own. that can be hotplugged
For VMs with more sockets than maximum the MaxSockets will be set to equal number of sockets.
format: int32 format: int32
type: integer type: integer
maxGuest: maxGuest:
@ -606,7 +577,7 @@ spec:
description: |- description: |-
CompletionTimeoutPerGiB is the maximum number of seconds per GiB a migration is allowed to take. CompletionTimeoutPerGiB is the maximum number of seconds per GiB a migration is allowed to take.
If a live-migration takes longer to migrate than this value multiplied by the size of the VMI, If a live-migration takes longer to migrate than this value multiplied by the size of the VMI,
the migration will be cancelled, unless AllowPostCopy is true. Defaults to 150 the migration will be cancelled, unless AllowPostCopy is true. Defaults to 800
format: int64 format: int64
type: integer type: integer
disableTLS: disableTLS:
@ -669,6 +640,34 @@ spec:
ComputeResourceOverhead specifies the resource overhead that should be added to the compute container when using the binding. ComputeResourceOverhead specifies the resource overhead that should be added to the compute container when using the binding.
version: v1alphav1 version: v1alphav1
properties: properties:
claims:
description: |-
Claims lists the names of resources, defined in spec.resourceClaims,
that are used by this container.
This is an alpha field and requires enabling the
DynamicResourceAllocation feature gate.
This field is immutable. It can only be set for containers.
items:
description: ResourceClaim references one entry
in PodSpec.ResourceClaims.
properties:
name:
description: |-
Name must match the name of one entry in pod.spec.resourceClaims of
the Pod where this field is used. It makes that resource available
inside a container.
type: string
required:
- name
type: object
type: array
x-kubernetes-list-map-keys:
- name
x-kubernetes-list-type: map
limits: limits:
additionalProperties: additionalProperties:
anyOf: anyOf:
@ -697,7 +696,7 @@ spec:
domainAttachmentType: domainAttachmentType:
description: |- description: |-
DomainAttachmentType is a standard domain network attachment method kubevirt supports. DomainAttachmentType is a standard domain network attachment method kubevirt supports.
Supported values: "tap", "managedTap" (since v1.4). Supported values: "tap".
The standard domain attachment can be used instead or in addition to the sidecarImage. The standard domain attachment can be used instead or in addition to the sidecarImage.
version: 1alphav1 version: 1alphav1
type: string type: string
@ -875,10 +874,37 @@ spec:
usually idle and don't require a lot of memory or cpu. usually idle and don't require a lot of memory or cpu.
properties: properties:
resources: resources:
description: |- description: ResourceRequirements describes the compute
ResourceRequirementsWithoutClaims describes the compute resource requirements. resource requirements.
This struct was taken from the k8s.ResourceRequirements and cleaned up the 'Claims' field.
properties: properties:
claims:
description: |-
Claims lists the names of resources, defined in spec.resourceClaims,
that are used by this container.
This is an alpha field and requires enabling the
DynamicResourceAllocation feature gate.
This field is immutable. It can only be set for containers.
items:
description: ResourceClaim references one entry in
PodSpec.ResourceClaims.
properties:
name:
description: |-
Name must match the name of one entry in pod.spec.resourceClaims of
the Pod where this field is used. It makes that resource available
inside a container.
type: string
required:
- name
type: object
type: array
x-kubernetes-list-map-keys:
- name
x-kubernetes-list-type: map
limits: limits:
additionalProperties: additionalProperties:
anyOf: anyOf:
@ -932,8 +958,10 @@ spec:
MinTLSVersion is a way to specify the minimum protocol version that is acceptable for TLS connections. MinTLSVersion is a way to specify the minimum protocol version that is acceptable for TLS connections.
Protocol versions are based on the following most common TLS configurations: Protocol versions are based on the following most common TLS configurations:
https://ssl-config.mozilla.org/ https://ssl-config.mozilla.org/
Note that SSLv3.0 is not a supported protocol version due to well known Note that SSLv3.0 is not a supported protocol version due to well known
vulnerabilities such as POODLE: https://en.wikipedia.org/wiki/POODLE vulnerabilities such as POODLE: https://en.wikipedia.org/wiki/POODLE
enum: enum:
@ -1063,13 +1091,10 @@ spec:
referenced object inside the same namespace. referenced object inside the same namespace.
properties: properties:
name: name:
default: ""
description: |- description: |-
Name of the referent. Name of the referent.
This field is effectively required, but due to backwards compatibility is
allowed to be empty. Instances of this type with an empty value here are
almost certainly wrong.
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
TODO: Add other useful fields. apiVersion, kind, uid?
type: string type: string
type: object type: object
x-kubernetes-map-type: atomic x-kubernetes-map-type: atomic
@ -1386,7 +1411,7 @@ spec:
pod labels will be ignored. The default value is empty. pod labels will be ignored. The default value is empty.
The same key is forbidden to exist in both matchLabelKeys and labelSelector. The same key is forbidden to exist in both matchLabelKeys and labelSelector.
Also, matchLabelKeys cannot be set when labelSelector isn't set. Also, matchLabelKeys cannot be set when labelSelector isn't set.
This is a beta field and requires enabling MatchLabelKeysInPodAffinity feature gate (enabled by default). This is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate.
items: items:
type: string type: string
type: array type: array
@ -1401,7 +1426,7 @@ spec:
pod labels will be ignored. The default value is empty. pod labels will be ignored. The default value is empty.
The same key is forbidden to exist in both mismatchLabelKeys and labelSelector. The same key is forbidden to exist in both mismatchLabelKeys and labelSelector.
Also, mismatchLabelKeys cannot be set when labelSelector isn't set. Also, mismatchLabelKeys cannot be set when labelSelector isn't set.
This is a beta field and requires enabling MatchLabelKeysInPodAffinity feature gate (enabled by default). This is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate.
items: items:
type: string type: string
type: array type: array
@ -1569,7 +1594,7 @@ spec:
pod labels will be ignored. The default value is empty. pod labels will be ignored. The default value is empty.
The same key is forbidden to exist in both matchLabelKeys and labelSelector. The same key is forbidden to exist in both matchLabelKeys and labelSelector.
Also, matchLabelKeys cannot be set when labelSelector isn't set. Also, matchLabelKeys cannot be set when labelSelector isn't set.
This is a beta field and requires enabling MatchLabelKeysInPodAffinity feature gate (enabled by default). This is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate.
items: items:
type: string type: string
type: array type: array
@ -1584,7 +1609,7 @@ spec:
pod labels will be ignored. The default value is empty. pod labels will be ignored. The default value is empty.
The same key is forbidden to exist in both mismatchLabelKeys and labelSelector. The same key is forbidden to exist in both mismatchLabelKeys and labelSelector.
Also, mismatchLabelKeys cannot be set when labelSelector isn't set. Also, mismatchLabelKeys cannot be set when labelSelector isn't set.
This is a beta field and requires enabling MatchLabelKeysInPodAffinity feature gate (enabled by default). This is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate.
items: items:
type: string type: string
type: array type: array
@ -1750,7 +1775,7 @@ spec:
pod labels will be ignored. The default value is empty. pod labels will be ignored. The default value is empty.
The same key is forbidden to exist in both matchLabelKeys and labelSelector. The same key is forbidden to exist in both matchLabelKeys and labelSelector.
Also, matchLabelKeys cannot be set when labelSelector isn't set. Also, matchLabelKeys cannot be set when labelSelector isn't set.
This is a beta field and requires enabling MatchLabelKeysInPodAffinity feature gate (enabled by default). This is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate.
items: items:
type: string type: string
type: array type: array
@ -1765,7 +1790,7 @@ spec:
pod labels will be ignored. The default value is empty. pod labels will be ignored. The default value is empty.
The same key is forbidden to exist in both mismatchLabelKeys and labelSelector. The same key is forbidden to exist in both mismatchLabelKeys and labelSelector.
Also, mismatchLabelKeys cannot be set when labelSelector isn't set. Also, mismatchLabelKeys cannot be set when labelSelector isn't set.
This is a beta field and requires enabling MatchLabelKeysInPodAffinity feature gate (enabled by default). This is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate.
items: items:
type: string type: string
type: array type: array
@ -1933,7 +1958,7 @@ spec:
pod labels will be ignored. The default value is empty. pod labels will be ignored. The default value is empty.
The same key is forbidden to exist in both matchLabelKeys and labelSelector. The same key is forbidden to exist in both matchLabelKeys and labelSelector.
Also, matchLabelKeys cannot be set when labelSelector isn't set. Also, matchLabelKeys cannot be set when labelSelector isn't set.
This is a beta field and requires enabling MatchLabelKeysInPodAffinity feature gate (enabled by default). This is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate.
items: items:
type: string type: string
type: array type: array
@ -1948,7 +1973,7 @@ spec:
pod labels will be ignored. The default value is empty. pod labels will be ignored. The default value is empty.
The same key is forbidden to exist in both mismatchLabelKeys and labelSelector. The same key is forbidden to exist in both mismatchLabelKeys and labelSelector.
Also, mismatchLabelKeys cannot be set when labelSelector isn't set. Also, mismatchLabelKeys cannot be set when labelSelector isn't set.
This is a beta field and requires enabling MatchLabelKeysInPodAffinity feature gate (enabled by default). This is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate.
items: items:
type: string type: string
type: array type: array
@ -2139,6 +2164,7 @@ spec:
BatchEvictionInterval Represents the interval to wait before issuing the next BatchEvictionInterval Represents the interval to wait before issuing the next
batch of shutdowns batch of shutdowns
Defaults to 1 minute Defaults to 1 minute
type: string type: string
batchEvictionSize: batchEvictionSize:
@ -2146,6 +2172,7 @@ spec:
BatchEvictionSize Represents the number of VMIs that can be forced updated per BatchEvictionSize Represents the number of VMIs that can be forced updated per
the BatchShutdownInteral interval the BatchShutdownInteral interval
Defaults to 10 Defaults to 10
type: integer type: integer
workloadUpdateMethods: workloadUpdateMethods:
@ -2156,6 +2183,7 @@ spec:
precedence over more disruptive methods. For example if both LiveMigrate and Shutdown precedence over more disruptive methods. For example if both LiveMigrate and Shutdown
methods are listed, only VMs which are not live migratable will be restarted/shutdown methods are listed, only VMs which are not live migratable will be restarted/shutdown
An empty list defaults to no automated workload updating An empty list defaults to no automated workload updating
items: items:
type: string type: string
@ -2463,7 +2491,7 @@ spec:
pod labels will be ignored. The default value is empty. pod labels will be ignored. The default value is empty.
The same key is forbidden to exist in both matchLabelKeys and labelSelector. The same key is forbidden to exist in both matchLabelKeys and labelSelector.
Also, matchLabelKeys cannot be set when labelSelector isn't set. Also, matchLabelKeys cannot be set when labelSelector isn't set.
This is a beta field and requires enabling MatchLabelKeysInPodAffinity feature gate (enabled by default). This is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate.
items: items:
type: string type: string
type: array type: array
@ -2478,7 +2506,7 @@ spec:
pod labels will be ignored. The default value is empty. pod labels will be ignored. The default value is empty.
The same key is forbidden to exist in both mismatchLabelKeys and labelSelector. The same key is forbidden to exist in both mismatchLabelKeys and labelSelector.
Also, mismatchLabelKeys cannot be set when labelSelector isn't set. Also, mismatchLabelKeys cannot be set when labelSelector isn't set.
This is a beta field and requires enabling MatchLabelKeysInPodAffinity feature gate (enabled by default). This is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate.
items: items:
type: string type: string
type: array type: array
@ -2646,7 +2674,7 @@ spec:
pod labels will be ignored. The default value is empty. pod labels will be ignored. The default value is empty.
The same key is forbidden to exist in both matchLabelKeys and labelSelector. The same key is forbidden to exist in both matchLabelKeys and labelSelector.
Also, matchLabelKeys cannot be set when labelSelector isn't set. Also, matchLabelKeys cannot be set when labelSelector isn't set.
This is a beta field and requires enabling MatchLabelKeysInPodAffinity feature gate (enabled by default). This is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate.
items: items:
type: string type: string
type: array type: array
@ -2661,7 +2689,7 @@ spec:
pod labels will be ignored. The default value is empty. pod labels will be ignored. The default value is empty.
The same key is forbidden to exist in both mismatchLabelKeys and labelSelector. The same key is forbidden to exist in both mismatchLabelKeys and labelSelector.
Also, mismatchLabelKeys cannot be set when labelSelector isn't set. Also, mismatchLabelKeys cannot be set when labelSelector isn't set.
This is a beta field and requires enabling MatchLabelKeysInPodAffinity feature gate (enabled by default). This is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate.
items: items:
type: string type: string
type: array type: array
@ -2827,7 +2855,7 @@ spec:
pod labels will be ignored. The default value is empty. pod labels will be ignored. The default value is empty.
The same key is forbidden to exist in both matchLabelKeys and labelSelector. The same key is forbidden to exist in both matchLabelKeys and labelSelector.
Also, matchLabelKeys cannot be set when labelSelector isn't set. Also, matchLabelKeys cannot be set when labelSelector isn't set.
This is a beta field and requires enabling MatchLabelKeysInPodAffinity feature gate (enabled by default). This is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate.
items: items:
type: string type: string
type: array type: array
@ -2842,7 +2870,7 @@ spec:
pod labels will be ignored. The default value is empty. pod labels will be ignored. The default value is empty.
The same key is forbidden to exist in both mismatchLabelKeys and labelSelector. The same key is forbidden to exist in both mismatchLabelKeys and labelSelector.
Also, mismatchLabelKeys cannot be set when labelSelector isn't set. Also, mismatchLabelKeys cannot be set when labelSelector isn't set.
This is a beta field and requires enabling MatchLabelKeysInPodAffinity feature gate (enabled by default). This is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate.
items: items:
type: string type: string
type: array type: array
@ -3010,7 +3038,7 @@ spec:
pod labels will be ignored. The default value is empty. pod labels will be ignored. The default value is empty.
The same key is forbidden to exist in both matchLabelKeys and labelSelector. The same key is forbidden to exist in both matchLabelKeys and labelSelector.
Also, matchLabelKeys cannot be set when labelSelector isn't set. Also, matchLabelKeys cannot be set when labelSelector isn't set.
This is a beta field and requires enabling MatchLabelKeysInPodAffinity feature gate (enabled by default). This is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate.
items: items:
type: string type: string
type: array type: array
@ -3025,7 +3053,7 @@ spec:
pod labels will be ignored. The default value is empty. pod labels will be ignored. The default value is empty.
The same key is forbidden to exist in both mismatchLabelKeys and labelSelector. The same key is forbidden to exist in both mismatchLabelKeys and labelSelector.
Also, mismatchLabelKeys cannot be set when labelSelector isn't set. Also, mismatchLabelKeys cannot be set when labelSelector isn't set.
This is a beta field and requires enabling MatchLabelKeysInPodAffinity feature gate (enabled by default). This is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate.
items: items:
type: string type: string
type: array type: array
@ -3488,17 +3516,6 @@ spec:
type: object type: object
type: object type: object
x-kubernetes-map-type: atomic x-kubernetes-map-type: atomic
commonInstancetypesDeployment:
description: CommonInstancetypesDeployment controls the deployment
of common-instancetypes resources
nullable: true
properties:
enabled:
description: Enabled controls the deployment of common-instancetypes
resources, defaults to True.
nullable: true
type: boolean
type: object
controllerConfiguration: controllerConfiguration:
description: |- description: |-
ReloadableComponentConfiguration holds all generic k8s configuration options which can ReloadableComponentConfiguration holds all generic k8s configuration options which can
@ -3680,23 +3697,6 @@ spec:
description: PullPolicy describes a policy for if/when to pull description: PullPolicy describes a policy for if/when to pull
a container image a container image
type: string type: string
instancetype:
description: Instancetype configuration
nullable: true
properties:
referencePolicy:
description: |-
ReferencePolicy defines how an instance type or preference should be referenced by the VM after submission, supported values are:
reference (default) - Where a copy of the original object is stashed in a ControllerRevision and referenced by the VM.
expand - Where the instance type or preference are expanded into the VM if no revisionNames have been populated.
expandAll - Where the instance type or preference are expanded into the VM regardless of revisionNames previously being populated.
enum:
- reference
- expand
- expandAll
nullable: true
type: string
type: object
ksmConfiguration: ksmConfiguration:
description: KSMConfiguration holds the information regarding description: KSMConfiguration holds the information regarding
the enabling the KSM in the nodes (if available). the enabling the KSM in the nodes (if available).
@ -3755,9 +3755,8 @@ spec:
features features
properties: properties:
maxCpuSockets: maxCpuSockets:
description: |- description: MaxCpuSockets holds the maximum amount of sockets
MaxCpuSockets provides a MaxSockets value for VMs that do not provide their own. that can be hotplugged
For VMs with more sockets than maximum the MaxSockets will be set to equal number of sockets.
format: int32 format: int32
type: integer type: integer
maxGuest: maxGuest:
@ -3863,7 +3862,7 @@ spec:
description: |- description: |-
CompletionTimeoutPerGiB is the maximum number of seconds per GiB a migration is allowed to take. CompletionTimeoutPerGiB is the maximum number of seconds per GiB a migration is allowed to take.
If a live-migration takes longer to migrate than this value multiplied by the size of the VMI, If a live-migration takes longer to migrate than this value multiplied by the size of the VMI,
the migration will be cancelled, unless AllowPostCopy is true. Defaults to 150 the migration will be cancelled, unless AllowPostCopy is true. Defaults to 800
format: int64 format: int64
type: integer type: integer
disableTLS: disableTLS:
@ -3926,6 +3925,34 @@ spec:
ComputeResourceOverhead specifies the resource overhead that should be added to the compute container when using the binding. ComputeResourceOverhead specifies the resource overhead that should be added to the compute container when using the binding.
version: v1alphav1 version: v1alphav1
properties: properties:
claims:
description: |-
Claims lists the names of resources, defined in spec.resourceClaims,
that are used by this container.
This is an alpha field and requires enabling the
DynamicResourceAllocation feature gate.
This field is immutable. It can only be set for containers.
items:
description: ResourceClaim references one entry
in PodSpec.ResourceClaims.
properties:
name:
description: |-
Name must match the name of one entry in pod.spec.resourceClaims of
the Pod where this field is used. It makes that resource available
inside a container.
type: string
required:
- name
type: object
type: array
x-kubernetes-list-map-keys:
- name
x-kubernetes-list-type: map
limits: limits:
additionalProperties: additionalProperties:
anyOf: anyOf:
@ -3954,7 +3981,7 @@ spec:
domainAttachmentType: domainAttachmentType:
description: |- description: |-
DomainAttachmentType is a standard domain network attachment method kubevirt supports. DomainAttachmentType is a standard domain network attachment method kubevirt supports.
Supported values: "tap", "managedTap" (since v1.4). Supported values: "tap".
The standard domain attachment can be used instead or in addition to the sidecarImage. The standard domain attachment can be used instead or in addition to the sidecarImage.
version: 1alphav1 version: 1alphav1
type: string type: string
@ -4132,10 +4159,37 @@ spec:
usually idle and don't require a lot of memory or cpu. usually idle and don't require a lot of memory or cpu.
properties: properties:
resources: resources:
description: |- description: ResourceRequirements describes the compute
ResourceRequirementsWithoutClaims describes the compute resource requirements. resource requirements.
This struct was taken from the k8s.ResourceRequirements and cleaned up the 'Claims' field.
properties: properties:
claims:
description: |-
Claims lists the names of resources, defined in spec.resourceClaims,
that are used by this container.
This is an alpha field and requires enabling the
DynamicResourceAllocation feature gate.
This field is immutable. It can only be set for containers.
items:
description: ResourceClaim references one entry in
PodSpec.ResourceClaims.
properties:
name:
description: |-
Name must match the name of one entry in pod.spec.resourceClaims of
the Pod where this field is used. It makes that resource available
inside a container.
type: string
required:
- name
type: object
type: array
x-kubernetes-list-map-keys:
- name
x-kubernetes-list-type: map
limits: limits:
additionalProperties: additionalProperties:
anyOf: anyOf:
@ -4189,8 +4243,10 @@ spec:
MinTLSVersion is a way to specify the minimum protocol version that is acceptable for TLS connections. MinTLSVersion is a way to specify the minimum protocol version that is acceptable for TLS connections.
Protocol versions are based on the following most common TLS configurations: Protocol versions are based on the following most common TLS configurations:
https://ssl-config.mozilla.org/ https://ssl-config.mozilla.org/
Note that SSLv3.0 is not a supported protocol version due to well known Note that SSLv3.0 is not a supported protocol version due to well known
vulnerabilities such as POODLE: https://en.wikipedia.org/wiki/POODLE vulnerabilities such as POODLE: https://en.wikipedia.org/wiki/POODLE
enum: enum:
@ -4320,13 +4376,10 @@ spec:
referenced object inside the same namespace. referenced object inside the same namespace.
properties: properties:
name: name:
default: ""
description: |- description: |-
Name of the referent. Name of the referent.
This field is effectively required, but due to backwards compatibility is
allowed to be empty. Instances of this type with an empty value here are
almost certainly wrong.
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
TODO: Add other useful fields. apiVersion, kind, uid?
type: string type: string
type: object type: object
x-kubernetes-map-type: atomic x-kubernetes-map-type: atomic
@ -4643,7 +4696,7 @@ spec:
pod labels will be ignored. The default value is empty. pod labels will be ignored. The default value is empty.
The same key is forbidden to exist in both matchLabelKeys and labelSelector. The same key is forbidden to exist in both matchLabelKeys and labelSelector.
Also, matchLabelKeys cannot be set when labelSelector isn't set. Also, matchLabelKeys cannot be set when labelSelector isn't set.
This is a beta field and requires enabling MatchLabelKeysInPodAffinity feature gate (enabled by default). This is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate.
items: items:
type: string type: string
type: array type: array
@ -4658,7 +4711,7 @@ spec:
pod labels will be ignored. The default value is empty. pod labels will be ignored. The default value is empty.
The same key is forbidden to exist in both mismatchLabelKeys and labelSelector. The same key is forbidden to exist in both mismatchLabelKeys and labelSelector.
Also, mismatchLabelKeys cannot be set when labelSelector isn't set. Also, mismatchLabelKeys cannot be set when labelSelector isn't set.
This is a beta field and requires enabling MatchLabelKeysInPodAffinity feature gate (enabled by default). This is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate.
items: items:
type: string type: string
type: array type: array
@ -4826,7 +4879,7 @@ spec:
pod labels will be ignored. The default value is empty. pod labels will be ignored. The default value is empty.
The same key is forbidden to exist in both matchLabelKeys and labelSelector. The same key is forbidden to exist in both matchLabelKeys and labelSelector.
Also, matchLabelKeys cannot be set when labelSelector isn't set. Also, matchLabelKeys cannot be set when labelSelector isn't set.
This is a beta field and requires enabling MatchLabelKeysInPodAffinity feature gate (enabled by default). This is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate.
items: items:
type: string type: string
type: array type: array
@ -4841,7 +4894,7 @@ spec:
pod labels will be ignored. The default value is empty. pod labels will be ignored. The default value is empty.
The same key is forbidden to exist in both mismatchLabelKeys and labelSelector. The same key is forbidden to exist in both mismatchLabelKeys and labelSelector.
Also, mismatchLabelKeys cannot be set when labelSelector isn't set. Also, mismatchLabelKeys cannot be set when labelSelector isn't set.
This is a beta field and requires enabling MatchLabelKeysInPodAffinity feature gate (enabled by default). This is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate.
items: items:
type: string type: string
type: array type: array
@ -5007,7 +5060,7 @@ spec:
pod labels will be ignored. The default value is empty. pod labels will be ignored. The default value is empty.
The same key is forbidden to exist in both matchLabelKeys and labelSelector. The same key is forbidden to exist in both matchLabelKeys and labelSelector.
Also, matchLabelKeys cannot be set when labelSelector isn't set. Also, matchLabelKeys cannot be set when labelSelector isn't set.
This is a beta field and requires enabling MatchLabelKeysInPodAffinity feature gate (enabled by default). This is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate.
items: items:
type: string type: string
type: array type: array
@ -5022,7 +5075,7 @@ spec:
pod labels will be ignored. The default value is empty. pod labels will be ignored. The default value is empty.
The same key is forbidden to exist in both mismatchLabelKeys and labelSelector. The same key is forbidden to exist in both mismatchLabelKeys and labelSelector.
Also, mismatchLabelKeys cannot be set when labelSelector isn't set. Also, mismatchLabelKeys cannot be set when labelSelector isn't set.
This is a beta field and requires enabling MatchLabelKeysInPodAffinity feature gate (enabled by default). This is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate.
items: items:
type: string type: string
type: array type: array
@ -5190,7 +5243,7 @@ spec:
pod labels will be ignored. The default value is empty. pod labels will be ignored. The default value is empty.
The same key is forbidden to exist in both matchLabelKeys and labelSelector. The same key is forbidden to exist in both matchLabelKeys and labelSelector.
Also, matchLabelKeys cannot be set when labelSelector isn't set. Also, matchLabelKeys cannot be set when labelSelector isn't set.
This is a beta field and requires enabling MatchLabelKeysInPodAffinity feature gate (enabled by default). This is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate.
items: items:
type: string type: string
type: array type: array
@ -5205,7 +5258,7 @@ spec:
pod labels will be ignored. The default value is empty. pod labels will be ignored. The default value is empty.
The same key is forbidden to exist in both mismatchLabelKeys and labelSelector. The same key is forbidden to exist in both mismatchLabelKeys and labelSelector.
Also, mismatchLabelKeys cannot be set when labelSelector isn't set. Also, mismatchLabelKeys cannot be set when labelSelector isn't set.
This is a beta field and requires enabling MatchLabelKeysInPodAffinity feature gate (enabled by default). This is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate.
items: items:
type: string type: string
type: array type: array
@ -5396,6 +5449,7 @@ spec:
BatchEvictionInterval Represents the interval to wait before issuing the next BatchEvictionInterval Represents the interval to wait before issuing the next
batch of shutdowns batch of shutdowns
Defaults to 1 minute Defaults to 1 minute
type: string type: string
batchEvictionSize: batchEvictionSize:
@ -5403,6 +5457,7 @@ spec:
BatchEvictionSize Represents the number of VMIs that can be forced updated per BatchEvictionSize Represents the number of VMIs that can be forced updated per
the BatchShutdownInteral interval the BatchShutdownInteral interval
Defaults to 10 Defaults to 10
type: integer type: integer
workloadUpdateMethods: workloadUpdateMethods:
@ -5413,6 +5468,7 @@ spec:
precedence over more disruptive methods. For example if both LiveMigrate and Shutdown precedence over more disruptive methods. For example if both LiveMigrate and Shutdown
methods are listed, only VMs which are not live migratable will be restarted/shutdown methods are listed, only VMs which are not live migratable will be restarted/shutdown
An empty list defaults to no automated workload updating An empty list defaults to no automated workload updating
items: items:
type: string type: string
@ -5720,7 +5776,7 @@ spec:
pod labels will be ignored. The default value is empty. pod labels will be ignored. The default value is empty.
The same key is forbidden to exist in both matchLabelKeys and labelSelector. The same key is forbidden to exist in both matchLabelKeys and labelSelector.
Also, matchLabelKeys cannot be set when labelSelector isn't set. Also, matchLabelKeys cannot be set when labelSelector isn't set.
This is a beta field and requires enabling MatchLabelKeysInPodAffinity feature gate (enabled by default). This is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate.
items: items:
type: string type: string
type: array type: array
@ -5735,7 +5791,7 @@ spec:
pod labels will be ignored. The default value is empty. pod labels will be ignored. The default value is empty.
The same key is forbidden to exist in both mismatchLabelKeys and labelSelector. The same key is forbidden to exist in both mismatchLabelKeys and labelSelector.
Also, mismatchLabelKeys cannot be set when labelSelector isn't set. Also, mismatchLabelKeys cannot be set when labelSelector isn't set.
This is a beta field and requires enabling MatchLabelKeysInPodAffinity feature gate (enabled by default). This is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate.
items: items:
type: string type: string
type: array type: array
@ -5903,7 +5959,7 @@ spec:
pod labels will be ignored. The default value is empty. pod labels will be ignored. The default value is empty.
The same key is forbidden to exist in both matchLabelKeys and labelSelector. The same key is forbidden to exist in both matchLabelKeys and labelSelector.
Also, matchLabelKeys cannot be set when labelSelector isn't set. Also, matchLabelKeys cannot be set when labelSelector isn't set.
This is a beta field and requires enabling MatchLabelKeysInPodAffinity feature gate (enabled by default). This is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate.
items: items:
type: string type: string
type: array type: array
@ -5918,7 +5974,7 @@ spec:
pod labels will be ignored. The default value is empty. pod labels will be ignored. The default value is empty.
The same key is forbidden to exist in both mismatchLabelKeys and labelSelector. The same key is forbidden to exist in both mismatchLabelKeys and labelSelector.
Also, mismatchLabelKeys cannot be set when labelSelector isn't set. Also, mismatchLabelKeys cannot be set when labelSelector isn't set.
This is a beta field and requires enabling MatchLabelKeysInPodAffinity feature gate (enabled by default). This is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate.
items: items:
type: string type: string
type: array type: array
@ -6084,7 +6140,7 @@ spec:
pod labels will be ignored. The default value is empty. pod labels will be ignored. The default value is empty.
The same key is forbidden to exist in both matchLabelKeys and labelSelector. The same key is forbidden to exist in both matchLabelKeys and labelSelector.
Also, matchLabelKeys cannot be set when labelSelector isn't set. Also, matchLabelKeys cannot be set when labelSelector isn't set.
This is a beta field and requires enabling MatchLabelKeysInPodAffinity feature gate (enabled by default). This is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate.
items: items:
type: string type: string
type: array type: array
@ -6099,7 +6155,7 @@ spec:
pod labels will be ignored. The default value is empty. pod labels will be ignored. The default value is empty.
The same key is forbidden to exist in both mismatchLabelKeys and labelSelector. The same key is forbidden to exist in both mismatchLabelKeys and labelSelector.
Also, mismatchLabelKeys cannot be set when labelSelector isn't set. Also, mismatchLabelKeys cannot be set when labelSelector isn't set.
This is a beta field and requires enabling MatchLabelKeysInPodAffinity feature gate (enabled by default). This is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate.
items: items:
type: string type: string
type: array type: array
@ -6267,7 +6323,7 @@ spec:
pod labels will be ignored. The default value is empty. pod labels will be ignored. The default value is empty.
The same key is forbidden to exist in both matchLabelKeys and labelSelector. The same key is forbidden to exist in both matchLabelKeys and labelSelector.
Also, matchLabelKeys cannot be set when labelSelector isn't set. Also, matchLabelKeys cannot be set when labelSelector isn't set.
This is a beta field and requires enabling MatchLabelKeysInPodAffinity feature gate (enabled by default). This is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate.
items: items:
type: string type: string
type: array type: array
@ -6282,7 +6338,7 @@ spec:
pod labels will be ignored. The default value is empty. pod labels will be ignored. The default value is empty.
The same key is forbidden to exist in both mismatchLabelKeys and labelSelector. The same key is forbidden to exist in both mismatchLabelKeys and labelSelector.
Also, mismatchLabelKeys cannot be set when labelSelector isn't set. Also, mismatchLabelKeys cannot be set when labelSelector isn't set.
This is a beta field and requires enabling MatchLabelKeysInPodAffinity feature gate (enabled by default). This is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate.
items: items:
type: string type: string
type: array type: array

View File

@ -606,35 +606,15 @@ rules:
- apiGroups: - apiGroups:
- snapshot.kubevirt.io - snapshot.kubevirt.io
resources: resources:
- virtualmachinesnapshots - '*'
- virtualmachinesnapshots/status
- virtualmachinesnapshotcontents
- virtualmachinesnapshotcontents/status
- virtualmachinesnapshotcontents/finalizers
- virtualmachinerestores
- virtualmachinerestores/status
verbs: verbs:
- get - '*'
- list
- watch
- create
- update
- delete
- patch
- apiGroups: - apiGroups:
- export.kubevirt.io - export.kubevirt.io
resources: resources:
- virtualmachineexports - '*'
- virtualmachineexports/status
- virtualmachineexports/finalizers
verbs: verbs:
- get - '*'
- list
- watch
- create
- update
- delete
- patch
- apiGroups: - apiGroups:
- pool.kubevirt.io - pool.kubevirt.io
resources: resources:
@ -656,12 +636,6 @@ rules:
- '*' - '*'
verbs: verbs:
- '*' - '*'
- apiGroups:
- kubevirt.io
resources:
- virtualmachines/finalizers
verbs:
- update
- apiGroups: - apiGroups:
- subresources.kubevirt.io - subresources.kubevirt.io
resources: resources:
@ -870,7 +844,6 @@ rules:
- virtualmachineinstances/userlist - virtualmachineinstances/userlist
- virtualmachineinstances/sev/fetchcertchain - virtualmachineinstances/sev/fetchcertchain
- virtualmachineinstances/sev/querylaunchmeasurement - virtualmachineinstances/sev/querylaunchmeasurement
- virtualmachineinstances/usbredir
verbs: verbs:
- get - get
- apiGroups: - apiGroups:
@ -1019,7 +992,6 @@ rules:
- virtualmachineinstances/userlist - virtualmachineinstances/userlist
- virtualmachineinstances/sev/fetchcertchain - virtualmachineinstances/sev/fetchcertchain
- virtualmachineinstances/sev/querylaunchmeasurement - virtualmachineinstances/sev/querylaunchmeasurement
- virtualmachineinstances/usbredir
verbs: verbs:
- get - get
- apiGroups: - apiGroups:
@ -1292,7 +1264,7 @@ metadata:
name: virt-operator name: virt-operator
namespace: {{ .Release.Namespace }} namespace: {{ .Release.Namespace }}
spec: spec:
replicas: {{ .Values.operator.replicas }} replicas: 2
selector: selector:
matchLabels: matchLabels:
kubevirt.io: virt-operator kubevirt.io: virt-operator
@ -1307,7 +1279,17 @@ spec:
name: virt-operator name: virt-operator
spec: spec:
affinity: affinity:
{{- .Values.operator.affinity | toYaml | nindent 8 }} podAntiAffinity:
preferredDuringSchedulingIgnoredDuringExecution:
- podAffinityTerm:
labelSelector:
matchExpressions:
- key: kubevirt.io
operator: In
values:
- virt-operator
topologyKey: kubernetes.io/hostname
weight: 1
containers: containers:
- args: - args:
- --port - --port
@ -1343,7 +1325,9 @@ spec:
initialDelaySeconds: 5 initialDelaySeconds: 5
timeoutSeconds: 10 timeoutSeconds: 10
resources: resources:
{{- .Values.operator.resources | toYaml | nindent 12 }} requests:
cpu: 10m
memory: 450Mi
securityContext: securityContext:
allowPrivilegeEscalation: false allowPrivilegeEscalation: false
capabilities: capabilities:

View File

@ -20,10 +20,6 @@ spec:
{{- if .Values.kubevirt.uninstallStrategy }} {{- if .Values.kubevirt.uninstallStrategy }}
uninstallStrategy: {{ .Values.kubevirt.uninstallStrategy }} uninstallStrategy: {{ .Values.kubevirt.uninstallStrategy }}
{{- end }} {{- end }}
{{- with .Values.kubevirt.workloads }}
workloads:
{{- toYaml . | nindent 4 }}
{{- end }}
{{- with .Values.kubevirt.workloadUpdateStrategy }} {{- with .Values.kubevirt.workloadUpdateStrategy }}
workloadUpdateStrategy: workloadUpdateStrategy:
{{- toYaml . | nindent 4 }} {{- toYaml . | nindent 4 }}

View File

@ -1,24 +1,7 @@
operator: operator:
image: registry.suse.com/suse/sles/15.6/virt-operator image: registry.suse.com/suse/sles/15.6/virt-operator
version: 1.4.0-150600.5.15.1 version: 1.3.1-150600.5.9.1
replicas: 2
pullPolicy: IfNotPresent pullPolicy: IfNotPresent
affinity:
podAntiAffinity:
preferredDuringSchedulingIgnoredDuringExecution:
- podAffinityTerm:
labelSelector:
matchExpressions:
- key: kubevirt.io
operator: In
values:
- virt-operator
topologyKey: kubernetes.io/hostname
weight: 1
resources:
requests:
cpu: 10m
memory: 450Mi
kubevirt: kubevirt:
# Holds kubevirt configurations. Same as the virt-configMap. # Holds kubevirt configurations. Same as the virt-configMap.
@ -31,8 +14,6 @@ kubevirt:
# Specifies if KubeVirt can be deleted if workloads are still present. # Specifies if KubeVirt can be deleted if workloads are still present.
# This is mainly a precaution to avoid accidental data loss. # This is mainly a precaution to avoid accidental data loss.
uninstallStrategy: "" uninstallStrategy: ""
# Selectors and tolerations that should apply to KubeVirt workloads.
workloads: {}
# WorkloadUpdateStrategy defines at the cluster level how to handle automated workload updates. # WorkloadUpdateStrategy defines at the cluster level how to handle automated workload updates.
workloadUpdateStrategy: {} workloadUpdateStrategy: {}
# Optionally enable ServiceMonitor for prometheus, see # Optionally enable ServiceMonitor for prometheus, see

1
nm-configurator/.gitattributes vendored Normal file
View File

@ -0,0 +1 @@
*.obscpio filter=lfs diff=lfs merge=lfs -text

View File

@ -3,7 +3,7 @@
<param name="url">https://github.com/suse-edge/nm-configurator.git</param> <param name="url">https://github.com/suse-edge/nm-configurator.git</param>
<param name="versionformat">@PARENT_TAG@</param> <param name="versionformat">@PARENT_TAG@</param>
<param name="scm">git</param> <param name="scm">git</param>
<param name="revision">v0.3.2</param> <param name="revision">v0.3.1</param>
<param name="match-tag">*</param> <param name="match-tag">*</param>
<param name="versionrewrite-pattern">v(\d+\.\d+\.\d+)</param> <param name="versionrewrite-pattern">v(\d+\.\d+\.\d+)</param>
<param name="versionrewrite-replacement">\1</param> <param name="versionrewrite-replacement">\1</param>

View File

@ -1,4 +1,4 @@
<servicedata> <servicedata>
<service name="tar_scm"> <service name="tar_scm">
<param name="url">https://github.com/suse-edge/nm-configurator.git</param> <param name="url">https://github.com/suse-edge/nm-configurator.git</param>
<param name="changesrevision">747301ba15a28e758d1f06070dc7ff29a5e80242</param></service></servicedata> <param name="changesrevision">8a7b3180476cd0d5958a809c527bd8cb9b3f247b</param></service></servicedata>

BIN
nm-configurator/nm-configurator-0.3.1.obscpio (Stored with Git LFS) Normal file

Binary file not shown.

Binary file not shown.

View File

@ -1,4 +1,4 @@
name: nm-configurator name: nm-configurator
version: 0.3.2 version: 0.3.1
mtime: 1744218621 mtime: 1725004214
commit: 747301ba15a28e758d1f06070dc7ff29a5e80242 commit: 8a7b3180476cd0d5958a809c527bd8cb9b3f247b

View File

@ -17,7 +17,7 @@
Name: nm-configurator Name: nm-configurator
Version: 0.3.2 Version: 0.3.1
Release: 0 Release: 0
Summary: NM Configurator Summary: NM Configurator
License: Apache-2.0 License: Apache-2.0

BIN
nm-configurator/vendor.tar.xz (Stored with Git LFS)

Binary file not shown.