-
Notifications
You must be signed in to change notification settings - Fork 56
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
Run a custom script at renewal time #57
Draft
Moosemorals
wants to merge
7
commits into
smallstep:master
Choose a base branch
from
Moosemorals:master
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Commits on Jun 11, 2022
-
Updated renewer to allow per-pod renewal scripts
This is a first aproximation to a solution. It's a bit brute force - mount a config map in the pod with a script to run at renewal time. I'll need to update controller to check for an attribute (that specifies a script path) so the voulmeMount is only inserted if there's a good chance that it's going to work.
Configuration menu - View commit details
-
Copy full SHA for 62ce6e5 - Browse repository at this point
Copy the full SHA 62ce6e5View commit details
Commits on Jun 12, 2022
-
Merge pull request #1 from smallstep/master
Bring in upstream changes
Configuration menu - View commit details
-
Copy full SHA for 654e853 - Browse repository at this point
Copy the full SHA 654e853View commit details -
Added custom renewal script support to controller
If a pod is annotated with `autocert.step.sm/renewalVolume: script', then controller will add a volume map to the named volume to the renewal container.
Configuration menu - View commit details
-
Copy full SHA for 04eee1a - Browse repository at this point
Copy the full SHA 04eee1aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4c763d3 - Browse repository at this point
Copy the full SHA 4c763d3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 254c458 - Browse repository at this point
Copy the full SHA 254c458View commit details -
Configuration menu - View commit details
-
Copy full SHA for d714fc0 - Browse repository at this point
Copy the full SHA d714fc0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1daebdd - Browse repository at this point
Copy the full SHA 1daebddView commit details
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.