Removed empty lines
This commit is contained in:
@@ -15,4 +15,4 @@ type: library
|
|||||||
# This is the chart version. This version number should be incremented each time you make changes
|
# 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.
|
# to the chart and its templates, including the app version.
|
||||||
# Versions are expected to follow Semantic Versioning (https://semver.org/)
|
# Versions are expected to follow Semantic Versioning (https://semver.org/)
|
||||||
version: 0.3.0
|
version: 0.3.1
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
{{- define "common.envFromRef.tpl" -}}
|
{{- define "common.envFromRef.tpl" -}}
|
||||||
{{- if or (or (or (.Values.vars) (.Values.secretEnabled)) .Values.sealedSecrets) .Values.secretName }}
|
{{- if or (or (or (.Values.vars) (.Values.secretEnabled)) .Values.sealedSecrets) .Values.secretName -}}
|
||||||
envFrom: &envFrom
|
envFrom: &envFrom
|
||||||
{{- if .Values.vars }}
|
{{- if .Values.vars }}
|
||||||
- configMapRef:
|
- configMapRef:
|
||||||
@@ -18,4 +18,4 @@ envFrom: &envFrom
|
|||||||
name: {{ template "common.robustName" .Release.Name }}
|
name: {{ template "common.robustName" .Release.Name }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
@@ -1,5 +1,5 @@
|
|||||||
{{- define "common.volumeMountsRef.tpl" -}}
|
{{- define "common.volumeMountsRef.tpl" -}}
|
||||||
{{- if or (or (or (.Values.volumes) (.Values.sealedFileSecrets)) .Values.fileSecrets) .Values.existingFileSecrets }}
|
{{- if or (or (or (.Values.volumes) (.Values.sealedFileSecrets)) .Values.fileSecrets) .Values.existingFileSecrets -}}
|
||||||
volumeMounts: &volumeMounts
|
volumeMounts: &volumeMounts
|
||||||
{{- range .Values.volumes }}
|
{{- range .Values.volumes }}
|
||||||
{{- if not (hasPrefix "init-" .name) }}
|
{{- if not (hasPrefix "init-" .name) }}
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
{{- define "common.volumesRef.tpl" -}}
|
{{- define "common.volumesRef.tpl" -}}
|
||||||
{{- if or (or (or (.Values.volumes) (.Values.sealedFileSecrets)) .Values.fileSecrets) .Values.existingFileSecrets }}
|
{{- if or (or (or (.Values.volumes) (.Values.sealedFileSecrets)) .Values.fileSecrets) .Values.existingFileSecrets -}}
|
||||||
volumes:
|
volumes:
|
||||||
{{- range .Values.volumes }}
|
{{- range .Values.volumes }}
|
||||||
- name: {{ .name }}
|
- name: {{ .name }}
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
dependencies:
|
dependencies:
|
||||||
- name: common
|
- name: common
|
||||||
repository: file://../common
|
repository: file://../common
|
||||||
version: 0.3.0
|
version: 0.3.1
|
||||||
digest: sha256:4f1fb49a840753587de0b15ccd8ae83f655fc8043d0a71a4cbec228365713b0d
|
digest: sha256:64689b29ef8b2262efbd5d49bccf40f798698d426dcfdc7c632aaf183a8cc681
|
||||||
generated: "2023-06-08T16:30:30.656437+02:00"
|
generated: "2023-08-18T08:34:24.144108449+02:00"
|
||||||
|
|||||||
@@ -19,5 +19,5 @@ version: 0.53.0
|
|||||||
|
|
||||||
dependencies:
|
dependencies:
|
||||||
- name: common
|
- name: common
|
||||||
version: 0.3.0
|
version: 0.3.1
|
||||||
repository: file://../common
|
repository: file://../common
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
@@ -1,6 +1,6 @@
|
|||||||
dependencies:
|
dependencies:
|
||||||
- name: common
|
- name: common
|
||||||
repository: file://../common
|
repository: file://../common
|
||||||
version: 0.3.0
|
version: 0.3.1
|
||||||
digest: sha256:4f1fb49a840753587de0b15ccd8ae83f655fc8043d0a71a4cbec228365713b0d
|
digest: sha256:64689b29ef8b2262efbd5d49bccf40f798698d426dcfdc7c632aaf183a8cc681
|
||||||
generated: "2023-06-08T16:30:30.052037+02:00"
|
generated: "2023-08-18T08:31:18.469039683+02:00"
|
||||||
|
|||||||
@@ -19,5 +19,5 @@ version: 0.53.0
|
|||||||
|
|
||||||
dependencies:
|
dependencies:
|
||||||
- name: common
|
- name: common
|
||||||
version: 0.3.0
|
version: 0.3.1
|
||||||
repository: file://../common
|
repository: file://../common
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
@@ -63,12 +63,12 @@ spec:
|
|||||||
{{- end }}
|
{{- end }}
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
{{- range $.Values.volumes }}
|
{{- range $.Values.volumes }}
|
||||||
{{if (or (hasPrefix "shared-" .name) (hasPrefix "init-" .name))}}
|
{{- if (or (hasPrefix "shared-" .name) (hasPrefix "init-" .name))}}
|
||||||
- mountPath: {{ .path }}
|
- mountPath: {{ .path }}
|
||||||
name: {{ .name }}
|
name: {{ .name }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{if .securityContext }}
|
{{- if .securityContext }}
|
||||||
securityContext:
|
securityContext:
|
||||||
{{- toYaml .securityContext | nindent 12 }}
|
{{- toYaml .securityContext | nindent 12 }}
|
||||||
{{- end}}
|
{{- end}}
|
||||||
@@ -91,7 +91,7 @@ spec:
|
|||||||
- name: http
|
- name: http
|
||||||
containerPort: {{ .Values.containerPort }}
|
containerPort: {{ .Values.containerPort }}
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
{{ else }}
|
{{- else }}
|
||||||
{{- range .Values.ports }}
|
{{- range .Values.ports }}
|
||||||
- name: {{ .name }}
|
- name: {{ .name }}
|
||||||
containerPort: {{ .containerPort }}
|
containerPort: {{ .containerPort }}
|
||||||
|
|||||||
@@ -31,7 +31,7 @@ spec:
|
|||||||
{{- if .Values.nodePort }}
|
{{- if .Values.nodePort }}
|
||||||
nodePort: {{ .Values.nodePort }}
|
nodePort: {{ .Values.nodePort }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{ else }}
|
{{- else }}
|
||||||
{{- range .Values.ports }}
|
{{- range .Values.ports }}
|
||||||
- name: {{ .name }}
|
- name: {{ .name }}
|
||||||
port: {{ if .svcPort }}{{ .svcPort }}{{ else }}{{ .containerPort }}{{ end }}
|
port: {{ if .svcPort }}{{ .svcPort }}{{ else }}{{ .containerPort }}{{ end }}
|
||||||
|
|||||||
+5
-3
@@ -5,8 +5,6 @@ ingress:
|
|||||||
gitRepository: github.com/laszlocph/demo-app
|
gitRepository: github.com/laszlocph/demo-app
|
||||||
gitSha: xyz
|
gitSha: xyz
|
||||||
|
|
||||||
vars:
|
|
||||||
MY_VAR: "value"
|
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
- name: testing
|
- name: testing
|
||||||
@@ -15,4 +13,8 @@ volumes:
|
|||||||
path: /deleteme
|
path: /deleteme
|
||||||
- name: empty
|
- name: empty
|
||||||
path: /deleteme2
|
path: /deleteme2
|
||||||
emptyDir: true
|
emptyDir: true
|
||||||
|
|
||||||
|
vars:
|
||||||
|
var1: value1
|
||||||
|
var2: value2
|
||||||
|
|||||||
Reference in New Issue
Block a user