-
Notifications
You must be signed in to change notification settings - Fork 55
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for defining pod and container overrides via attribute #944
Commits on Oct 11, 2022
-
Add 'pod-overrides' attribute to constants
Since we've decided not to add a field to the DevWorkspace API for podSpecOverrides, instead use an attribute to support the same purpose. Signed-off-by: Angel Misevski <amisevsk@redhat.com>
Configuration menu - View commit details
-
Copy full SHA for b27b403 - Browse repository at this point
Copy the full SHA b27b403View commit details -
Add support for workspace pod overrides via attribute
Add support for overriding any field in the workspace's deployment PodTemplateSpec via specifying an attribute. To make the attribute easier to use, it can be defined multiple times in the DevWorkspace, with each instance of the field being applied over the previous. Signed-off-by: Angel Misevski <amisevsk@redhat.com>
Configuration menu - View commit details
-
Copy full SHA for bf57cf5 - Browse repository at this point
Copy the full SHA bf57cf5View commit details -
Add test cases to cover pod-overrides attribute
Signed-off-by: Angel Misevski <amisevsk@redhat.com>
Configuration menu - View commit details
-
Copy full SHA for 03b40e3 - Browse repository at this point
Copy the full SHA 03b40e3View commit details -
Add sample that uses pod overrides attribute
Signed-off-by: Angel Misevski <amisevsk@redhat.com>
Configuration menu - View commit details
-
Copy full SHA for 2ce8f54 - Browse repository at this point
Copy the full SHA 2ce8f54View commit details -
Add 'container-overrides' attribute to constants
Add attribute 'container-overrides' that can be used to override fields in containers used in a workspace. Signed-off-by: Angel Misevski <amisevsk@redhat.com>
Configuration menu - View commit details
-
Copy full SHA for e5466e4 - Browse repository at this point
Copy the full SHA e5466e4View commit details -
Add support for container-overrides defined on container components
Apply container-overrides as strategic merge patches on top of workspace containers when defined. Signed-off-by: Angel Misevski <amisevsk@redhat.com>
Configuration menu - View commit details
-
Copy full SHA for b735b99 - Browse repository at this point
Copy the full SHA b735b99View commit details -
Add tests to cover container-overrides attribute
Signed-off-by: Angel Misevski <amisevsk@redhat.com>
Configuration menu - View commit details
-
Copy full SHA for 29a7c9c - Browse repository at this point
Copy the full SHA 29a7c9cView commit details -
Add container overrides sample
Signed-off-by: Angel Misevski <amisevsk@redhat.com>
Configuration menu - View commit details
-
Copy full SHA for 8985cf0 - Browse repository at this point
Copy the full SHA 8985cf0View commit details