diff --git a/charts/rs-server-catalog-db/templates/configmap.yaml b/charts/rs-server-catalog-db/templates/configmap.yaml index d0dbd5a..cba9736 100644 --- a/charts/rs-server-catalog-db/templates/configmap.yaml +++ b/charts/rs-server-catalog-db/templates/configmap.yaml @@ -31,7 +31,7 @@ data: ON CONFLICT DO NOTHING; UPDATE pgstac.stac_extensions - SET content='$(cat /opt/pgstack_json_schema/{{ join "_" (slice ( . | splitList "/" ) 3 ) }})' + SET content=\$EscapeQuote\$$(cat /opt/pgstack_json_schema/{{ join "_" (slice ( . | splitList "/" ) 3 ) }})\$EscapeQuote\$ WHERE url={{ . | squote }} ; EOSQL