Skip to content

Commit ec5af59

Browse files
Merge pull request #671 from fmui/k8s-instance-name
Add `instance_name` to K8S profile
2 parents 6c9f8c8 + 4a07da1 commit ec5af59

File tree

1 file changed

+19
-2
lines changed

1 file changed

+19
-2
lines changed

profile.md

Lines changed: 19 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -306,13 +306,30 @@ The following properties are defined for usage within a Kubernetes deployment:
306306
"clusterid": "644e1dd7-2a7f-18fb-b8ed-ed78c3f92c2b"
307307
```
308308

309+
310+
- `instance_name`
311+
312+
Version: 2.15
313+
314+
The name of the Service Instance.
315+
Note that the name of a Service Instance in Kubernetes MAY be changed.
316+
This property MUST be a non-empty string serialized as follows:
317+
```
318+
"instance_name": "instance-name-here"
319+
```
320+
For example:
321+
```
322+
"instance_name": "my-db"
323+
```
324+
325+
309326
The following table specifies which properties will appear in each API.
310327
All properties specified are REQUIRED unless otherwise noted.
311328

312329
| Request API | Properties |
313330
| --- | --- |
314-
| `PUT /v2/service_instances/:instance_id` | `namespace`, `clusterid` |
315-
| `PATCH /v2/service_instances/:instance_id` | `namespace`, `clusterid` |
331+
| `PUT /v2/service_instances/:instance_id` | `namespace`, `clusterid`, `instance_name` |
332+
| `PATCH /v2/service_instances/:instance_id` | `namespace`, `clusterid`, `instance_name` |
316333
| `PUT /v2/service_instances/:instance_id/service_bindings/:binding_id` | `namespace`, `clusterid` |
317334

318335
Example:

0 commit comments

Comments
 (0)