Browse Source

Linting updates and fix emptyDir for no persistence

pull/136/head
Brandon Clifford 5 years ago
parent
commit
b1e375d2ff
No known key found for this signature in database GPG Key ID: EE7017AA3E567137
  1. 3
      charts/wg-easy/Chart.yaml
  2. 2
      charts/wg-easy/templates/deployment.yaml
  3. 3
      charts/wg-easy/templates/ingress.yaml

3
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"

2
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:

3
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 }}

Loading…
Cancel
Save