mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
incubator/oauth-proxy Allow path to be configured (#2936)
* incubator/oauth-proxy Allow path to be configured Allow path to be configured on the ingress. If one has a vhost that needs to be shared with oauth proxy, then we need to be able to proxy pass just /oauth2 to the proxy. Thus allowing it to be configured here. * Update Chart version * Fix variable inside range loop.
This commit is contained in:
committed by
k8s-ci-robot
parent
1bde9b4ac9
commit
f7edc873f1
@@ -1,5 +1,5 @@
|
||||
name: oauth-proxy
|
||||
version: 0.1.0
|
||||
version: 0.1.2
|
||||
appVersion: 2.2
|
||||
description: A reverse proxy that provides authentication with Google, Github or other providers
|
||||
keywords:
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
{{- if .Values.ingress.enabled -}}
|
||||
{{- $serviceName := include "oauth-proxy.fullname" . -}}
|
||||
{{- $servicePort := .Values.service.externalPort -}}
|
||||
{{- $ingressPath := .Values.ingress.path -}}
|
||||
apiVersion: extensions/v1beta1
|
||||
kind: Ingress
|
||||
metadata:
|
||||
@@ -20,7 +21,7 @@ spec:
|
||||
- host: {{ $host }}
|
||||
http:
|
||||
paths:
|
||||
- path: /
|
||||
- path: {{ $ingressPath }}
|
||||
backend:
|
||||
serviceName: {{ $serviceName }}
|
||||
servicePort: {{ $servicePort }}
|
||||
|
||||
@@ -25,6 +25,7 @@ service:
|
||||
|
||||
ingress:
|
||||
enabled: false
|
||||
path: /
|
||||
# Used to create an Ingress record.
|
||||
# hosts:
|
||||
# - chart-example.local
|
||||
|
||||
Reference in New Issue
Block a user