mirror of
https://github.com/amkartashov/gf-k8s.git
synced 2026-01-11 09:59:43 +00:00
oauth2-proxy
This commit is contained in:
parent
451a06fbb2
commit
967810be33
4 changed files with 51 additions and 0 deletions
2
apps/oauth2-proxy/.gitignore
vendored
Normal file
2
apps/oauth2-proxy/.gitignore
vendored
Normal file
|
|
@ -0,0 +1,2 @@
|
||||||
|
Chart.lock
|
||||||
|
charts/
|
||||||
7
apps/oauth2-proxy/Chart.yaml
Normal file
7
apps/oauth2-proxy/Chart.yaml
Normal 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
|
||||||
23
apps/oauth2-proxy/values.yaml
Normal file
23
apps/oauth2-proxy/values.yaml
Normal 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
|
||||||
19
main/apps/oauth2-proxy.yaml
Normal file
19
main/apps/oauth2-proxy.yaml
Normal 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
|
||||||
Loading…
Reference in a new issue