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

Adding auth trigger to pubsub #1291

Merged
merged 3 commits into from
Oct 29, 2020
Merged

Conversation

RealHarshThakur
Copy link
Contributor

@RealHarshThakur RealHarshThakur commented Oct 25, 2020

Signed-off-by: Harsh Thakur harshthakur9030@gmail.com

Provide a description of what has been changed

Checklist

Relates to #1273

Signed-off-by: Harsh Thakur <harshthakur9030@gmail.com>
Signed-off-by: Harsh Thakur <harshthakur9030@gmail.com>
@RealHarshThakur RealHarshThakur marked this pull request as ready for review October 26, 2020 17:00
@ahmelsayed
Copy link
Contributor

LGTM. Thanks @harshthakur9030!

@tomkerkhove
Copy link
Member

Would you mind updating our docs on https://github.com/kedacore/keda-docs/blob/master/content/docs/2.0/scalers/gcp-pub-sub.md as well please?

Copy link
Member

@tomkerkhove tomkerkhove left a comment

Choose a reason for hiding this comment

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

Copy link
Member

@zroubalik zroubalik left a comment

Choose a reason for hiding this comment

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

LGTM, just a minor nit in tests and as Tom mentioned, please add that to docs and add this to Changelog (Improvement section)

// incorrect credentials
{map[string]string{"subscriptionName": "mysubscription", "subscriptionSize": "7", "credentialsFromEnv": "WRONG_CREDS"}, true},
{nil, map[string]string{"subscriptionName": "mysubscription", "subscriptionSize": "7", "credentialsFromEnv": "WRONG_CREDS"}, false},
Copy link
Member

Choose a reason for hiding this comment

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

As you mentioned in the slack, this should be revised, we don't have to keep this test case, as it is the same as the one on line 25

Signed-off-by: Harsh Thakur <harshthakur9030@gmail.com>
@RealHarshThakur
Copy link
Contributor Author

PTAL @zroubalik @tomkerkhove ! Did the changes asked. Here's the doc PR: kedacore/keda-docs#293

@zroubalik zroubalik merged commit e1e0f36 into kedacore:v2 Oct 29, 2020
arschles pushed a commit to arschles/keda that referenced this pull request Dec 1, 2020
Signed-off-by: Harsh Thakur <harshthakur9030@gmail.com>
Signed-off-by: Aaron Schlesinger <aaron@ecomaz.net>
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.

4 participants