Skip to content
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
wants to merge 7 commits into
base: master
Choose a base branch
from

Commits on Jun 11, 2022

  1. 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.
    Moosemorals committed Jun 11, 2022
    Configuration menu
    Copy the full SHA
    62ce6e5 View commit details
    Browse the repository at this point in the history

Commits on Jun 12, 2022

  1. Merge pull request #1 from smallstep/master

    Bring in upstream changes
    Moosemorals authored Jun 12, 2022
    Configuration menu
    Copy the full SHA
    654e853 View commit details
    Browse the repository at this point in the history
  2. 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.
    Moosemorals committed Jun 12, 2022
    Configuration menu
    Copy the full SHA
    04eee1a View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    4c763d3 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    254c458 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    d714fc0 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    1daebdd View commit details
    Browse the repository at this point in the history