oauth2-proxy

This commit is contained in:
Andrey Kartashov 2023-02-07 15:14:19 +07:00
parent 451a06fbb2
commit 967810be33
4 changed files with 51 additions and 0 deletions

2
apps/oauth2-proxy/.gitignore vendored Normal file
View file

@ -0,0 +1,2 @@
Chart.lock
charts/

View file

@ -0,0 +1,7 @@
name: oauth2-proxy
version: 0.0.1
apiVersion: v2
dependencies:
- name: oauth2-proxy
version: 6.8.0
repository: https://oauth2-proxy.github.io/manifests

View file

@ -0,0 +1,23 @@
oauth2-proxy:
config:
clientID: 13240a7012a34dbdd9c7
clientSecret: change_in_argocd
cookieSecret: change_in_argocd
configFile: |-
provider = "github"
email_domains = [ "*" ]
upstreams = [ "file:///dev/null" ]
github_users = "amkartashov"
proxy_prefix = "/"
ingress:
enabled: true
annotations:
kubernetes.io/ingress.class: nginx
kubernetes.io/tls-acme: "true"
cert-manager.io/cluster-issuer: letsencrypt
hosts:
- oauth2.ioot.xyz
tls:
- hosts:
- oauth2.ioot.xyz
secretName: oauth2-tls

View file

@ -0,0 +1,19 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: oauth2-proxy
namespace: argocd
spec:
destination:
namespace: oauth2-proxy
server: https://kubernetes.default.svc
project: default
source:
path: apps/oauth2-proxy
repoURL: git@github.com:amkartashov/gf-k8s
syncPolicy:
syncOptions:
- CreateNamespace=true
automated:
prune: true
selfHeal: true