diff --git a/CHANGELOG.md b/CHANGELOG.md index f66b653..42c12d1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,6 @@ # Changelog +## [1.16.1-develop] - 2024-10-24 +- Add support for a defined ingress class + ## [0.0.1] - 2024-07-19 diff --git a/kasm-single-zone/Chart.yaml b/kasm-single-zone/Chart.yaml index ac28f41..2f0911e 100644 --- a/kasm-single-zone/Chart.yaml +++ b/kasm-single-zone/Chart.yaml @@ -32,4 +32,4 @@ keywords: maintainers: - name: Kasm Technologies, Inc. url: https://github.com/kasmtech/kasm-helm -version: 1.16.0-develop +version: 1.16.1-develop diff --git a/kasm-single-zone/templates/ingress.yaml b/kasm-single-zone/templates/ingress.yaml index 20ee154..c38f4c7 100644 --- a/kasm-single-zone/templates/ingress.yaml +++ b/kasm-single-zone/templates/ingress.yaml @@ -7,6 +7,9 @@ metadata: app.kubernetes.io/name: {{ .Values.kasmApp.name }}-ingress {{- include "kasm.defaultLabels" . | indent 4 }} spec: + {{- with .Values.global.ingressClassName }} + ingressClassName: {{ . }} + {{- end }} tls: - hosts: - {{ .Values.global.hostname | quote }} diff --git a/kasm-single-zone/values.schema.json b/kasm-single-zone/values.schema.json index 8df9edf..0e6e0f3 100644 --- a/kasm-single-zone/values.schema.json +++ b/kasm-single-zone/values.schema.json @@ -22,6 +22,12 @@ "title": "hostname", "type": "string" }, + "ingressClassName": { + "default": "", + "description": "##@param global.ingressClass Global ingress class to use for ingress object\n##", + "title": "ingressClassName", + "type": "string" + }, "image": { "additionalProperties": false, "properties": { diff --git a/kasm-single-zone/values.yaml b/kasm-single-zone/values.yaml index daee239..5ae253f 100644 --- a/kasm-single-zone/values.yaml +++ b/kasm-single-zone/values.yaml @@ -30,6 +30,11 @@ global: ## @param global.hostname Global hostname to use for TLS Certificates and ingress URL ## hostname: "" + + ## @param global.ingressClass Global ingress class to use for ingress object + ## + ingressClassName: "" + ## @param global.altHostnames Global list of alternate hostnames to use for TLS Certificates ## altHostnames: []