Skip to content

Commit

Permalink
feat(default-resource): fixed trailing spaces (#12)
Browse files Browse the repository at this point in the history
  • Loading branch information
amartingarcia authored May 12, 2023
1 parent 0934753 commit 7b28d9d
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion charts/default-resources/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ type: application

# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
version: 1.1.0
version: 1.1.1

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application.
Expand Down
2 changes: 1 addition & 1 deletion charts/default-resources/templates/limitrange.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ kind: LimitRange
metadata:
name: {{ .name }}
namespace: {{ .namespace }}
labels:
{{- if .labels }}
labels:
{{- with .labels }}
{{- toYaml . | nindent 4 }}
{{- end }}
Expand Down
2 changes: 1 addition & 1 deletion charts/default-resources/templates/namespace.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ apiVersion: v1
kind: Namespace
metadata:
name: {{ .name }}
labels:
{{- if .labels }}
labels:
{{- with .labels }}
{{- toYaml . | nindent 4 }}
{{- end }}
Expand Down
2 changes: 2 additions & 0 deletions charts/default-resources/templates/storageclass.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,12 @@ metadata:
{{- end }}
{{- end }}
provisioner: {{ .provisioner }}
{{- if .parameters }}
parameters:
{{- with .parameters }}
{{- toYaml . | nindent 2 }}
{{- end }}
{{- end }}
allowVolumeExpansion: {{ .allowVolumeExpansion }}
reclaimPolicy: {{ .reclaimPolicy }}
{{- if .mountOptions }}
Expand Down
2 changes: 2 additions & 0 deletions charts/default-resources/templates/volumesnapshotclass.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,12 @@ metadata:
{{- end }}
driver: {{ .driver }}
deletionPolicy: {{ .deletionPolicy }}
{{- if .parameters }}
parameters:
{{- with .parameters }}
{{- toYaml . | nindent 2 }}
{{- end }}
{{- end }}

{{ end }}
{{ end }}

0 comments on commit 7b28d9d

Please sign in to comment.