Skip to content
This repository was archived by the owner on Nov 16, 2020. It is now read-only.

Commit 00e7e24

Browse files
authored
Merge pull request #509 from neosab/release_0_1_17
Update CHANGELOG and docs for v0.1.17 release
2 parents 07693ee + 5adb704 commit 00e7e24

File tree

2 files changed

+117
-5
lines changed

2 files changed

+117
-5
lines changed

CHANGELOG.md

Lines changed: 16 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,18 +3,29 @@ All notable changes to this project will be documented in this file. For more in
33
[What's New](https://vmware.github.io/dispatch/news) section on Dispatch website.
44

55

6-
## [Unreleased] - [[Git compare](https://github.com/vmware/dispatch/compare/v0.1.16...HEAD)]
6+
## [Unreleased] - [[Git compare](https://github.com/vmware/dispatch/compare/v0.1.17...HEAD)]
77

88
### Added
99

10-
- New CLI Command `dispatch manage bootstrap` to bootstrap Dispatch with a new organization, service account and policies upon installation. [PR #501](https://github.com/vmware/dispatch/pull/501).
10+
### Fixed
11+
12+
## [0.1.17] - 2018-06-12 - [[Git compare](https://github.com/vmware/dispatch/compare/v0.1.16...v0.1.17)] [[What's new](https://vmware.github.io/dispatch/2018/06/12/v0-1-17-release.html)]
1113

14+
### Added
15+
16+
- **Improved IAM bootstrap workflow.** New CLI Command `dispatch manage bootstrap` to automatically bootstrap Dispatch with a new organization, service account and policies upon installation. This replaces
17+
the `dispatch manage --enable-bootstrap-mode` command that required the user to manually enter the bootstrap mode to create the authorization accounts and policies. [PR #501](https://github.com/vmware/dispatch/pull/501).
18+
- **New CLI Command to print the versions.** A New CLI Command `dispatch version` to print the client and server versions has been introduced. As part of this change a new `/v1/version` API has been added
19+
to the Identity Manager service that returns the current server version. The client version is embedded into the `dispatch` binary. [PR #500](https://github.com/vmware/dispatch/pull/500).
20+
- **New CLI command to create seed images.** A New CLI Command `dispatch create seed-images` to create base-images and images of commonly used languages in the dispatch community. The revision of the created base-images/images
21+
corresponds to that of the CLI's. [PR #507](https://github.com/vmware/dispatch/pull/507)
22+
1223
### Fixed
1324

1425
- [[Issue #251](https://github.com/vmware/dispatch/issues/251)] **Deleting image deletes its base-image if they have the same name.**
1526
Previously when deleting an image with the same name as a base-image, the base-image would also be deleted at the same time. It's fixed now. [PR #504](https://github.com/vmware/dispatch/pull/504).
1627

17-
## [0.1.16] - 2017-06-06 - [[Git compare](https://github.com/vmware/dispatch/compare/v0.1.15...v0.1.16)] [[What's new](https://vmware.github.io/dispatch/2018/06/06/v0-1-16-release.html)]
28+
## [0.1.16] - 2018-06-06 - [[Git compare](https://github.com/vmware/dispatch/compare/v0.1.15...v0.1.16)] [[What's new](https://vmware.github.io/dispatch/2018/06/06/v0-1-16-release.html)]
1829

1930
### Added
2031
- [BREAKING CHANGE] **Support for contexts when working with Dispatch CLI.**
@@ -46,7 +57,7 @@ The timestamps for Dispatch resources (functions, images, etc.) displayed incorr
4657
dates of creation/modification of resources. In this release, the dates should now be properly saved and displayed.
4758
NOTE: due the nature of this bug, only new deployments will notice the fix. [PR #494](https://github.com/vmware/dispatch/pull/494).
4859

49-
## [0.1.15] - 2017-05-24 - [[Git compare](https://github.com/vmware/dispatch/compare/v0.1.14...v0.1.15)] [[What's new](https://vmware.github.io/dispatch/2018/05/23/v0-1-15-release.html)]
60+
## [0.1.15] - 2018-05-24 - [[Git compare](https://github.com/vmware/dispatch/compare/v0.1.14...v0.1.15)] [[What's new](https://vmware.github.io/dispatch/2018/05/23/v0-1-15-release.html)]
5061

5162
### Added
5263
- **New function manager backend using [Kubeless](https://github.com/kubeless/kubeless)**.
@@ -82,7 +93,7 @@ much shorter. [PR #443](https://github.com/vmware/dispatch/pull/443).
8293
- **Dispatch built-in vcenter event driver now properly reads environment variables.** [PR #456](https://github.com/vmware/dispatch/pull/456).
8394

8495

85-
## [0.1.14] - 2017-05-15 - [[Git compare](https://github.com/vmware/dispatch/compare/v0.1.13...v0.1.14)]
96+
## [0.1.14] - 2018-05-15 - [[Git compare](https://github.com/vmware/dispatch/compare/v0.1.13...v0.1.14)]
8697

8798
### Added
8899
- **Support for private image registries that require auth for pulling (OpenFaaS only).**
Lines changed: 101 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,101 @@
1+
---
2+
layout: post
3+
title: "v0.1.17 Dispatch Release"
4+
year: 2018
5+
---
6+
7+
# v0.1.17 Dispatch Release
8+
9+
[Download v0.1.17](https://github.com/vmware/dispatch/releases/tag/v0.1.17)
10+
11+
12+
## Support for seeding Dispatch with images
13+
It has never been easier to run your first function on Dispatch! We have added a new CLI command to seed your Dispatch setup with the
14+
base-images and images of commonly used languages in the Dispatch community. Simply run the following command against your Dispatch installation:
15+
```shell
16+
$ dispatch create seed-images
17+
Created BaseImage: nodejs-base
18+
Created BaseImage: python3-base
19+
Created BaseImage: powershell-base
20+
Created BaseImage: java-base
21+
Created Image: nodejs
22+
Created Image: python3
23+
Created Image: powershell
24+
Created Image: java
25+
```
26+
27+
You should then be able to view a list of base-images and images that were added to your setup wit the following commands:
28+
```shell
29+
$ dispatch get base-images
30+
NAME | URL | STATUS | CREATED DATE
31+
---------------------------------------------------------------------------------------------------
32+
nodejs-base | dispatchframework/nodejs-base:0.0.8 | READY | Tue Jun 12 18:39:04 PDT 2018
33+
powershell-base | dispatchframework/powershell-base:0.0.9 | READY | Tue Jun 12 18:39:05 PDT 2018
34+
java-base | dispatchframework/java-base:0.0.9 | READY | Tue Jun 12 18:39:05 PDT 2018
35+
python3-base | dispatchframework/python3-base:0.0.8 | READY | Tue Jun 12 18:39:05 PDT 2018
36+
37+
38+
$ dispatch get images
39+
NAME | URL | BASEIMAGE | STATUS | CREATED DATE
40+
----------------------------------------------------------------------------
41+
nodejs | | nodejs-base | READY | Tue Jun 12 18:39:05 PDT 2018
42+
python3 | | python3-base | READY | Tue Jun 12 18:39:05 PDT 2018
43+
powershell | | powershell-base | READY | Tue Jun 12 18:39:05 PDT 2018
44+
java | | java-base | READY | Tue Jun 12 18:39:05 PDT 2018
45+
46+
```
47+
48+
You are now all set to write your function in one of these languages. For more detailed steps please follow the instructions in the [examples](https://vmware.github.io/dispatch/documentation/guides/quickstart#get-the-examples) section of our QuickStart guide.
49+
50+
## Improved IAM bootstrap workflow
51+
When you install Dispatch with [authentication](https://vmware.github.io/dispatch/documentation/guides/setup-authentication), you need to add the initial
52+
authorization policies before you can use the setup. This is akin to setting up an administrative account in your new laptop. Previously, the workflow to
53+
bootstrap Dispatch with the policies included several commands that has now been consolidated into a single `dispatch manage bootstrap` command.
54+
55+
This is a privileged command (similar to `dispatch install`) and thus requires access to the underlying Kubernetes cluster on which Dispatch is installed. Ensure this by pointing your `kubectl` config file to the
56+
right cluster.
57+
58+
Run the command by specifying the email address of a valid user from your Identity Provider (e.g github) to the `dispatch manage bootstrap` command. e.g
59+
60+
```shell
61+
$ dispatch manage bootstrap --bootstrap-user xyz@example.com
62+
Enabling bootstrap mode
63+
waiting for bootstrap status....success
64+
Creating Organization: default
65+
Creating Policy: default-policy
66+
Disabling bootstrap mode (takes up to 30s to take effect)
67+
waiting for bootstrap status....success
68+
```
69+
70+
This single command will force Dispatch to enter a special bootstrap mode, add the initial policies and then disable the bootstrap mode. The specified user is configured with an
71+
authorization policy that allows full administrative access of Dispatch. You can now run other dispatch commands or add [additional policies](https://vmware.github.io/dispatch/documentation/guides/setup-authentication#7-configuring-additional-policies)
72+
to onboard more users.
73+
74+
## CLI command to print version information
75+
76+
A new CLI Command `dispatch version` has been added to print the client and server versions. The server version corresponds to the dispatch deployment that is configured
77+
in the current context of the dispatch config file `HOME/.dispatch/config.json`. The support for CLI contexts was added in the previous [release](https://vmware.github.io/dispatch/2018/06/06/v0-1-16-release.html).
78+
79+
```shell
80+
$ dispatch version --json
81+
{
82+
"client": {
83+
"version": "v0.1.16-5-gf535bc07",
84+
"commit": "f535bc07c3f84ce2ad9f296c1eaca9aab45aa853",
85+
"buildDate": "2018-06-06T17:23:30Z",
86+
"goVersion": "go1.10.2",
87+
"compiler": "gc",
88+
"platform": "darwin/amd64"
89+
},
90+
"server": {
91+
"version": "v0.1.16-5-gf535bc07",
92+
"commit": "f535bc07c3f84ce2ad9f296c1eaca9aab45aa853",
93+
"buildDate": "2018-06-06T17:23:30Z",
94+
"goVersion": "go1.10.2",
95+
"compiler": "gc",
96+
"platform": "linux/amd64"
97+
}
98+
}
99+
```
100+
101+

0 commit comments

Comments
 (0)