UNCLASSIFIED - NO CUI

Skip to content
Snippets Groups Projects
Commit aa48feed authored by Shannon Mitchell's avatar Shannon Mitchell Committed by andrew.greene
Browse files

feat: Allow setting of kubevirt feature gates.

parent b75aa478
No related branches found
No related tags found
1 merge request!33Allow setting of kubevirt feature gates.
......@@ -2,6 +2,10 @@
Format: [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
## [0.0.1-bb.5] - 2022-08-04
### Added
- Enable setting of kubevirt feature gates.
## [0.0.1-bb.4] - 2022-08-04
### Added
- Allow setting of hardware emulation for environments not supporting kvm or nested virt.
......
# kubevirt
# bigbang-kubevirt
![Version: 0.0.1-bb.4](https://img.shields.io/badge/Version-0.0.1--bb.4-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.54.0](https://img.shields.io/badge/AppVersion-0.54.0-informational?style=flat-square)
![Version: 0.0.1-bb.5](https://img.shields.io/badge/Version-0.0.1--bb.5-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.54.0](https://img.shields.io/badge/AppVersion-0.54.0-informational?style=flat-square)
KubeVirt helm chart package
BigBang compatible Helm chart for kubevirt
## Learn More
* [Application Overview](docs/overview.md)
......@@ -23,36 +23,47 @@ https://helm.sh/docs/intro/install/
* Clone down the repository
* cd into directory
```bash
helm install kubevirt chart/
helm install bigbang-kubevirt chart/
```
## Values
| Key | Type | Default | Description |
|-----|------|---------|-------------|
| deployment.spec.replicas | int | `2` | replica count |
| deployment.spec.template.spec.containers.image.name | string | `"virt-operator"` | |
| deployment.spec.template.spec.containers.image.registry | string | `"registry.dso.mil/platform-one/big-bang/apps/third-party/kubevirt"` | |
| deployment.spec.template.spec.containers.image.version | string | `"v0.54.0"` | |
| deployment.spec.template.spec.containers.command.port | int | `8443` | |
| deployment.spec.template.spec.containers.command.verbosity | int | `2` | |
| deployment.spec.template.spec.containers.ports.metricsPort | int | `8443` | |
| deployment.spec.template.spec.containers.ports.webhooksPort | int | `8444` | |
| deployment.spec.template.spec.containers.resources.requests.cpu | string | `"10m"` | |
| deployment.spec.template.spec.containers.resources.requests.memory | string | `"150Mi"` | |
| imagePullSecrets | list | `[]` | |
| workloads.nodePlacement | object | `{}` | |
| infra.nodePlacement | object | `{}` | |
| useEmulation | bool | `false` | |
| kubevirt.enabled | bool | `true` | |
| kubevirt.git.repo | string | `"https://repo1.dso.mil/platform-one/big-bang/apps/third-party/kubevirt"` | |
| kubevirt.git.branch | string | `"main"` | |
| kubevirt.git.path | string | `"chart"` | |
| kubevirt.flux | object | `{}` | |
| monitoring.enabled | bool | `false` | |
| logging.enabled | bool | `false` | |
| clusterAuditor.enabled | bool | `false` | |
| gatekeeper.enabled | bool | `false` | |
| eckoperator.enabled | bool | `false` | |
| kiali.enabled | bool | `false` | |
| jaeger.enabled | bool | `false` | |
| fluentbit.enabled | bool | `false` | |
| twistlock.enabled | bool | `false` | |
| loki.enabled | bool | `false` | |
| promtail.enabled | bool | `false` | |
| flux.timeout | string | `"10m"` | |
| flux.interval | string | `"2m"` | |
| flux.test.enable | bool | `false` | |
| flux.install.remediation.retries | int | `-1` | |
| flux.upgrade.remediation.retries | int | `-1` | |
| flux.upgrade.remediation.remediateLastFailure | bool | `true` | |
| flux.upgrade.cleanupOnFail | bool | `true` | |
| flux.rollback.timeout | string | `"10m"` | |
| flux.rollback.cleanupOnFail | bool | `true` | |
## Contributing
Please see the [contributing guide](./CONTRIBUTING.md) if you are interested in contributing.
# bigbang-kubevirt
# kubevirt
![Version: 0.0.1-bb.4](https://img.shields.io/badge/Version-0.0.1--bb.4-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.54.0](https://img.shields.io/badge/AppVersion-0.54.0-informational?style=flat-square)
![Version: 0.0.1-bb.5](https://img.shields.io/badge/Version-0.0.1--bb.5-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.54.0](https://img.shields.io/badge/AppVersion-0.54.0-informational?style=flat-square)
BigBang compatible Helm chart for kubevirt
KubeVirt helm chart package
## Learn More
* [Application Overview](docs/overview.md)
......@@ -73,38 +84,28 @@ https://helm.sh/docs/intro/install/
* Clone down the repository
* cd into directory
```bash
helm install bigbang-kubevirt chart/
helm install kubevirt chart/
```
## Values
| Key | Type | Default | Description |
|-----|------|---------|-------------|
| kubevirt.enabled | bool | `true` | |
| kubevirt.git.repo | string | `"https://repo1.dso.mil/platform-one/big-bang/apps/third-party/kubevirt"` | |
| kubevirt.git.branch | string | `"main"` | |
| kubevirt.git.path | string | `"chart"` | |
| kubevirt.flux | object | `{}` | |
| monitoring.enabled | bool | `false` | |
| logging.enabled | bool | `false` | |
| clusterAuditor.enabled | bool | `false` | |
| gatekeeper.enabled | bool | `false` | |
| eckoperator.enabled | bool | `false` | |
| kiali.enabled | bool | `false` | |
| jaeger.enabled | bool | `false` | |
| fluentbit.enabled | bool | `false` | |
| twistlock.enabled | bool | `false` | |
| loki.enabled | bool | `false` | |
| promtail.enabled | bool | `false` | |
| flux.timeout | string | `"10m"` | |
| flux.interval | string | `"2m"` | |
| flux.test.enable | bool | `false` | |
| flux.install.remediation.retries | int | `-1` | |
| flux.upgrade.remediation.retries | int | `-1` | |
| flux.upgrade.remediation.remediateLastFailure | bool | `true` | |
| flux.upgrade.cleanupOnFail | bool | `true` | |
| flux.rollback.timeout | string | `"10m"` | |
| flux.rollback.cleanupOnFail | bool | `true` | |
| deployment.spec.replicas | int | `2` | replica count |
| deployment.spec.template.spec.containers.image.name | string | `"virt-operator"` | |
| deployment.spec.template.spec.containers.image.registry | string | `"registry.dso.mil/platform-one/big-bang/apps/third-party/kubevirt"` | |
| deployment.spec.template.spec.containers.image.version | string | `"v0.54.0"` | |
| deployment.spec.template.spec.containers.command.port | int | `8443` | |
| deployment.spec.template.spec.containers.command.verbosity | int | `2` | |
| deployment.spec.template.spec.containers.ports.metricsPort | int | `8443` | |
| deployment.spec.template.spec.containers.ports.webhooksPort | int | `8444` | |
| deployment.spec.template.spec.containers.resources.requests.cpu | string | `"10m"` | |
| deployment.spec.template.spec.containers.resources.requests.memory | string | `"150Mi"` | |
| imagePullSecrets | list | `[]` | |
| workloads.nodePlacement | object | `{}` | |
| infra.nodePlacement | object | `{}` | |
| useEmulation | bool | `false` | |
| featureGates | list | `[]` | |
## Contributing
......
......@@ -3,5 +3,5 @@ apiVersion: v2
name: bigbang-kubevirt
description: BigBang compatible Helm chart for kubevirt
type: application
version: 0.0.1-bb.4
version: 0.0.1-bb.5
appVersion: "0.54.0"
......@@ -2,5 +2,5 @@ apiVersion: v2
name: kubevirt
description: KubeVirt helm chart package
type: application
version: 0.0.1-bb.4
version: 0.0.1-bb.5
appVersion: "0.54.0"
......@@ -14,7 +14,12 @@ spec:
certificateRotateStrategy: {}
configuration:
developerConfiguration:
{{- if .Values.featureGates }}
featureGates:
{{ toYaml .Values.featureGates | indent 8 }}
{{- else }}
featureGates: []
{{- end }}
useEmulation: {{ .Values.useEmulation | default "false" }}
imagePullPolicy: IfNotPresent
imageRegistry: {{ .Values.deployment.spec.template.spec.containers.image.registry }}
......
......@@ -63,3 +63,10 @@ infra:
# if useEmulation is set, do NOT trust it. We saw that it was still using
# full hardware emulation on metal nodes during tests with this set to 'true'.
useEmulation: false
# Feature Gates
#
# docs with examples:
# - https://kubevirt.io/user-guide/operations/activating_feature_gates/
# - https://github.com/kubevirt/kubevirt/blob/main/pkg/virt-config/feature-gates.go#L26
featureGates: []
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment