Skip to content

Conversation

@lucacome
Copy link

Add OIDC policy

TODO:

  • docs

Copy link

@mikestephen mikestephen left a comment

Choose a reason for hiding this comment

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

Looks good to me Luca!

Copy link
Contributor

@pleshakov pleshakov left a comment

Choose a reason for hiding this comment

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

Hi @lucacome
Please see my feedback.
I will provide feedback about the example shortly

return res
}

func (p *policiesCfg) addOIDCConfig(
Copy link
Contributor

Choose a reason for hiding this comment

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

could we add more test cases for addOIDCConfig ? from looking at the coverage, there are no cases for the edge cases

@pleshakov
Copy link
Contributor

@lucacome
didn't catch it right away. after running the example, I noticed the findPoliciesForSecret in internal/k8s/controller.go:2483 doesn't support oidc secret. This means updating the secret doesn't update it in the config

@lucacome lucacome merged commit 5b0b177 into master Jan 15, 2021
@lucacome lucacome deleted the oidc-js branch January 15, 2021 02:08
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.

6 participants