-
Notifications
You must be signed in to change notification settings - Fork 52
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
Implement yaml extensions overwriting the default pod/container spec #75
Merged
Merged
Changes from 19 commits
Commits
Show all changes
22 commits
Select commit
Hold shift + click to select a range
8019fad
Implement yaml extensions overwriting the default pod/container spec
nikola-jokic edc4f10
format files
nikola-jokic f49aa2d
Extend specs for container job and include docker and k8s tests in k8s
nikola-jokic a909ee5
Create table tests for docker tests
nikola-jokic 5e35472
included warnings and extracted append logic as generic
nikola-jokic cdc919f
updated merge to allow for file read
nikola-jokic be0cc22
reverted back examples and k8s/tests
nikola-jokic 609962f
reverted back docker tests
nikola-jokic 2d0d20e
Tests for extension prepare-job
nikola-jokic e3f6653
Merge branch 'main' into nikola-jokic/yaml-extension
nikola-jokic c824d7e
Fix lint and format and merge error
nikola-jokic d17de36
Added basic test for container step
nikola-jokic 9910332
revert hooklib since new definition for container options is received…
nikola-jokic e87001f
revert docker options since create options are a string
nikola-jokic 959fa80
Fix revert
nikola-jokic ec354fc
Update package locks and deps
nikola-jokic 139d44e
included example of extension.yaml. Added side-car container that was…
nikola-jokic 78b89ce
Ignore spec modification for the service containers, change selector to
nikola-jokic 488cc13
fix lint error
nikola-jokic 815c21e
Add missing image override
nikola-jokic 2403975
Add comment explaining merge object meta with job and pod
nikola-jokic 7fffa9f
fix test
nikola-jokic File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
metadata: | ||
annotations: | ||
annotated-by: "extension" | ||
labels: | ||
labeled-by: "extension" | ||
spec: | ||
securityContext: | ||
runAsUser: 1000 | ||
runAsGroup: 3000 | ||
restartPolicy: Never | ||
containers: | ||
- name: $job # overwirtes job container | ||
env: | ||
- name: ENV1 | ||
value: "value1" | ||
imagePullPolicy: Always | ||
image: "busybox:1.28" # Ignored | ||
command: | ||
- sh | ||
args: | ||
- -c | ||
- sleep 50 | ||
- name: side-car | ||
image: "ubuntu:latest" # required | ||
command: | ||
- sh | ||
args: | ||
- -c | ||
- sleep 60 | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No need if the ADR explains it