Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

chore: prepare for 1.0.0 #177

Merged
merged 3 commits into from
Feb 23, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,13 @@ All notable changes to the "vscode-knative" extension will be documented in this
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## 1.0.0 (2022/02/21)

- Add support for Knative Functions
- Add dependency to func cli
- New Functions view
- Add actions to work with them (create, build, deploy, run, undeploy, open in browser, configure)

## 0.9.4 (2021/03/04)

- Update `kn` cli to 0.21.0
Expand Down
36 changes: 34 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,17 +32,49 @@ For example if there is an image subfolder under your extension project workspac

> NOTE: You will need to have the [kubeconfig](https://kubernetes.io/docs/concepts/configuration/organize-cluster-access-kubeconfig/#the-kubeconfig-environment-variable) for the cluster that you are accessing stored locally.

* Knative uses [kn cli](https://github.com/knative/client). The extension will offer to download and install the dependencies if needed.
* Knative uses [kn cli](https://github.com/knative/client) and [func cli](https://github.com/knative-sandbox/kn-plugin-func). The extension will offer to download and install the dependencies if needed.

## Extension Settings

This extension contributes the following settings:
This extension contributes two views (Knative and Functions) and the following settings:

### Knative
* `service.explorer.create`: Create a new Knative service in the current namespace
* `service.explorer.openFile`: Display yaml for selected item
* `service.explorer.refresh`: Refresh the Explorer tree view
* `service.explorer.reportIssue`: Report Extension Issue on GitHub

### Functions

* `function.explorer.create`: Create a new Knative Function in the current namespace
* `function.explorer.refresh`: Refresh the Functions tree view

## Commands and features

`vscode-knative` supports a number of commands for interacting with Knative and Knative Functions; these are accessible via the tree context menu and/or the command menu (Ctrl+Shift+P).

### Knative

* `Knative: Add Service`: Start a workflow to create a new Service
* `Knative: Focus on Serving View`: Load and Open the Knative Serving view
* `Knative: Focus on Eventing View`: Load and Open the Knative Eventing view
* `Knative: Refresh View`: Refresh the Service/Eventing Tree View
* `Knative: Add a Tag`: Add a new tag to a Revision
* `Knative: Delete`: Delete a service or a revision or an eventing resource
* `Knative: Open in Browser`: Open the service in your browser

### Functions

* `Knative: Create Function`: Open up a wizard to create a new Function
* `Knative: Build Function`: Build an image from the selected function
* `Knative: Run`: Run the locally opened function in a local container. It can be executed after a build has been performed.
* `Knative: Deploy Function`: Build and Deploy a function to the cluster.
* `Knative: Undeploy`: Undeploy a function from the cluster
* `Knative: Add Config to Function`: Allow to customize a function by adding an environment variable or a volume
* `Knative: Remove Config from Function`: Allow to customize a function by removing an environment variable or a volume
* `Knative: Open in Browser`: Open the deployed function in your browser
* `Knative: Refresh View`: Refresh the Function Tree View

## Known Issues

> BUGS: Please check the [issues](https://github.com/redhat-developer/vscode-knative/issues) and report any you find.
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "vscode-knative",
"displayName": "Knative",
"description": "Knative extension for VSCode",
"version": "0.9.4",
"version": "1.0.0",
"license": "MIT",
"publisher": "redhat",
"preview": true,
Expand Down