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

Notification feature #9

Open
wants to merge 15 commits into
base: master
Choose a base branch
from
Open

Conversation

stepanstipl
Copy link

This PR builds on #8 and adds support for "Notification" feature. New notify block has been added to the CRD, which allows specifying a list of resources that should be notified when the composite certificate is updated (initially only Deployment type is supported).

The core use case is to notify istio-ingress-gateway, by updating its pods annotation, trigger a rolling update and therefore certificate reload.

Changes introduced in this PR:

  • Extended CertMerge CRD with notify
  • Updated depending auto-generated files
  • Added notification logic
  • Updated documentation
  • Make CRD fields notify, selector and secretList optional (as was before operator-sdk update)
  • Mitigate unnecessary updates of the composite certificate by comparing current a and new value

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant