Skip to content

Commit

Permalink
Release v0.4.0
Browse files Browse the repository at this point in the history
Signed-off-by: Scott Andrews <andrewssc@vmware.com>
  • Loading branch information
scothis committed Jul 23, 2021
1 parent 0a2f545 commit da6e4b0
Show file tree
Hide file tree
Showing 5 changed files with 32 additions and 30 deletions.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.4.0-snapshot
0.4.0
4 changes: 2 additions & 2 deletions samples/controlled-resource/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,13 +71,13 @@ Assuming ingress is properly configured, an invocable URL will be returned for t

```
NAME URL
controlled-resource http://controlled-resource.default.1.2.3.4.xip.io
controlled-resource http://controlled-resource.default.{YOUR_CLUSTERS_HOSTNAME}
```

Make a request to the service.

```sh
curl http://controlled-resource.default.1.2.3.4.xip.io
curl http://controlled-resource.default.{YOUR_CLUSTERS_HOSTNAME}
Hello service binding!
```

Expand Down
22 changes: 12 additions & 10 deletions samples/multi-binding/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,20 +30,22 @@ For each service binding, the `ServiceAvailable` condition should be `True` and

```
...
conditions:
- lastTransitionTime: "2020-08-03T15:25:45Z"
conditions:
- lastTransitionTime: "2021-07-23T16:41:31Z"
message: jobs.batch "multi-binding" not found
reason: ApplicationMissing
status: "False"
type: ProjectionReady
- lastTransitionTime: "2020-08-03T15:25:45Z"
message: jobs.batch "multi-binding" not found
reason: ApplicationMissing
reason: ProjectionReadyApplicationMissing
status: "False"
type: Ready
- lastTransitionTime: "2020-08-03T15:25:45Z"
- lastTransitionTime: "2021-07-23T16:41:31Z"
message: ""
reason: Available
status: "True"
type: ServiceAvailable
- lastTransitionTime: "2021-07-23T16:41:31Z"
message: jobs.batch "multi-binding" not found
reason: ApplicationMissing
status: "False"
type: ProjectionReady
```

Create the application `Job`:
Expand Down Expand Up @@ -75,7 +77,7 @@ We should see our injected environment variable as well as other variable common
Inspect the logs from the job:

```sh
kubectl logs -l job-name=multi-binding
kubectl logs -l job-name=multi-binding --tail 100
```

```
Expand Down
20 changes: 11 additions & 9 deletions samples/overridden-type-provider/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,19 +31,21 @@ For each service binding, the `ServiceAvailable` condition should be `True` and
```
...
conditions:
- lastTransitionTime: "2020-08-03T15:25:45Z"
- lastTransitionTime: "2021-07-23T16:46:58Z"
message: jobs.batch "overridden-type-provider" not found
reason: ApplicationMissing
status: "False"
type: ProjectionReady
- lastTransitionTime: "2020-08-03T15:25:45Z"
message: jobs.batch "overridden-type-provider" not found
reason: ApplicationMissing
reason: ProjectionReadyApplicationMissing
status: "False"
type: Ready
- lastTransitionTime: "2020-08-03T15:25:45Z"
- lastTransitionTime: "2021-07-23T16:46:58Z"
message: ""
reason: Available
status: "True"
type: ServiceAvailable
- lastTransitionTime: "2021-07-23T16:46:58Z"
message: jobs.batch "overridden-type-provider" not found
reason: ApplicationMissing
status: "False"
type: ProjectionReady
```

Create the application `Job`:
Expand Down Expand Up @@ -75,7 +77,7 @@ We should see our injected environment variable as well as other variable common
Inspect the logs from the job:

```sh
kubectl logs -l job-name=overridden-type-provider
kubectl logs -l job-name=overridden-type-provider --tail 100
```

```
Expand Down
14 changes: 6 additions & 8 deletions samples/spring-petclinic/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,19 +35,17 @@ The describe output will contain:
...
Containers:
application:
Image: scothis/petclinic:service-bindings
Port: <none>
Host Port: <none>
...
Environment:
SPRING_PROFILES_ACTIVE: mysql
SERVICE_BINDING_ROOT: /bindings
Mounts:
/bindings/spring-petclinic-db from binding-49a23274b0590d5057aae1ae621be723716c4dd5 (ro)
/bindings/spring-petclinic-db from binding-4b2c350fb984fc36b6cf39515a2efced0fcb5053 (ro)
Volumes:
binding-49a23274b0590d5057aae1ae621be723716c4dd5:
Type: Secret (a volume populated by a Secret)
SecretName: spring-petclinic-db
Optional: false
binding-4b2c350fb984fc36b6cf39515a2efced0fcb5053:
Type: Projected (a volume that contains injected data from multiple sources)
SecretName: spring-petclinic-db
SecretOptionalName: <nil>
...
```

Expand Down

0 comments on commit da6e4b0

Please sign in to comment.