Skip to content
This repository was archived by the owner on Mar 10, 2023. It is now read-only.

Remove of-client-secret as env var from edge-auth #674

Merged
merged 1 commit into from
Oct 13, 2020

Conversation

Waterdrips
Copy link
Contributor

Description

Edge-auth now only uses the mounted secret to read the of-client-secret
for Oauth2. This is to reduce complexity in the chart and deployments.

Signed-off-by: Alistair Hey [email protected]

Fixes #673

How Has This Been Tested?

the golang chart tests pass. This functionality has been in use for a long time, iv not seen the env variable being used over the secret anywhere.

How are existing users impacted? What migration steps/scripts do we need?

Checklist:

I have:

  • updated the documentation and/or roadmap (if required)
  • read the CONTRIBUTION guide
  • signed-off my commits with git commit -s
  • added unit tests

Edge-auth now only uses the mounted secret to read the of-client-secret
for Oauth2. This is to reduce complexity in the chart and deployments.

Signed-off-by: Alistair Hey <[email protected]>
Copy link
Member

@alexellis alexellis left a comment

Choose a reason for hiding this comment

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

Approved

@alexellis alexellis merged commit e3cc266 into openfaas:master Oct 13, 2020
@wilsonianb
Copy link
Contributor

There's a couple stray clientSecrets that are causing an error when building the edge-auth image.
This fixed it for me codius@f02c4f6

@Waterdrips
Copy link
Contributor Author

apologies - fixed now based on your commit 👍

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

Successfully merging this pull request may close these issues.

Deprecate passing Oauth client secret in environment for OFC chart
3 participants