Skip to content

Commit eb0dbf1

Browse files
committed
Update helm chart
1 parent 00225c2 commit eb0dbf1

File tree

3 files changed

+9
-133
lines changed

3 files changed

+9
-133
lines changed

docker/helm/Chart.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
apiVersion: v2
22
name: pycsw
33
description: A Helm chart for pycsw
4-
version: 1.4.2
5-
appVersion: 3.0.0-dev0
4+
version: 3.0.0-beta2
5+
appVersion: 3.0.0-beta2

docker/helm/templates/pycsw-configmap.yaml

Lines changed: 2 additions & 131 deletions
Original file line numberDiff line numberDiff line change
@@ -1,138 +1,9 @@
11
apiVersion: v1
22
data:
33
pycsw.yml: |+
4-
# =================================================================
5-
#
6-
# Authors: Tom Kralidis <tomkralidis@gmail.com>
7-
# Angelos Tzotsos <tzotsos@gmail.com>
8-
#
9-
# Copyright (c) 2023 Tom Kralidis
10-
# Copyright (c) 2024 Angelos Tzotsos
11-
#
12-
# Permission is hereby granted, free of charge, to any person
13-
# obtaining a copy of this software and associated documentation
14-
# files (the "Software"), to deal in the Software without
15-
# restriction, including without limitation the rights to use,
16-
# copy, modify, merge, publish, distribute, sublicense, and/or sell
17-
# copies of the Software, and to permit persons to whom the
18-
# Software is furnished to do so, subject to the following
19-
# conditions:
20-
#
21-
# The above copyright notice and this permission notice shall be
22-
# included in all copies or substantial portions of the Software.
23-
#
24-
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
25-
# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
26-
# OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
27-
# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
28-
# HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
29-
# WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
30-
# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
31-
# OTHER DEALINGS IN THE SOFTWARE.
32-
#
33-
# =================================================================
34-
server:
35-
{{ if .Values.pycsw.config.server.home }} home: {{ .Values.pycsw.config.server.home }}
36-
{{ end }}{{ if .Values.pycsw.config.server.url }} url: {{ .Values.pycsw.config.server.url }}
37-
{{ end }}{{ if .Values.pycsw.config.server.mimetype }} mimetype: {{ .Values.pycsw.config.server.mimetype }}
38-
{{ end }}{{ if .Values.pycsw.config.server.encoding }} encoding: {{ .Values.pycsw.config.server.encoding }}
39-
{{ end }}{{ if .Values.pycsw.config.server.language }} language: {{ .Values.pycsw.config.server.language }}
40-
{{ end }}{{ if .Values.pycsw.config.server.maxrecords }} maxrecords: {{ .Values.pycsw.config.server.maxrecords }}
41-
{{ end }}{{ if .Values.pycsw.config.server.ogc_schemas_base }} ogc_schemas_base: {{ .Values.pycsw.config.server.ogc_schemas_base }}
42-
{{ end }}{{ if .Values.pycsw.config.server.pretty_print }} pretty_print: {{ .Values.pycsw.config.server.pretty_print }}
43-
{{ end }}{{ if .Values.pycsw.config.server.gzip_compresslevel }} gzip_compresslevel: {{ .Values.pycsw.config.server.gzip_compresslevel }}
44-
{{ end }}{{ if .Values.pycsw.config.server.domainquerytype }} domainquerytype: {{ .Values.pycsw.config.server.domainquerytype }}
45-
{{ end }}{{ if .Values.pycsw.config.server.domaincounts }} domaincounts: {{ .Values.pycsw.config.server.domaincounts }}
46-
{{ end }}{{ if .Values.pycsw.config.server.spatial_ranking }} spatial_ranking: {{ .Values.pycsw.config.server.spatial_ranking }}
47-
{{ end }}{{ if .Values.pycsw.config.server.workers }} workers: {{ .Values.pycsw.config.server.workers }}
48-
{{ end }}{{ if .Values.pycsw.config.server.timeout }} timeout: {{ .Values.pycsw.config.server.timeout }}
49-
{{ end }}
50-
logging:
51-
{{ if .Values.pycsw.config.logging.level }} level: {{ .Values.pycsw.config.logging.level }}
52-
{{ end }}{{ if .Values.pycsw.config.logging.logfile }} logfile: {{ .Values.pycsw.config.logging.logfile }}
53-
{{ end }}
54-
profiles:
55-
{{- range $.Values.pycsw.config.profiles }}
56-
- {{ . }}
4+
{{- if .Values.pycsw.config }}
5+
{{- toYaml .Values.pycsw.config | nindent 4 -}}
576
{{- end }}
58-
{{ if .Values.pycsw.config.federatedcatalogues }} federatedcatalogues:
59-
{{- range $.Values.pycsw.config.federatedcatalogues }}
60-
- {{ . }}
61-
{{- end }}
62-
{{ end }}
63-
manager:
64-
{{ if .Values.pycsw.config.manager.transactions }} transactions: {{ .Values.pycsw.config.manager.transactions }}
65-
{{ end }}{{ if .Values.pycsw.config.manager.allowed_ips }} allowed_ips:
66-
{{- range $.Values.pycsw.config.manager.allowed_ips }}
67-
- {{ . }}
68-
{{- end }}
69-
{{ end }}{{ if .Values.pycsw.config.manager.csw_harvest_pagesize }} csw_harvest_pagesize: {{ .Values.pycsw.config.manager.csw_harvest_pagesize }}
70-
{{ end }}
71-
metadata:
72-
identification:
73-
{{ if .Values.pycsw.config.metadata.identification.title }} title: {{ .Values.pycsw.config.metadata.identification.title }}
74-
{{ end }}{{ if .Values.pycsw.config.metadata.identification.description }} description: {{ .Values.pycsw.config.metadata.identification.description }}
75-
{{ end }}{{ if .Values.pycsw.config.metadata.identification.keywords }} keywords:
76-
{{- range $.Values.pycsw.config.metadata.identification.keywords }}
77-
- {{ . }}
78-
{{- end }}
79-
{{ end }}{{ if .Values.pycsw.config.metadata.identification.keywords_type }} keywords_type: {{ .Values.pycsw.config.metadata.identification.keywords_type }}
80-
{{ end }}{{ if .Values.pycsw.config.metadata.identification.fees }} fees: {{ .Values.pycsw.config.metadata.identification.fees }}
81-
{{ end }}{{ if .Values.pycsw.config.metadata.identification.accessconstraints }} accessconstraints: {{ .Values.pycsw.config.metadata.identification.accessconstraints }}
82-
{{ end }}{{ if .Values.pycsw.config.metadata.identification.terms_of_service }} terms_of_service: {{ .Values.pycsw.config.metadata.identification.terms_of_service }}
83-
{{ end }}{{ if .Values.pycsw.config.metadata.identification.url }} url: {{ .Values.pycsw.config.metadata.identification.url }}
84-
{{ end }} license:
85-
{{ if .Values.pycsw.config.metadata.license.name }} name: {{ .Values.pycsw.config.metadata.license.name }}
86-
{{ end }}{{ if .Values.pycsw.config.metadata.license.url }} url: {{ .Values.pycsw.config.metadata.license.url }}
87-
{{ end }} provider:
88-
{{ if .Values.pycsw.config.metadata.provider.name }} name: {{ .Values.pycsw.config.metadata.provider.name }}
89-
{{ end }}{{ if .Values.pycsw.config.metadata.provider.url }} url: {{ .Values.pycsw.config.metadata.provider.url }}
90-
{{ end }} contact:
91-
{{ if .Values.pycsw.config.metadata.contact.name }} name: {{ .Values.pycsw.config.metadata.contact.name }}
92-
{{ end }}{{ if .Values.pycsw.config.metadata.contact.position }} position: {{ .Values.pycsw.config.metadata.contact.position }}
93-
{{ end }}{{ if .Values.pycsw.config.metadata.contact.address }} address: {{ .Values.pycsw.config.metadata.contact.address }}
94-
{{ end }}{{ if .Values.pycsw.config.metadata.contact.city }} city: {{ .Values.pycsw.config.metadata.contact.city }}
95-
{{ end }}{{ if .Values.pycsw.config.metadata.contact.stateorprovince }} stateorprovince: {{ .Values.pycsw.config.metadata.contact.stateorprovince }}
96-
{{ end }}{{ if .Values.pycsw.config.metadata.contact.postalcode }} postalcode: {{ .Values.pycsw.config.metadata.contact.postalcode }}
97-
{{ end }}{{ if .Values.pycsw.config.metadata.contact.country }} country: {{ .Values.pycsw.config.metadata.contact.country }}
98-
{{ end }}{{ if .Values.pycsw.config.metadata.contact.phone }} phone: {{ .Values.pycsw.config.metadata.contact.phone }}
99-
{{ end }}{{ if .Values.pycsw.config.metadata.contact.fax }} fax: {{ .Values.pycsw.config.metadata.contact.fax }}
100-
{{ end }}{{ if .Values.pycsw.config.metadata.contact.email }} email: {{ .Values.pycsw.config.metadata.contact.email }}
101-
{{ end }}{{ if .Values.pycsw.config.metadata.contact.url }} url: {{ .Values.pycsw.config.metadata.contact.url }}
102-
{{ end }}{{ if .Values.pycsw.config.metadata.contact.hours }} hours: {{ .Values.pycsw.config.metadata.contact.hours }}
103-
{{ end }}{{ if .Values.pycsw.config.metadata.contact.instructions }} instructions: {{ .Values.pycsw.config.metadata.contact.instructions }}
104-
{{ end }}{{ if .Values.pycsw.config.metadata.contact.role }} role: {{ .Values.pycsw.config.metadata.contact.role }}
105-
{{ end }} inspire:
106-
{{ if .Values.pycsw.config.metadata.inspire.enabled }} enabled: {{ .Values.pycsw.config.metadata.inspire.enabled }}
107-
{{ end }}{{ if .Values.pycsw.config.metadata.inspire.languages_supported }} languages_supported:
108-
{{- range $.Values.pycsw.config.metadata.inspire.languages_supported }}
109-
- {{ . }}
110-
{{- end }}
111-
{{ end }}{{ if .Values.pycsw.config.metadata.inspire.default_language }} default_language: {{ .Values.pycsw.config.metadata.inspire.default_language }}
112-
{{ end }}{{ if .Values.pycsw.config.metadata.inspire.date }} date: {{ .Values.pycsw.config.metadata.inspire.date }}
113-
{{ end }}{{ if .Values.pycsw.config.metadata.inspire.gemet_keywords }} gemet_keywords:
114-
{{- range $.Values.pycsw.config.metadata.inspire.gemet_keywords }}
115-
- {{ . }}
116-
{{- end }}
117-
{{ end }}{{ if .Values.pycsw.config.metadata.inspire.conformity_service }} conformity_service: {{ .Values.pycsw.config.metadata.inspire.conformity_service }}
118-
{{ end }}{{ if .Values.pycsw.config.metadata.inspire.contact_name }} contact_name: {{ .Values.pycsw.config.metadata.inspire.contact_name }}
119-
{{ end }}{{ if .Values.pycsw.config.metadata.inspire.contact_email }} contact_email: {{ .Values.pycsw.config.metadata.inspire.contact_email }}
120-
{{ end }}{{ if .Values.pycsw.config.metadata.inspire.temp_extent }} temp_extent:
121-
{{ if .Values.pycsw.config.metadata.inspire.temp_extent.begin }} begin: {{ .Values.pycsw.config.metadata.inspire.temp_extent.begin }}
122-
{{ end }}{{ if .Values.pycsw.config.metadata.inspire.temp_extent.end }} end: {{ .Values.pycsw.config.metadata.inspire.temp_extent.end }}
123-
{{- end }}
124-
{{ end }}
125-
repository:
126-
{{ if .Values.pycsw.config.repository.database }} database: {{ .Values.pycsw.config.repository.database }}
127-
{{ end }}{{ if .Values.pycsw.config.repository.mappings }} mappings: {{ .Values.pycsw.config.repository.mappings }}
128-
{{ end }}{{ if .Values.pycsw.config.repository.table }} table: {{ .Values.pycsw.config.repository.table }}
129-
{{ end }}{{ if .Values.pycsw.config.repository.filter }} filter: {{ .Values.pycsw.config.repository.filter }}
130-
{{ end }}{{ if .Values.pycsw.config.repository.max_retries }} max_retries: {{ .Values.pycsw.config.repository.max_retries }}
131-
{{ end }}{{ if .Values.pycsw.config.repository.facets }} facets:
132-
{{- range $.Values.pycsw.config.repository.facets }}
133-
- {{ . }}
134-
{{- end }}
135-
{{ end }}
1367

1378
kind: ConfigMap
1389
metadata:

docker/helm/values.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,10 @@ pycsw:
5454
allowed_ips:
5555
- 127.0.0.1
5656
csw_harvest_pagesize: 10
57+
# pubsub:
58+
# broker:
59+
# type: mqtt
60+
# url: mqtt://localhost:1883
5761
metadata:
5862
identification:
5963
title: pycsw Geospatial Catalogue
@@ -109,6 +113,7 @@ pycsw:
109113
# mappings: path/to/mappings.py
110114
# filter: type = 'http://purl.org/dc/dcmitype/Dataset'
111115
# max_retries: 5
116+
# stable_sort: true
112117
facets:
113118
- type
114119
- title

0 commit comments

Comments
 (0)