Skip to content

Commit

Permalink
Merge pull request InseeFrLab#85 from phlg/main
Browse files Browse the repository at this point in the history
Add `library-chart.sparkNonProxyHosts` variable in _configmap.tpl
  • Loading branch information
phlg authored Sep 5, 2023
2 parents c2a5861 + 23a75b1 commit 2c25701
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
2 changes: 1 addition & 1 deletion charts/library-chart/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
apiVersion: v2
name: library-chart
version: 1.4.0
version: 1.4.1
type: library
2 changes: 1 addition & 1 deletion charts/library-chart/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# library-chart

![Version: 1.4.0](https://img.shields.io/badge/Version-1.4.0-informational?style=flat-square) ![Type: library](https://img.shields.io/badge/Type-library-informational?style=flat-square)
![Version: 1.4.1](https://img.shields.io/badge/Version-1.4.1-informational?style=flat-square) ![Type: library](https://img.shields.io/badge/Type-library-informational?style=flat-square)

----------------------------------------------
Autogenerated from chart metadata using [helm-docs v1.11.0](https://github.com/norwoodj/helm-docs/releases/v1.11.0)
7 changes: 7 additions & 0 deletions charts/library-chart/templates/_configmap.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -236,6 +236,13 @@ data:
{{- end }}

{{/* ConfigMap for SparkConf Metastore */}}
{{/*
Build a spark (or java) oriented non proxy hosts list from the linux based noProxy variable
*/}}
{{- define "library-chart.sparkNonProxyHosts" -}}
{{- default "localhost" (regexReplaceAllLiteral "\\|\\." (regexReplaceAllLiteral "^(\\.)" (replace "," "|" .Values.proxy.noProxy) "*.") "|*.") }}
{{- end }}

{{- define "library-chart.sparkConf" -}}
{{- $context:= .}}
{{- range $key, $value := default dict .Values.spark.config }}
Expand Down

0 comments on commit 2c25701

Please sign in to comment.