Browse Source
Linting updates and fix emptyDir for no persistence
pull/136/head
Brandon Clifford
5 years ago
No known key found for this signature in database
GPG Key ID: EE7017AA3E567137
3 changed files with
6 additions and
2 deletions
-
charts/wg-easy/Chart.yaml
-
charts/wg-easy/templates/deployment.yaml
-
charts/wg-easy/templates/ingress.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" |
|
|
|
|
|
|
|
@ -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: |
|
|
|
|
|
|
|
@ -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 }} |
|
|
|
|