From def6a62cd636e999eea81b4af2b34ca3904df003 Mon Sep 17 00:00:00 2001 From: Raniere Silva Date: Wed, 22 Jan 2025 14:08:54 +0100 Subject: [PATCH] Fix end of line --- .editorconfig | 5 +++++ mybinder/templates/static/configmap.yaml | 2 +- mybinder/templates/static/deployment.yaml | 2 +- mybinder/templates/static/ingress.yaml | 2 +- mybinder/templates/static/service.yaml | 2 +- 5 files changed, 9 insertions(+), 4 deletions(-) create mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 000000000..9029500ac --- /dev/null +++ b/.editorconfig @@ -0,0 +1,5 @@ +root = true + +[*] +end_of_line = lf +insert_final_newline = true \ No newline at end of file diff --git a/mybinder/templates/static/configmap.yaml b/mybinder/templates/static/configmap.yaml index 067db4d81..0b309a626 100644 --- a/mybinder/templates/static/configmap.yaml +++ b/mybinder/templates/static/configmap.yaml @@ -24,4 +24,4 @@ metadata: release: {{ .Release.Name }} data: {{- (.Files.Glob "files/static/*").AsConfig | nindent 2 }} -{{- end }} \ No newline at end of file +{{- end }} diff --git a/mybinder/templates/static/deployment.yaml b/mybinder/templates/static/deployment.yaml index 119c24984..aeef50bd8 100644 --- a/mybinder/templates/static/deployment.yaml +++ b/mybinder/templates/static/deployment.yaml @@ -42,4 +42,4 @@ spec: name: config - mountPath: /www/data/ name: files -{{- end }} \ No newline at end of file +{{- end }} diff --git a/mybinder/templates/static/ingress.yaml b/mybinder/templates/static/ingress.yaml index a952e07d2..f5c6c50d1 100644 --- a/mybinder/templates/static/ingress.yaml +++ b/mybinder/templates/static/ingress.yaml @@ -37,4 +37,4 @@ spec: {{- range $host := .Values.static.ingress.hosts }} - {{ $host }} {{- end }} -{{- end }} \ No newline at end of file +{{- end }} diff --git a/mybinder/templates/static/service.yaml b/mybinder/templates/static/service.yaml index 1fdb79f21..4c763d84c 100644 --- a/mybinder/templates/static/service.yaml +++ b/mybinder/templates/static/service.yaml @@ -16,4 +16,4 @@ spec: app: static component: nginx release: {{ .Release.Name }} -{{- end }} \ No newline at end of file +{{- end }}