File tree Expand file tree Collapse file tree 3 files changed +22
-2
lines changed Expand file tree Collapse file tree 3 files changed +22
-2
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ type: application
15
15
# This is the chart version. This version number should be incremented each time you make changes
16
16
# to the chart and its templates, including the app version.
17
17
# Versions are expected to follow Semantic Versioning (https://semver.org/)
18
- version : 3.5 .0
18
+ version : 3.6 .0
19
19
20
20
# This is the version number of the application being deployed. This version number should be
21
21
# incremented each time you make changes to the application. Versions are not expected to
@@ -31,3 +31,6 @@ dependencies:
31
31
version : 11.6.20
32
32
repository : https://charts.bitnami.com/bitnami
33
33
condition : postgresql.enabled
34
+
35
+ annotations :
36
+ repository : robjuz/helm-charts
Original file line number Diff line number Diff line change @@ -128,3 +128,10 @@ pgsql:host={{ include "nominatim.databaseHost" . }};port={{ include "nominatim.d
128
128
{ {- define " nominatim.uiUrl" -} }
129
129
{ {- printf " https://github.com/osm-search/nominatim-ui/releases/download/v%s/nominatim-ui-%s.tar.gz" .Values.nominatimUi.version .Values.nominatimUi.version } }
130
130
{ {- end } }
131
+
132
+ { {/*
133
+ Create user agent string for curl
134
+ */} }
135
+ { {- define " chart.userAgent" -} }
136
+ { {- printf " %s/%s:%s" .Chart.Annotations.Repository .Chart.Name .Chart.Version } }
137
+ { {- end } }
Original file line number Diff line number Diff line change 25
25
name : data
26
26
command :
27
27
- curl
28
+ - -A {{ include "chart.userAgent" . }}
28
29
- {{ .Values.nominatimInitialize.customStyleUrl }}
29
30
- -L
31
+ - -f
30
32
- -o
31
33
- custom.style
32
34
{{- end }}
40
42
name : data
41
43
command :
42
44
- curl
45
+ - -A {{ include "chart.userAgent" . }}
43
46
- {{ .Values.nominatimInitialize.wikipediaUrl }}
44
47
- -L
48
+ - -f
45
49
- -o
46
50
- wikimedia-importance.sql.gz
47
51
{{- end }}
55
59
name : data
56
60
command :
57
61
- curl
62
+ - -A {{ include "chart.userAgent" . }}
58
63
- https://www.nominatim.org/data/gb_postcodes.csv.gz
59
64
- -L
65
+ - -f
60
66
- -o
61
67
- gb_postcodes.csv.gz
62
68
{{- end }}
70
76
name : data
71
77
command :
72
78
- curl
79
+ - -A {{ include "chart.userAgent" . }}
73
80
- https://www.nominatim.org/data/us_postcodes.csv.gz
74
81
- -L
82
+ - -f
75
83
- -o
76
84
- us_postcodes.csv.gz
77
85
{{- end }}
84
92
name : data
85
93
command :
86
94
- curl
87
- - -L
95
+ - -A {{ include "chart.userAgent" . }}
88
96
- {{ .Values.nominatimInitialize.pbfUrl }}
89
97
- --create-dirs
98
+ - -L
99
+ - -f
90
100
- -o
91
101
- data.osm.pbf
92
102
You can’t perform that action at this time.
0 commit comments