Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add note about attributes defined at both the levels
Browse files Browse the repository at this point in the history
Signed-off-by: Parthvi Vala <pvala@redhat.com>
valaparthvi committed Jan 31, 2023

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
1 parent 5093864 commit ceff10d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/website/blog/2023-01-24-odo-v3.6.0.md
Original file line number Diff line number Diff line change
@@ -23,8 +23,9 @@ It is now possible to extend a pod and its container specification by using `pod

This feature allows you to modify pod specifications such as Service Account, Scheduler Name, Security Context, etc and container specifications such as Security Context, and Resources. However, it restricts from modifying pod specifications such as Init Containers, Containers, and Volumes; and container specifications such as Volume Mounts, Image, Ports, Name, Env, Args, and Commands.

`pod-overrides` and `container-overrides` can be specified at both Component and Devfile level.
`pod-overrides` and `container-overrides` can be specified at both Component and Devfile level. If an attribute is defined at both the levels, a strategic merge patch will be used to merge them both.

[//]: #: (TODO: Add reference to devfile once https://github.com/devfile/devfile-web/pull/70 is merged.)
Example -
```yaml
attributes:

0 comments on commit ceff10d

Please sign in to comment.