Skip to content

Commit 9f23bac

Browse files
committed
📚 Sync docs from alaudadevops/tektoncd-operator on d29479bcac2a1d45a0c11d058d4ad26274a8939f
Source: chore(results): adapt to data service postgresql (#227) Author: l-qing Ref: refs/heads/release-4.1 Commit: d29479bcac2a1d45a0c11d058d4ad26274a8939f This commit automatically syncs documentation changes from the source-docs repository. 🔗 View source commit: AlaudaDevops/tektoncd-operator@d29479b 🤖 Synced on 2025-07-16 09:01:55 UTC
1 parent ea134bb commit 9f23bac

File tree

2 files changed

+15
-4
lines changed

2 files changed

+15
-4
lines changed

‎.github/SYNC_INFO.md‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
# Documentation Sync Information
22

3-
- **Last synced**: 2025-07-16 04:16:28 UTC
3+
- **Last synced**: 2025-07-16 09:01:54 UTC
44
- **Source repository**: alaudadevops/tektoncd-operator
5-
- **Source commit**: [492bbb1fd55693fb66ed67ae872219ba134a4f25](https://github.com/alaudadevops/tektoncd-operator/commit/492bbb1fd55693fb66ed67ae872219ba134a4f25)
5+
- **Source commit**: [d29479bcac2a1d45a0c11d058d4ad26274a8939f](https://github.com/alaudadevops/tektoncd-operator/commit/d29479bcac2a1d45a0c11d058d4ad26274a8939f)
66
- **Triggered by**: l-qing
7-
- **Workflow run**: [#18](https://github.com/alaudadevops/tektoncd-operator/actions/runs/16310247875)
7+
- **Workflow run**: [#19](https://github.com/alaudadevops/tektoncd-operator/actions/runs/16315149670)
88

99
## Files synced:
1010
- docs/

‎docs/en/results/configure/database_configuration.mdx‎

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,7 @@ spec:
109109
db_host: your-postgres-host.example.com
110110
db_port: 5432
111111
db_name: tekton_results
112+
db_sslmode: allow
112113
secret_name: tekton-results-postgres
113114
```
114115
@@ -255,6 +256,14 @@ kubectl get pods -n tekton-pipelines -l app.kubernetes.io/name=tekton-results-ap
255256
kubectl get pods -n tekton-pipelines -l app.kubernetes.io/name=tekton-results-retention-policy-agent
256257
```
257258

259+
:::warning
260+
If you update the `db_sslmode` field, you may need to recreate the `TektonResult` resource for the changes to take effect.
261+
262+
```bash
263+
kubectl get tektonresults.operator.tekton.dev result -o yaml | kubectl replace --force -f -
264+
```
265+
:::
266+
258267
### Troubleshooting
259268

260269
#### Common Issues
@@ -301,7 +310,9 @@ kubectl get secret -n <ns-of-postgresql-instance> -l middleware.instance/type=Po
301310

302311
:::info
303312

304-
This Secret contains `host`, `port`, `username`, `password` information. You need to supplement `database` and `sslmode` (set to `allow` or `prefer`) information based on this Secret, and create a new secret in the namespace where the Tekton Results instance is located.
313+
This Secret contains `host`, `port`, `username`, `password` information. You need to supplement `database` information based on this Secret, and create a new secret in the namespace where the Tekton Results instance is located.
314+
315+
If you need to set `sslmode`, please set `db_sslmode` in `TektonResult` to `allow` or `prefer` etc.
305316

306317
For more PostgreSQL deployment parameters and requirements, please refer to <ExternalSiteLink name="postgresql" href="/installation.html" children="PostgreSQL Deployment Documentation" />.
307318
:::

0 commit comments

Comments
 (0)