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

feat: Simplify TLS config for EventSources and Sensors. Closes #828 #830

Merged
merged 3 commits into from Aug 15, 2020

Conversation

whynowy
Copy link
Member

@whynowy whynowy commented Aug 12, 2020

Including following changes:

  1. TLSConfig in event source is updated to use secretKeySelector, xxxxPath is deprecated, as a result, event sources using TLSConfig have spec changes with backward compatibility - amqp, kafka, mqtt, nats, emitter, Pulsar, redis and nsq.

  2. ServerCertPath and ServerKeyPath in WebhookContext are changed to use secretKeySelector with backward compatibility, thus event sources using it have spec changes - webhook, github, gitlab, sns, slack, Storage GRID and stripe.

  3. TLSConfig in sensor is also changed to use secretKeySelector with backward compatibility, so http, nats and kafka triggers have spec changes.

  4. CertFilePath in CustomTrigger is changed to use secretKeySelector, new field name is CertSecret.

  5. SSHKeyPath in SlackTrigger is changed to use secretKeySelector, new field name is SSHKeySecret.

  6. TLSTrustCertsFilePath in PulsarEventSource is changed to use secretKeySelector, new field name is TLSTrustCertsSecret.

For the changes above, there's no need to mount the secrets as volumes to the POD.

Closes #828

Copy link
Contributor

@VaibhavPage VaibhavPage left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm!

@VaibhavPage VaibhavPage merged commit 2774a8b into argoproj:master Aug 15, 2020
@whynowy whynowy deleted the tls_config branch August 16, 2020 05:47
whynowy added a commit that referenced this pull request Aug 20, 2020
…830)

* feat: Simplify TLS config for EventSources and Sensors

* lint
juliev0 pushed a commit to juliev0/argo-events that referenced this pull request Mar 29, 2022
…oj#828 (argoproj#830)

* feat: Simplify TLS config for EventSources and Sensors

* lint
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.

Simplify TLS config for event sources and sensors
2 participants