diff --git a/charts/wg-easy/Chart.yaml b/charts/wg-easy/Chart.yaml index 64e0f7a6..9acca9fd 100644 --- a/charts/wg-easy/Chart.yaml +++ b/charts/wg-easy/Chart.yaml @@ -2,7 +2,8 @@ apiVersion: v2 name: wg-easy description: A Wireguard Easy Helm chart type: application +icon: https://www.wireguard.com/img/wireguard.svg # This is the chart version. version: 0.1.0 # This is the version number of the application being deployed. -appVersion: 4 +appVersion: "4" diff --git a/charts/wg-easy/templates/deployment.yaml b/charts/wg-easy/templates/deployment.yaml index c2d04a7b..e61a2da7 100644 --- a/charts/wg-easy/templates/deployment.yaml +++ b/charts/wg-easy/templates/deployment.yaml @@ -93,7 +93,7 @@ spec: claimName: {{ if .Values.persistence.existingClaim }}{{ .Values.persistence.existingClaim }}{{- else }}{{ include "wg-easy.fullname" . }}{{- end }} {{- end }} {{- if not .Values.persistence.enabled }} - emptyDir: {} + emptyDir: {} {{- end }} {{- with .Values.nodeSelector }} nodeSelector: diff --git a/charts/wg-easy/templates/ingress.yaml b/charts/wg-easy/templates/ingress.yaml index 31d62647..bc93f611 100644 --- a/charts/wg-easy/templates/ingress.yaml +++ b/charts/wg-easy/templates/ingress.yaml @@ -16,6 +16,9 @@ metadata: {{- toYaml . | nindent 4 }} {{- end }} spec: + {{- if and .Values.ingress.ingressClassName }} + ingressClassName: {{ .Values.ingress.ingressClassName }} + {{- end }} {{- if .Values.ingress.tls }} tls: {{- range .Values.ingress.tls }}