Skip to content

Commit 3972c91

Browse files
committed
fix duplicated debug option in values, fix ingress template
1 parent eafb283 commit 3972c91

File tree

4 files changed

+15
-18
lines changed

4 files changed

+15
-18
lines changed

charts/kubevirt-vm/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ apiVersion: v2
22
name: kubevirt-vm
33
description: Configure a virtual machine for use with Kubevirt
44
type: application
5-
version: 0.8.0
5+
version: 0.8.1
66
appVersion: "0.1.0"
77
maintainers:
88
- name: "cloudymax"

charts/kubevirt-vm/README.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# kubevirt-vm
22

3-
![Version: 0.8.0](https://img.shields.io/badge/Version-0.8.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.1.0](https://img.shields.io/badge/AppVersion-0.1.0-informational?style=flat-square)
3+
![Version: 0.8.1](https://img.shields.io/badge/Version-0.8.1-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.1.0](https://img.shields.io/badge/AppVersion-0.1.0-informational?style=flat-square)
44

55
Configure a virtual machine for use with Kubevirt
66

@@ -27,7 +27,6 @@ Configure a virtual machine for use with Kubevirt
2727
| cloudinit.boot_cmd | list | `[]` | Run arbitrary commands early in the boot process See https://cloudinit.readthedocs.io/en/latest/reference/modules.html#bootcmd |
2828
| cloudinit.ca_certs | list | `[]` | Add CA certificates See https://cloudinit.readthedocs.io/en/latest/reference/modules.html#ca-certificates |
2929
| cloudinit.debug | bool | `false` | when enabled job sleeps to allow user to exec into the container |
30-
| cloudinit.debug | bool | `false` | when enabled job sleeps to allow user to exec into the container |
3130
| cloudinit.disable_root | bool | `false` | Disable root login over ssh |
3231
| cloudinit.envsubst | bool | `true` | Run envsubst against bootcmd and runcmd fields at the beginning of templating Not an official part of cloid-init |
3332
| cloudinit.existingConfigMap | bool | `false` | Dont recreate script configmap. Set to true when keeping multiple cloud-init secrets in the same namespace |
@@ -53,7 +52,7 @@ Configure a virtual machine for use with Kubevirt
5352
| cloudinit.write_files | list | `[]` | Write arbitrary files to disk. Files my be provided as plain-text or downloaded from a url See https://cloudinit.readthedocs.io/en/latest/reference/modules.html#write-files |
5453
| diskErrorPolicy | string | `"report"` | controls hypervisor behavior when I/O errors occur on disk read or write. Possible values are: 'report', 'ignore', 'enospace' |
5554
| disks | list | `[{"bootorder":2,"bus":"virtio","image":"quay.io/containerdisks/debian:13","name":"harddrive","readonly":false,"type":"disk"}]` | List of disks to create for the VM, Will be used to create Datavolumes or PVCs. |
56-
| ingress | object | `{"annotations":{},"className":"nginx","enabled":false,"hostname":"novnc.buildstar.online","tls":[]}` | Ingress configuration |
55+
| ingress | object | `{"annotations":{},"className":"nginx","enabled":false,"hostname":"novnc.buildstar.online","paths":[{"backend":{"service":{"name":"test-service","port":{"number":8080}}},"path":"/","pathType":"Prefix"}],"tls":{"enabled":false,"secretName":"tls-kubevirt-manager"}}` | Ingress configuration |
5756
| networkPolicy.egress | list | `[]` | |
5857
| networkPolicy.enabled | bool | `false` | Enable the creation of network policies |
5958
| networkPolicy.ingress | list | `[]` | |

charts/kubevirt-vm/templates/ingress.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ spec:
2222
rules:
2323
- host: {{ .Values.ingress.hostname }}
2424
http:
25-
{{- with .Values.ingress.tls.paths }}
25+
{{- with .Values.ingress.paths }}
2626
paths:
2727
{{- toYaml . | nindent 8 }}
2828
{{- end }}

charts/kubevirt-vm/values.yaml

Lines changed: 11 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -405,8 +405,6 @@ cloudinit:
405405
existingConfigMap: false
406406
# -- Disable root login over ssh
407407
disable_root: false
408-
# -- when enabled job sleeps to allow user to exec into the container
409-
debug: false
410408
# -- salt used for password generation
411409
salt: "saltsaltlettuce"
412410
# -- networking options
@@ -538,17 +536,17 @@ ingress:
538536
hostname: "novnc.buildstar.online"
539537
annotations: {}
540538
# cert-manager.io/cluster-issuer: "letsencrypt-staging"
541-
tls: []
542-
# enabled: true
543-
# secretName: "tls-kubevirt-manager"
544-
# paths:
545-
# - path: /
546-
# pathType: Prefix
547-
# backend:
548-
# service:
549-
# name: test-service
550-
# port:
551-
# number: 8080
539+
tls:
540+
enabled: false
541+
secretName: "tls-kubevirt-manager"
542+
paths:
543+
- path: /
544+
pathType: Prefix
545+
backend:
546+
service:
547+
name: test-service
548+
port:
549+
number: 8080
552550
################################################################################
553551
# _ _ _ _ ____ _ _ _
554552
# | \ | | ___| |___ _____ _ __| | __ | _ \ ___ | (_) ___(_) ___ ___

0 commit comments

Comments
 (0)