Skip to content

Commit

Permalink
Update release announcement blog post
Browse files Browse the repository at this point in the history
  • Loading branch information
rm3l committed Apr 6, 2023
1 parent dd0a502 commit 97a626b
Showing 1 changed file with 86 additions and 25 deletions.
111 changes: 86 additions & 25 deletions docs/website/blog/2023-04-05-odo-v3.9.0.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: odo v3.9.0 Released
author: rm3l
author: Armel Soro
author_url: https://github.com/rm3l
author_image_url: https://github.com/rm3l.png
tags: ["release"]
Expand All @@ -14,50 +14,114 @@ odo `v3.9.0` is now out!
To install `odo`, follow [the installation guide](../docs/overview/installation).

## Notable Changes
Check this Playlist for an overview of the most notable changes in this release: [TODO Add Link to Youtube Playlist]
Check the following Playlists for an overview of the most notable changes in this release:
- [Sprint 233](https://youtube.com/playlist?list=PLGMB2PY4SNOpG3YAym5SC7JetOI_PBHkR)
- [`odo` v3.9.0 (Sprint 234)](https://youtube.com/playlist?list=PLGMB2PY4SNOrgL0v6S1iu-JDGemn554_8)

### Deprecation notice

#### `odo registry --details` without `--devfile`

We are deprecating the usage of `odo registry --details` without `--devfile`.
Using `odo registry --details` without `--devfile` still works, but might take very long to return information.

`--details` allows to get more details about a specific Devfile stack, and was not intended to be used without specifying `--devfile`.

The correct usage of `odo registry --details` is by specifying the additional `--devfile` flag.

See the [command reference page](/docs/command-reference/registry/) for more details and examples.

### Features

[TODO - Complete with embedded demos!]
#### Pod Security Admission support

## Detailed Changelog
Kubernetes v1.25 introduced [Pod Security Standards](https://kubernetes.io/docs/concepts/security/pod-security-standards/) defining different isolation levels for Pods,
along with a Pod Security admission controller to enforce those standards.
Namespaces can be [labeled](https://kubernetes.io/docs/tasks/configure-pod-container/enforce-standards-namespace-labels/) to enforce the Pod Security Standards,
meaning that a Pod can be rejected if it is not compliant with the security restrictions defined.

As with every release, you can find the full list of changes and bug fixes on the [GitHub release page](https://github.com/redhat-developer/odo/releases/tag/v3.9.0).
See [Pod Security Admission](https://kubernetes.io/docs/concepts/security/pod-security-admission/) for more details.

When used against a Kubernetes or OpenShift cluster, `odo` is now able to automatically detect if the current namespace has such restrictions enforced;
and if so, it can dynamically adjust the specifications of the Pods it creates such that they are approved by the Pod Security admission controller.
This applies to resources created automatically by the following `odo` commands:
- `odo dev`: Pod created by `odo` to spin up a Development session
- `odo deploy`: Kubernetes Jobs created by `odo` when invoking `exec` commands during `deploy` (see [How `odo` runs `exec` commands in Deploy mode](/docs/development/devfile#how-odo-runs-exec-commands-in-deploy-mode))

<iframe width="560" height="315" src="https://www.youtube.com/embed/6fbx5fy77H4" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen></iframe>

:::info
Bear in mind that you can always customize those resources through `pod-overrides` and `container-overrides` attributes in the Devfile.
See [Extending Kubernetes resources](https://devfile.io/docs/2.2.0/overriding-pod-and-container-attributes).
:::

#### Support for `autoBuild` and `deployByDefault` Devfile fields

To clarify which Devfile components should get created/applied automatically, the [Devfile](https://devfile.io/) specification introduced two new fields:
- `autoBuild` on [`Image`](https://devfile.io/docs/2.2.0/adding-an-image-component#procedure) components;
- `deployByDefault` on [`Kubernetes`](https://devfile.io/docs/2.2.0/adding-a-kubernetes-or-openshift-component#procedure) and [`OpenShift`](https://devfile.io/docs/2.2.0/adding-a-kubernetes-or-openshift-component#procedure) components

`odo` now supports those fields, following the rules depicted in [our Devfile reference page](/docs/development/devfile#how-odo-determines-components-that-are-applied-automatically).

<iframe width="560" height="315" src="https://www.youtube.com/embed/SME6ctHsME0" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen></iframe>

#### Component name added to `odo analyze`

`odo analyze` now includes a new `name` field in its output, representing the name of the application if was detected automatically or the current directory name.

See the [command reference page](/docs/command-reference/json-output#odo-analyze--o-json) for more details.

# Release of v3.9.0
Example:

## [v3.9.0](https://github.com/redhat-developer/odo/tree/v3.9.0) (2023-04-05)
```diff
[
{
"devfile": "dotnet50",
"ports": [
3000
],
"devfileRegistry": "DefaultDevfileRegistry",
- "devfileVersion": "1.0.3"
+ "devfileVersion": "1.0.3",
+ "name": "my-dotnet-backend"
}
]
```

## Detailed Changelog

As with every release, you can find the full list of changes and bug fixes on the [GitHub release page](https://github.com/redhat-developer/odo/releases/tag/v3.9.0).

[Full Changelog](https://github.com/redhat-developer/odo/compare/v3.8.0...v3.9.0)

**Features/Enhancements:**
### Features/Enhancements

- Documentation: Debugging with OpenShift Toolkit [\#6691](https://github.com/redhat-developer/odo/pull/6691) ([valaparthvi](https://github.com/valaparthvi))
- Pod Security Admission support for odo deploy [\#6679](https://github.com/redhat-developer/odo/pull/6679) ([feloy](https://github.com/feloy))
- Speedup odo registry --details [\#6678](https://github.com/redhat-developer/odo/pull/6678) ([feloy](https://github.com/feloy))
- Documentation: How odo supports exec on Deploy [\#6672](https://github.com/redhat-developer/odo/pull/6672) ([valaparthvi](https://github.com/valaparthvi))
- Patch Pods to pass pod security admission [\#6602](https://github.com/redhat-developer/odo/pull/6602) ([feloy](https://github.com/feloy))
- Pod Security Admission support for `odo deploy` [\#6679](https://github.com/redhat-developer/odo/pull/6679) ([feloy](https://github.com/feloy))
- Speedup `odo registry --details` [\#6678](https://github.com/redhat-developer/odo/pull/6678) ([feloy](https://github.com/feloy))
- Support `autoBuild` and `deployByDefault` on Image and Kubernetes/OpenShift components [\#6654](https://github.com/redhat-developer/odo/pull/6654) ([rm3l](https://github.com/rm3l))
- Add name detection to `odo analyze` [\#6682](https://github.com/redhat-developer/odo/pull/6682) ([valaparthvi](https://github.com/valaparthvi))
- `odo dev`/`odo deploy` should display a warning about default namespace on cluster [\#6688](https://github.com/redhat-developer/odo/pull/6688) ([valaparthvi](https://github.com/valaparthvi))

**Bugs:**
### Bugs

- `odo analyze` reporting wrong Devfile (nodejs instead of python) [\#6707](https://github.com/redhat-developer/odo/pull/6707) ([kadel](https://github.com/kadel))
- Fix problem when odo deploy processes do not terminate [\#6716](https://github.com/redhat-developer/odo/pull/6716) ([feloy](https://github.com/feloy))
- Fix issue preventing app from being restarted if `/proc/[pid]/task/[tid]/children` is missing in container \(case of Minikube with VirtualBox or KVM drivers\) [\#6690](https://github.com/redhat-developer/odo/pull/6690) ([rm3l](https://github.com/rm3l))
- odo dev/deploy should display a warning about default namespace on cluster [\#6688](https://github.com/redhat-developer/odo/pull/6688) ([valaparthvi](https://github.com/valaparthvi))
- Fix: `odo init` does not ask for starter project if the Devfile stack contains extra files [\#6684](https://github.com/redhat-developer/odo/pull/6684) ([valaparthvi](https://github.com/valaparthvi))
- Add name detection to `odo analyze` [\#6682](https://github.com/redhat-developer/odo/pull/6682) ([valaparthvi](https://github.com/valaparthvi))
- Fix UX issue when exec command fails to run as part of a deploy command [\#6673](https://github.com/redhat-developer/odo/pull/6673) ([rm3l](https://github.com/rm3l))
- Fix issue with conflicting ports when starting multiple Dev sessions on Podman [\#6660](https://github.com/redhat-developer/odo/pull/6660) ([rm3l](https://github.com/rm3l))
- Fix error handling when trying to delete remote resources not present in Devfile [\#6659](https://github.com/redhat-developer/odo/pull/6659) ([rm3l](https://github.com/rm3l))
- Fix potential issue with `odo describe component` integration tests when Podman is installed [\#6642](https://github.com/redhat-developer/odo/pull/6642) ([rm3l](https://github.com/rm3l))
- Fix: Starterproject not replace existing devfile stack files of the context dir [\#6633](https://github.com/redhat-developer/odo/pull/6633) ([valaparthvi](https://github.com/valaparthvi))
- Downloading a starter project with `odo init` should no longer replace the contents of the current directory [\#6633](https://github.com/redhat-developer/odo/pull/6633) ([valaparthvi](https://github.com/valaparthvi))

**Documentation:**
### Documentation

- Add doc and blog post about using in-cluster Devfile registries [\#6689](https://github.com/redhat-developer/odo/pull/6689) ([rm3l](https://github.com/rm3l))
- Document Podman limitations [\#6653](https://github.com/redhat-developer/odo/pull/6653) ([feloy](https://github.com/feloy))
- Release PR for v3.8.0 [\#6641](https://github.com/redhat-developer/odo/pull/6641) ([github-actions[bot]](https://github.com/apps/github-actions))
- Documentation: Debugging with OpenShift Toolkit [\#6691](https://github.com/redhat-developer/odo/pull/6691) ([valaparthvi](https://github.com/valaparthvi))
- Add doc and blog post about using in-cluster Devfile registries [\#6689](https://github.com/redhat-developer/odo/pull/6689) ([rm3l](https://github.com/rm3l))
- Documentation: How odo supports exec on Deploy [\#6672](https://github.com/redhat-developer/odo/pull/6672) ([valaparthvi](https://github.com/valaparthvi))

**Merged pull requests:**
### Merged pull requests

- Bump version to 3.9.0 [\#6717](https://github.com/redhat-developer/odo/pull/6717) ([rm3l](https://github.com/rm3l))
- Update the PR template [\#6712](https://github.com/redhat-developer/odo/pull/6712) ([valaparthvi](https://github.com/valaparthvi))
Expand All @@ -73,11 +137,8 @@ As with every release, you can find the full list of changes and bug fixes on th
- Go: Bump github.com/operator-framework/api from 0.14.1-0.20220413143725-33310d6154f3 to 0.17.3 [\#6656](https://github.com/redhat-developer/odo/pull/6656) ([dependabot[bot]](https://github.com/apps/dependabot))
- Website: Bump webpack from 5.75.0 to 5.76.1 in /docs/website [\#6655](https://github.com/redhat-developer/odo/pull/6655) ([dependabot[bot]](https://github.com/apps/dependabot))
- Update alizer dependency [\#6650](https://github.com/redhat-developer/odo/pull/6650) ([kadel](https://github.com/kadel))
- Patch Pods to pass pod security admission [\#6602](https://github.com/redhat-developer/odo/pull/6602) ([feloy](https://github.com/feloy))


- Fix potential issue with `odo describe component` integration tests when Podman is installed [\#6642](https://github.com/redhat-developer/odo/pull/6642) ([rm3l](https://github.com/rm3l))

\* *This Changelog was automatically generated by [github_changelog_generator](https://github.com/github-changelog-generator/github-changelog-generator)*

## Contributing to odo

Expand Down

0 comments on commit 97a626b

Please sign in to comment.