Skip to content

Commit 5033f77

Browse files
halkeyeHaloghen
andauthored
Add ingress class name (#24)
* feat: add ingress class name * Bumped Chart to 0.1.3 - Added `ingress.className` to values.yaml (default `""`) - Bumped chart version in Readme - Fixed error in ingress template * Small change to Workflow --------- Co-authored-by: Francesco Zimbolo <francesco@zimbolo.it>
1 parent 0422d21 commit 5033f77

File tree

5 files changed

+8
-3
lines changed

5 files changed

+8
-3
lines changed

.github/workflows/chart-workflow.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ on:
44
paths:
55
- charts/**
66
- .github/workflows/**
7-
pull_request:
7+
pull_request_target:
88
paths:
99
- charts/**
1010
- .github/workflows/**

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ The Applications we offer at the moment are listed down here. Watch this website
2525
- `Prometheus PVE Exporter@0.1.15`
2626
- `Prometheus Haproxy Exporter@0.1.5`
2727
- `YouTrack@0.1.9`
28-
- `FoundryVTT@0.1.2`
28+
- `FoundryVTT@0.1.3`
2929

3030
### License
3131

charts/foundry-vtt/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ apiVersion: v2
22
name: foundry-vtt
33
description: Foundry Virtual Tabletop
44
type: application
5-
version: 0.1.2
5+
version: 0.1.3
66
appVersion: "v10.288"
77
keywords:
88
- game

charts/foundry-vtt/templates/ingress.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@ metadata:
1717
{{ toYaml .Values.ingress.annotations | indent 4 }}
1818
{{- end }}
1919
spec:
20+
{{- if .Values.ingress.ingressClassName }}
21+
ingressClassName: {{ .Values.ingress.ingressClassName }}
22+
{{- end }}
2023
rules:
2124
- host: {{ .Values.ingress.hostname }}
2225
http:

charts/foundry-vtt/values.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -255,6 +255,7 @@ container:
255255
## @param ingress.pathType Type of Path
256256
## @param ingress.tls Enable or Disable TLS
257257
## @param ingress.configurationSnippet Extra NGINX Configuration to add as Annotation
258+
## @param ingress.className Optional Ingress class name
258259
ingress:
259260
enabled: false
260261
hostname: foundry.domain.com
@@ -267,3 +268,4 @@ ingress:
267268
# configurationSnippet: |
268269
# more_set_input_headers "X-Forwarded-Host: {{ .Values.foundryvtt.hostname }}";
269270
tls: false
271+
className: ""

0 commit comments

Comments
 (0)