Skip to content

Commit

Permalink
docs(serviceintegrationendpoint): add docs page and example (#722)
Browse files Browse the repository at this point in the history
  • Loading branch information
byashimov authored May 2, 2024
1 parent 662ecf1 commit ee726f0
Show file tree
Hide file tree
Showing 3 changed files with 44 additions and 0 deletions.
19 changes: 19 additions & 0 deletions docs/docs/api-reference/examples/serviceintegrationendpoint.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
apiVersion: aiven.io/v1alpha1
kind: ServiceIntegrationEndpoint
metadata:
name: my-endpoint
spec:
authSecretRef:
name: aiven-token
key: token

project: aiven-project-name
endpointName: my-endpoint
endpointType: external_postgresql

externalPostgresql:
username: username
password: password
host: host
port: 5432
ssl_mode: disable
24 changes: 24 additions & 0 deletions docs/docs/api-reference/serviceintegrationendpoint.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,30 @@
title: "ServiceIntegrationEndpoint"
---

## Usage example

```yaml
apiVersion: aiven.io/v1alpha1
kind: ServiceIntegrationEndpoint
metadata:
name: my-endpoint
spec:
authSecretRef:
name: aiven-token
key: token

project: aiven-project-name
endpointName: my-endpoint
endpointType: external_postgresql

externalPostgresql:
username: username
password: password
host: host
port: 5432
ssl_mode: disable
```
## ServiceIntegrationEndpoint {: #ServiceIntegrationEndpoint }
ServiceIntegrationEndpoint is the Schema for the serviceintegrationendpoints API.
Expand Down
1 change: 1 addition & 0 deletions docs/mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -108,4 +108,5 @@ nav:
- api-reference/projectvpc.md
- api-reference/redis.md
- api-reference/serviceintegration.md
- api-reference/serviceintegrationendpoint.md
- api-reference/serviceuser.md

0 comments on commit ee726f0

Please sign in to comment.