postgres-operator/charts/postgres-operator-ui/templates
IO ANALYTICA 66adeddcb7
Fix invalid JSON (trailing comma) in operator-ui OPERATOR_UI_CONFIG (#3144)
The postgresql_versions array had a trailing comma after "14" in two places
that build OPERATOR_UI_CONFIG as JSON. OPERATOR_UI_CONFIG is parsed by the UI
with Python's json.loads() (operator_ui/main.py), which rejects trailing
commas, so the config fails to load:

  json.decoder.JSONDecodeError: Expecting value: line 25 column 3

Remove the trailing comma in:
- charts/postgres-operator-ui/templates/deployment.yaml (chart Deployment)
- ui/run_local.sh (local dev default_operator_ui_config)

ui/manifests/deployment.yaml and the Python DEFAULT_UI_CONFIG in
operator_ui/main.py were already correct.

Fixes #3062
2026-07-28 16:27:06 +02:00
..
NOTES.txt add first version of ui helm chart (#795) 2020-02-05 16:54:46 +01:00
_helpers.tpl postgres-pod clusterrole (#832) 2020-02-19 12:32:54 +01:00
clusterrole.yaml fix env var in UI chart (#967) 2020-05-08 13:02:27 +02:00
clusterrolebinding.yaml postgres-pod clusterrole (#832) 2020-02-19 12:32:54 +01:00
deployment.yaml Fix invalid JSON (trailing comma) in operator-ui OPERATOR_UI_CONFIG (#3144) 2026-07-28 16:27:06 +02:00
ingress.yaml [UI] revert index.html base url and provide USE_AWS_INSTANCE_PROFILE example (#2403) 2023-09-04 16:25:53 +02:00
service.yaml Add custom annotations to postgres-operator-ui objects (#1748) 2023-01-05 15:05:11 +01:00
serviceaccount.yaml Add namespace to helm chart resources that need them (#1531) 2021-07-07 14:47:49 +02:00