Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for defined ingressClass #6

Open
wants to merge 4 commits into
base: release/1.16.0
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion kasm-single-zone/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
3 changes: 3 additions & 0 deletions kasm-single-zone/templates/ingress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
6 changes: 6 additions & 0 deletions kasm-single-zone/values.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down
7 changes: 6 additions & 1 deletion kasm-single-zone/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,12 @@ global:

## @param global.hostname Global hostname to use for TLS Certificates and ingress URL
##
hostname: ""
hostname: "kasm.uds.dev"
jimmy-ungerman marked this conversation as resolved.
Show resolved Hide resolved

## @param global.ingressClass Global ingress class to use for ingress object
##
ingressClassName: "nginx"

## @param global.altHostnames Global list of alternate hostnames to use for TLS Certificates
##
altHostnames: []
Expand Down