oAuth-proxy enhancements for Azure AKS deployment
See original GitHub issueIs your enhancement related to a problem? Please describe
There are several enhancements of ouath-proxy configuration (aka oauth-proxy.cfg) for kubernetes:
- To set
pass_access_token
totrue
(default value isfalse
) to pass access token to upstream via “X-Forwarded-Access-Token” - To set
cookie_refresh
to1h0m0s
to refresh the cookie when duration has elapsed after cookie was initially set. - To add
whitelist_domains
to whitelist che domain (ie: .yourcompany.com) - To add
cookie_domains
to set cookie domain to force cookies to (ie: .yourcompany.com) - To add
OAuthScope
to Che Resource to allow users to configure Access Token Scope.
Describe the solution you’d like
Update che-operator to support addition configuration of ouath-proxy for kubernetes
Describe alternatives you’ve considered
No response
Release Notes Text
Some enhancements needed to deploy Che on Azure AKS has been contributed by @karatkep. Thank you for your contribution.
Issue Analytics
- State:
- Created a year ago
- Comments:7 (4 by maintainers)
Top Results From Across the Web
Best practices for Azure Kubernetes Service (AKS)
Best practices for cluster security and upgrades. Includes securing access to the API server, limiting container access, and managing upgrades ...
Read more >MS Azure OAuth2 proxy - Token based authentication not ...
I finally made it work using the following configuration: deployment.yaml for OAuth2 proxy: kind: Deployment apiVersion: apps/v1 metadata: ...
Read more >Azure Kubernetes Service (AKS): What Is It and Why Do We ...
Microsoft Azure offers Azure Kubernetes Service that simplifies managed Kubernetes cluster deployment in the public cloud environment and also ...
Read more >Deploy HCL Workload Automation containers on Azure AKS
Run HCL Workload Automation containerized product components on Azure Kubernetes Service (AKS).
Read more >Azure Kubernetes Service (AKS) - Alif Consulting
Azure Kubernetes Service (AKS) simplifies deploying a managed Kubernetes cluster ... AKS reduces the debugging time while handling patching, auto-upgrades, ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hi Mario, It’s correct, the proposed enhancements were needed to deploy Che to Azure AKS. My instructions will be slightly updated because we found a more elegant way to solve reported issue during code review. Thanks to @tolusha and @sparkoo for the help.
And of course I will be glad to write a blog post and explain what issue we met and how it has been resolved in the new version of Che.
Best Regards, Piotr (aka karatkep)
On Thu, Jun 23, 2022 at 12:18 PM Mario Loriedo @.***> wrote:
RN: upstream only