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

Add oauth proxy annotation view on EDP Portal Configuration section #173

Closed
callmevladik opened this issue Mar 19, 2024 · 0 comments
Closed
Assignees
Labels
enhancement New feature or request feature New functionality

Comments

@callmevladik
Copy link
Contributor

callmevladik commented Mar 19, 2024

Acceptance Criteria:

Configuration-SSO tab contain list of ingresses with oauth proxy annotation;
SSO section contain all ingresses from all namesapces;
user can set property to protect endpoint and EDP Portal edit ingress resource and add label:
if argocd use autosync it is no possible to set custom annotation for ingress;
kubectl annotate ingress nginx.ingress.kubernetes.io/auth-signin='https:///oauth2/start?rd=https://$host$request_uri' nginx.ingress.kubernetes.io/auth-url='http://oauth2-proxy.edp.svc.cluster.local:8080/oauth2/auth'

annotations:
nginx.ingress.kubernetes.io/auth-signin: 'https:///oauth2/start?rd=https://$host$request_uri'
nginx.ingress.kubernetes.io/auth-url: 'http://oauth2-proxy.edp.svc.cluster.local:8080/oauth2/auth'

https://epam.github.io/edp-install/operator-guide/oauth2-proxy/?h=oauth+pro

Streps:

get kind: Ingress with 'metadata.annotation' pattern:
nginx.ingress.kubernetes.io/auth-signin:
nginx.ingress.kubernetes.io/auth-url:
in case if find objects - describe in table: 'ingress.metadata.name', ingress.metadata.annotations , ingress.spec.host (as hyperlink)
get ingresses from deployed envs;

as alternative - get all ingress object and find annotation with key and provide filed to add value for this field to enable protect;

@callmevladik callmevladik converted this from a draft issue Mar 19, 2024
@callmevladik callmevladik self-assigned this Mar 19, 2024
@callmevladik callmevladik added enhancement New feature or request feature New functionality labels Mar 19, 2024
epmd-edp pushed a commit that referenced this issue Mar 19, 2024
Jira: EPMDEDP-12892
Related: #173
Change-Id: I6166b577e6fc1a049d48fd5a0350954c49a87d6e
@callmevladik callmevladik moved this from In Progress to In QA in KubeRocketCI (EPAM Delivery Platform) Mar 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request feature New functionality
Projects
Development

No branches or pull requests

2 participants