Tekton Pipeline release v0.24.0 "Minskin Marvin" #3931
afrittoli
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
🎉 Feature Flags, Workspaces in Steps and Sidecars, Better Defaults for Steps and more! 🎉
-Docs @ v0.24.0
-Examples @ v0.24.0
Installation one-liner
Upgrade Notices
disable-home-env-overwrite
anddisable-working-dir-overwrite
has been changed to true. See the e-mail thread and the pull request for more details.Changes
Features
Allow resource names to contain the dot character (".")
Resource names now validated using the common
validation.IsDNS1123Subdomain()
functionFeat: Add hostAliases in PodTemplate spec which provides Pod-level override of hostname resolution by modifing /etc/hosts.
A new feature-flag, "enable-api-fields" has been added. Valid values are "alpha" and "stable". It defaults to "stable".
Setting the "enable-api-fields" flag tells Tekton what level of API stability you require in the cluster. As new features are added to Pipelines we'll first place those features under the "alpha" flag. When the feature is ready we'll promote it to "stable". This process is described in TEP-0033[1].
Opting in to "alpha" gives you early exposure to exciting new features as they're added to Pipelines but those features are still undergoing development and could be subject to backwards-incompatible changes.
[1] https://github.com/tektoncd/community/blob/main/teps/0033-tekton-feature-gates.md
Steps no longer receive a default HOME env var of "/tekton/home", nor a default workingDir of "/workspace".
action required: if you rely on these defaults you now have a choice to make: either update your Task steps to include the workingDir and HOME env or set the "disable-home-env-overwrite" and "disable-working-directory-overwrite" feature flags to "false". We plan to continue supporting these flags for another 9 months following the release of 0.24 and then they too will be removed.
Introducing a variable $(tasks.status) to access aggregate execution status of tasks in finally.
New alpha feature added: "Step and Sidecar Workspaces":
- Requires "enable-api-fields: alpha" feature gate.
- Sidecars in a Task now receive Workspaces, just like Steps do.
- Steps and Sidecars can now specify which Workspaces they want access to. This isolates the workspace to only those Steps or Sidecars that need them, allowing Task authors to limit exposure of sensitive data like credentials.
- The default behaviour for workspaces in Steps remains the same - all Steps get access to them.
Deprecation Notices
disable-home-env-overwrite
anddisable-working-dir-overwrite
are now deprecated (Disable the default workingDir and HOME overrides #3878)The default value of these flags has been changed to
true
. The flags are still available so that the old behaviour can still be configured; the flags are now deprecated and will be removed in 9 months from now. e-mail threadFixes
Do not allow
when
expressions indag
to specify the context variable accessing the execution status of any other task -$(tasks.<pipelineTask>.status)
Fix a bug where the literal characters "$$" in a Step's script block would be replaced with a single "$".
Do not run sidecar deletion logic for canceled or timed-out taskrun where pod was deleted
Misc
The controller SA no longer requests cluster-wide permission to list and watch namespaces.
Using
rbac.authorization.k8s.io/v1
instead ofrbac.authorization.k8s.io/v1beta1
forRoleBinding
as it is being deprecated starting in 1.17.Pipelines now e2e tests every commit against both the "stable" and "alpha" feature gates.
Added test for running Scripts with differing securityContexts in the same Task.
Controller and Webhook pods will no longer be scheduled on Windows nodes if any exist in a Kubernetes cluster.
Switching the "enable-api-fields" feature gate to "alpha" also turns on Tekton Bundles and Custom Tasks support, since these are alpha features.
Update knative dependency to 0.22, and default minimum kubernetes version supported, v1.18.0
Docs
Thanks
Thanks to these contributors who contributed to v0.24.0!
Extra shout-out for awesome release notes:
To Be Done: Deprecation Notices, Backward Incompatible Changes
This discussion was created from the release Tekton Pipeline release v0.24.0 "Minskin Marvin".
Beta Was this translation helpful? Give feedback.
All reactions