From 831641cfbbbd3880a85e6b056aef9c744ee04387 Mon Sep 17 00:00:00 2001 From: Andrew Greene <andrew@defenseunicorns.com> Date: Fri, 3 Feb 2023 13:38:21 +0000 Subject: [PATCH] Fix: Resolve "K3d Pipeline" SKIP UPDATE CHECK, SKIP UPGRADE CHECK --- CHANGELOG.md | 1 - README.md | 52 ++++++++++++++++++++++++- bigbang/Chart.yaml | 4 +- bigbang/values.yaml | 2 +- chart/templates/tests/test-service.yaml | 7 +++- scripts/readme-update.sh | 8 ++-- 6 files changed, 64 insertions(+), 10 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index bede582..f590e7a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,7 +4,6 @@ Format: [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) ## [ 0.58.0.bb.2 ] - 2020-1-19 - ## Fix - Removed duplicate customizeComponents element diff --git a/README.md b/README.md index 4da83b7..ea16362 100644 --- a/README.md +++ b/README.md @@ -1 +1,51 @@ -<html><body>You are being <a href="https://repo1.dso.mil/big-bang/apps/library-charts/gluon/-/raw/master/docs/README.md.gotmpl">redirected</a>.</body></html><html><body>You are being <a href="https://repo1.dso.mil/big-bang/apps/library-charts/gluon/-/raw/master/docs/_templates.gotmpl">redirected</a>.</body></html><html><body>You are being <a href="https://repo1.dso.mil/big-bang/apps/library-charts/gluon/-/raw/master/docs/README.md.gotmpl">redirected</a>.</body></html><html><body>You are being <a href="https://repo1.dso.mil/big-bang/apps/library-charts/gluon/-/raw/master/docs/_templates.gotmpl">redirected</a>.</body></html> \ No newline at end of file +# kubevirt + +   + +KubeVirt helm chart package + +## Learn More +* [Application Overview](docs/overview.md) +* [Other Documentation](docs/) + +## Pre-Requisites + +* Kubernetes Cluster deployed +* Kubernetes config installed in `~/.kube/config` +* Helm installed + +Install Helm + +https://helm.sh/docs/intro/install/ + +## Deployment + +* Clone down the repository +* cd into directory +```bash +helm install 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 | `"quay.io/kubevirt"` | | +| deployment.spec.template.spec.containers.image.version | string | `"v0.58.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 | `"250Mi"` | | +| imagePullSecrets | list | `[]` | | +| workloads.nodePlacement | object | `{}` | | +| infra.nodePlacement | object | `{}` | | +| useEmulation | bool | `false` | | +| featureGates | list | `[]` | | + +## Contributing + +Please see the [contributing guide](./CONTRIBUTING.md) if you are interested in contributing. diff --git a/bigbang/Chart.yaml b/bigbang/Chart.yaml index cad2a4f..66bc1b5 100644 --- a/bigbang/Chart.yaml +++ b/bigbang/Chart.yaml @@ -3,5 +3,5 @@ apiVersion: v2 name: bigbang-kubevirt description: BigBang compatible Helm chart for kubevirt type: application -version: 0.1.0-bb.0 -appVersion: "0.55.0" +version: 0.58.0-bb.2 +appVersion: "0.58.0" diff --git a/bigbang/values.yaml b/bigbang/values.yaml index eae6a26..5e29eb3 100644 --- a/bigbang/values.yaml +++ b/bigbang/values.yaml @@ -1,7 +1,7 @@ kubevirt: enabled: true git: - repo: https://repo1.dso.mil/platform-one/big-bang/apps/third-party/kubevirt + repo: https://repo1.dso.mil/big-bang/apps/third-party/kubevirt branch: main path: chart flux: {} diff --git a/chart/templates/tests/test-service.yaml b/chart/templates/tests/test-service.yaml index 8342aaf..f8e9cf0 100644 --- a/chart/templates/tests/test-service.yaml +++ b/chart/templates/tests/test-service.yaml @@ -2,6 +2,7 @@ apiVersion: batch/v1 kind: Job metadata: name: kubevirt-service-test + namespace: {{ .Release.Namespace }} annotations: "helm.sh/hook": test # post-install was deploying this job immediately with helm install @@ -9,10 +10,14 @@ metadata: spec: template: spec: + {{- with .Values.imagePullSecrets }} + imagePullSecrets: + {{- toYaml . | nindent 8 }} + {{- end }} containers: - command: ["/bin/sh"] args: ["-c", "nc -w 3 virt-api.kubevirt.svc.cluster.local 443;exit $?;"] - image: registry1.dso.mil/ironbank/opensource/alpinelinux/alpine:latest + image: busybox:1.36.0 name: kubevirt-service-test restartPolicy: Never backoffLimit: 10 diff --git a/scripts/readme-update.sh b/scripts/readme-update.sh index 428f50d..db55428 100755 --- a/scripts/readme-update.sh +++ b/scripts/readme-update.sh @@ -1,9 +1,9 @@ #!/bin/bash -# source: https://repo1.dso.mil/platform-one/big-bang/apps/library-charts/gluon/-/blob/master/docs/bb-package-readme.md +# source: https://repo1.dso.mil/big-bang/apps/library-charts/gluon/-/blob/master/docs/bb-package-readme.md -curl -sS -O https://repo1.dso.mil/platform-one/big-bang/apps/library-charts/gluon/-/raw/master/docs/README.md.gotmpl -curl -sS -O https://repo1.dso.mil/platform-one/big-bang/apps/library-charts/gluon/-/raw/master/docs/.helmdocsignore -curl -sS -O https://repo1.dso.mil/platform-one/big-bang/apps/library-charts/gluon/-/raw/master/docs/_templates.gotmpl +curl -sS -O https://repo1.dso.mil/big-bang/apps/library-charts/gluon/-/raw/master/docs/README.md.gotmpl +curl -sS -O https://repo1.dso.mil/big-bang/apps/library-charts/gluon/-/raw/master/docs/.helmdocsignore +curl -sS -O https://repo1.dso.mil/big-bang/apps/library-charts/gluon/-/raw/master/docs/_templates.gotmpl # Update to your helm-docs binary path (v1.10.0) /usr/local/bin/helm-docs -s file -t `pwd`/README.md.gotmpl -t `pwd`/_templates.gotmpl --dry-run > README.md -- GitLab