Skip to content

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