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

Is our new authentication backwards compatible? #453

Closed
tomkerkhove opened this issue Nov 14, 2019 · 9 comments
Closed

Is our new authentication backwards compatible? #453

tomkerkhove opened this issue Nov 14, 2019 · 9 comments
Assignees
Labels
auth question Further information is requested

Comments

@tomkerkhove
Copy link
Member

While working on the docs we were not sure if the new authentication is backwards compatible (and thus supports configuration on ScaledObject) or not?

From what I'm seeing I'd say it is.

Either outcomes are fine but would just be good to know so we can align the docs.

/cc @jeffhollan

@zach-dunton-sf
Copy link
Contributor

When adding TriggerAuth support for AWS Cloudwatch, I was asked to remove the scaled object configuration #397 (comment)

I have done the same for AWS SQS Scaler. I can add them back if necessary.

@zach-dunton-sf
Copy link
Contributor

I found this today, there is now an official pod identity provider for AWS https://github.com/aws/amazon-eks-pod-identity-webhook it's a mutating webhook that injects the AWS_ROLE_ARN into the pod based on an annotation from the Service Account of the pod. Maybe we should consider re-adding pulling at least AWS_ROLE_ARN from the pod, possibly only if podIdentityProvider == "aws"

@tomkerkhove
Copy link
Member Author

I've created #457 for that - Even if we keep the environment variables I think we should make it automagically for AWS customers.

My comment (#397 (comment)) was based on the assumption that we were killing backwards compatibility but @jeffhollan brought this up and I'm not longer sure if my assumption is correct - If this is the case, I'm sorry for asking you to remove it @zach-dunton-sf

I personally would not go there for sake of simplicity but I don't want to block this.

@zach-dunton-sf
Copy link
Contributor

zach-dunton-sf commented Nov 14, 2019 via email

@jeffhollan
Copy link
Member

Yes I think in general we’ve preserved the way to inline authentication to both preserve backwards compatibility and also to provide an easy way to create a scaled object with secrets. I don’t know if there’s a compelling reason to force trigger auth and somewhat like what other scalers have done to show you can do both

https://keda.sh/scalers/azure-service-bus/

Thanks @zach-dunton-sf thesr PRs are awesome

@tomkerkhove
Copy link
Member Author

Sounds good to me, but then we'll have to do a sweep to ensure that all scalers use this approach!

@balchua
Copy link
Contributor

balchua commented Nov 15, 2019

Ive kept the environment variable auth for redis while TriggerAuthentication takes precedence.

@tomkerkhove
Copy link
Member Author

I think we can close this, ok?

@zach-dunton-sf
Copy link
Contributor

zach-dunton-sf commented Mar 9, 2020 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
auth question Further information is requested
Projects
None yet
Development

No branches or pull requests

5 participants