-
Notifications
You must be signed in to change notification settings - Fork 464
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
feature: Add configuretion to run setup/teardown command in helper container instead of run with script #360
Merged
derekbit
merged 1 commit into
rancher:master
from
name212:feature/add-command-path-for-setup-and-teardown
Nov 18, 2023
Merged
feature: Add configuretion to run setup/teardown command in helper container instead of run with script #360
derekbit
merged 1 commit into
rancher:master
from
name212:feature/add-command-path-for-setup-and-teardown
Nov 18, 2023
Conversation
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
@name212 It would be nice if add the usage in the README.md. Thank you. |
name212
force-pushed
the
feature/add-command-path-for-setup-and-teardown
branch
from
October 27, 2023 21:04
049ccaa
to
6f3bb64
Compare
…ntainer instead of run with script
name212
force-pushed
the
feature/add-command-path-for-setup-and-teardown
branch
from
October 28, 2023 06:26
256828e
to
69f3f4c
Compare
@derekbit |
derekbit
approved these changes
Nov 18, 2023
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.
LGTM. Thanks for your contributions.
coolguy1771
referenced
this pull request
in coolguy1771/home-ops
Nov 22, 2023
This PR contains the following updates: | Package | Update | Change | |---|---|---| | [local-path-provisioner](https://togithub.com/rancher/local-path-provisioner) | patch | `v0.0.24` -> `v0.0.25` | --- ### Release Notes <details> <summary>rancher/local-path-provisioner (local-path-provisioner)</summary> ### [`v0.0.25`](https://togithub.com/rancher/local-path-provisioner/releases/tag/v0.0.25): Local Path Provisioner v0.0.25 [Compare Source](https://togithub.com/rancher/local-path-provisioner/compare/v0.0.24...v0.0.25) ##### What's Changed - feat - Node name annotation by [@​osherElm](https://togithub.com/osherElm) in [https://github.com/rancher/local-path-provisioner/pull/340](https://togithub.com/rancher/local-path-provisioner/pull/340) - Helm: add namespace by [@​sergelogvinov](https://togithub.com/sergelogvinov) in [https://github.com/rancher/local-path-provisioner/pull/325](https://togithub.com/rancher/local-path-provisioner/pull/325) - Add storageClass.volumeBindingMode value to helm chart by [@​anisimovdk](https://togithub.com/anisimovdk) in [https://github.com/rancher/local-path-provisioner/pull/347](https://togithub.com/rancher/local-path-provisioner/pull/347) - Helm: add pod annotation, securityContext blocks by [@​sergelogvinov](https://togithub.com/sergelogvinov) in [https://github.com/rancher/local-path-provisioner/pull/321](https://togithub.com/rancher/local-path-provisioner/pull/321) - Set default volume type of storage class from Helm chart by [@​nltimv](https://togithub.com/nltimv) in [https://github.com/rancher/local-path-provisioner/pull/357](https://togithub.com/rancher/local-path-provisioner/pull/357) - Constraint default RBAC permissions by [@​sbocinec](https://togithub.com/sbocinec) in [https://github.com/rancher/local-path-provisioner/pull/336](https://togithub.com/rancher/local-path-provisioner/pull/336) - Helm: add pod tolerations to the helper-pod by [@​sergelogvinov](https://togithub.com/sergelogvinov) in [https://github.com/rancher/local-path-provisioner/pull/322](https://togithub.com/rancher/local-path-provisioner/pull/322) - deployment: Adapt values to be quoted when installed in templates by [@​ardumont](https://togithub.com/ardumont) in [https://github.com/rancher/local-path-provisioner/pull/358](https://togithub.com/rancher/local-path-provisioner/pull/358) - Save the helper pod logs to the provisioner logs by [@​js185692](https://togithub.com/js185692) in [https://github.com/rancher/local-path-provisioner/pull/324](https://togithub.com/rancher/local-path-provisioner/pull/324) - Add ReadWriteOncePod support for NodePath volumes by [@​anothertobi](https://togithub.com/anothertobi) in [https://github.com/rancher/local-path-provisioner/pull/331](https://togithub.com/rancher/local-path-provisioner/pull/331) - feature: Add configuretion to run setup/teardown command in helper container instead of run with script by [@​name212](https://togithub.com/name212) in [https://github.com/rancher/local-path-provisioner/pull/360](https://togithub.com/rancher/local-path-provisioner/pull/360) - Helm: Add common labels value and update uninstall for helm 3 by [@​kevinzwang](https://togithub.com/kevinzwang) in [https://github.com/rancher/local-path-provisioner/pull/319](https://togithub.com/rancher/local-path-provisioner/pull/319) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://togithub.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy42MS40IiwidXBkYXRlZEluVmVyIjoiMzcuNjMuMCIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==--> Co-authored-by: lumiere-bot <98047013+lumiere-bot[bot]@users.noreply.github.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
This pull request added two new configuration parameters (
setupCommand
andteardownCommand
) for config data. Also passed-a
argument with action type to script/command argument.Goals.
I need to run setup and teardown action as binary because I need to run this binary in container image without base operating system (like alpine) for security reasons. This image does not contain shell and I are forced rewrite setup and teardown script in golang and pass it to image as binary. For this I need two configuration parameter and pass argument with action to binary.
I hope that pull request will be useful for community.