Skip to content

Commit dafaff2

Browse files
authored
Merge pull request #41 from loganmzz/gradle-cache-ingresss-classname
feat(gradle-cache) Adds support for Ingress class name
2 parents 4ea740e + 6928a75 commit dafaff2

File tree

4 files changed

+7
-1
lines changed

4 files changed

+7
-1
lines changed

charts/gradle-cache/Chart.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: gradle-cache
33
description: |-
44
Helm chart to deploy [gradle-cache](https://docs.gradle.com/build-cache-node/).
55
type: application
6-
version: 0.1.3
6+
version: 0.1.4
77
appVersion: "11.0"
88
home: https://github.com/slamdev/helm-charts/tree/master/charts/gradle-cache
99
icon: https://gradle.org/icon/favicon-32x32.png

charts/gradle-cache/README.md

+1
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ Helm chart to deploy [gradle-cache](https://docs.gradle.com/build-cache-node/).
3131
| ingress.enabled | bool | `false` | enables Ingress for gradle-cache |
3232
| ingress.hosts | list | `[]` | ingress accepted hostnames |
3333
| ingress.tls | list | `[]` | ingress TLS configuration |
34+
| ingress.ingressClassName | string | `""` | ingress name of the IngressClass cluster resource |
3435
| livenessProbe.httpGet.path | string | `"/"` | path for liveness probe |
3536
| livenessProbe.httpGet.port | string | `"http"` | port for liveness probe |
3637
| nameOverride | string | `""` | override name of the chart |

charts/gradle-cache/templates/ingress.yaml

+3
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@ metadata:
1919
{{- toYaml . | nindent 4 }}
2020
{{- end }}
2121
spec:
22+
{{- with .Values.ingress.ingressClassName }}
23+
ingressClassName: {{ . | quote }}
24+
{{- end }}
2225
{{- if .Values.ingress.tls }}
2326
tls:
2427
{{- range .Values.ingress.tls }}

charts/gradle-cache/values.yaml

+2
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,8 @@ ingress:
8686
# - secretName: chart-example-tls
8787
# hosts:
8888
# - chart-example.local
89+
# ingress.ingressClassName -- ingress name of the IngressClass cluster resource
90+
ingressClassName: ""
8991

9092
# resources -- custom resource configuration
9193
resources: {}

0 commit comments

Comments
 (0)