mirror of
https://github.com/bjw-s-labs/helm-charts.git
synced 2025-07-04 00:47:04 +02:00
feat(common): Release v2.3.0 (#228)
Signed-off-by: Christopher Larivière <lariviere.c@gmail.com> Co-authored-by: Christopher Larivière <lariviere.c@gmail.com>
This commit is contained in:
parent
8bfc33eb8a
commit
0eac5ba7d7
23 changed files with 638 additions and 17 deletions
|
@ -44,4 +44,10 @@ spec:
|
|||
{{- if $pvcObject.volumeName }}
|
||||
volumeName: {{ $pvcObject.volumeName | quote }}
|
||||
{{- end }}
|
||||
{{- with $pvcObject.dataSource }}
|
||||
dataSource: {{- tpl (toYaml .) $rootContext | nindent 10 }}
|
||||
{{- end }}
|
||||
{{- with $pvcObject.dataSourceRef }}
|
||||
dataSourceRef: {{- tpl (toYaml .) $rootContext | nindent 10 }}
|
||||
{{- end }}
|
||||
{{- end -}}
|
||||
|
|
|
@ -69,11 +69,15 @@ spec:
|
|||
port: {{ default .port $servicePrimaryPort.port }}
|
||||
weight: {{ default 1 .weight }}
|
||||
{{- end }}
|
||||
{{- if (eq $routeKind "HTTPRoute") }}
|
||||
{{- if or (eq $routeKind "HTTPRoute") (eq $routeKind "GRPCRoute") }}
|
||||
{{- with .matches }}
|
||||
matches:
|
||||
{{- toYaml . | nindent 6 }}
|
||||
{{- end }}
|
||||
{{- with .filters }}
|
||||
filters:
|
||||
{{- toYaml . | nindent 6 }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
|
|
|
@ -90,6 +90,9 @@ spec:
|
|||
{{- if (and (eq $svcType "NodePort") (not (empty $port.nodePort))) }}
|
||||
nodePort: {{ $port.nodePort }}
|
||||
{{ end }}
|
||||
{{- if (not (empty $port.appProtocol)) }}
|
||||
appProtocol: {{ $port.appProtocol }}
|
||||
{{ end }}
|
||||
{{- end -}}
|
||||
{{- with (merge
|
||||
($serviceObject.extraSelectorLabels | default dict)
|
||||
|
|
|
@ -71,7 +71,8 @@ Env field used by the container.
|
|||
{{- $output = append $output (dict "name" .name "value" .value) -}}
|
||||
{{- end -}}
|
||||
{{- else if hasKey . "valueFrom" -}}
|
||||
{{- $output = append $output (dict "name" .name "valueFrom" .valueFrom) -}}
|
||||
{{- $parsedValue := (tpl (.valueFrom | toYaml) $rootContext) | fromYaml -}}
|
||||
{{- $output = append $output (dict "name" .name "valueFrom" $parsedValue) -}}
|
||||
{{- else -}}
|
||||
{{- $output = append $output (dict "name" .name "valueFrom" (omit . "name")) -}}
|
||||
{{- end -}}
|
||||
|
|
|
@ -22,6 +22,12 @@ spec:
|
|||
{{- if $values.storageClass }}
|
||||
storageClassName: {{ if (eq "-" $values.storageClass) }}""{{- else }}{{ $values.storageClass | quote }}{{- end }}
|
||||
{{- end }}
|
||||
{{- with $values.dataSource }}
|
||||
dataSource: {{- tpl (toYaml .) $rootContext | nindent 10 }}
|
||||
{{- end }}
|
||||
{{- with $values.dataSourceRef }}
|
||||
dataSourceRef: {{- tpl (toYaml .) $rootContext | nindent 10 }}
|
||||
{{- end }}
|
||||
{{- end -}}
|
||||
|
||||
{{/*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue