mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
* https://github.com/bitly/oauth2_proxy#email-authentication Signed-off-by: Martina Rath <mpratscher@gmail.com>
95 lines
2.6 KiB
YAML
95 lines
2.6 KiB
YAML
# Oauth client configuration specifics
|
|
config:
|
|
# OAuth client ID
|
|
clientID: "XXXXXXX"
|
|
# OAuth client secret
|
|
clientSecret: "XXXXXXXX"
|
|
# Create a new secret with the following command
|
|
# python -c 'import os,base64; print base64.b64encode(os.urandom(16))'
|
|
cookieSecret: "XXXXXXXXXX"
|
|
# Custom configuration file: oauth2_proxy.cfg
|
|
# configFile: |-
|
|
# pass_basic_auth = false
|
|
# pass_access_token = true
|
|
configFile: ""
|
|
|
|
image:
|
|
repository: "a5huynh/oauth2_proxy"
|
|
tag: "2.2"
|
|
pullPolicy: "IfNotPresent"
|
|
|
|
# Optionally specify an array of imagePullSecrets.
|
|
# Secrets must be manually created in the namespace.
|
|
# ref: https://kubernetes.io/docs/concepts/containers/images/#specifying-imagepullsecrets-on-a-pod
|
|
# imagePullSecrets:
|
|
# - name: myRegistryKeySecretName
|
|
|
|
extraArgs:
|
|
email-domain: "*"
|
|
upstream: "file:///dev/null"
|
|
http-address: "0.0.0.0:4180"
|
|
|
|
# To authorize individual email addresses
|
|
# That is part of extraArgs but since this needs special treatment we need to do a separate section
|
|
authenticatedEmailsFile:
|
|
enabled: false
|
|
# template is the name of the configmap what contains the email user list but has been configured without this chart.
|
|
# It's a simpler way to maintain only one configmap (user list) instead changing it for each oauth2-proxy service.
|
|
# Be aware the value name in the extern config map in data needs to be named to "restricted_user_access".
|
|
template: ""
|
|
# One email per line
|
|
# example:
|
|
# restricted_access: |-
|
|
# name1@domain
|
|
# name2@domain
|
|
# If you override the config with restricted_access it will configure a user list within this chart what takes care of the
|
|
# config map resource.
|
|
restricted_access: ""
|
|
|
|
service:
|
|
type: ClusterIP
|
|
port: 80
|
|
annotations: {}
|
|
# foo.io/bar: "true"
|
|
|
|
ingress:
|
|
enabled: false
|
|
path: /
|
|
# Used to create an Ingress record.
|
|
# hosts:
|
|
# - chart-example.local
|
|
# annotations:
|
|
# kubernetes.io/ingress.class: nginx
|
|
# kubernetes.io/tls-acme: "true"
|
|
# tls:
|
|
# Secrets must be manually created in the namespace.
|
|
# - secretName: chart-example-tls
|
|
# hosts:
|
|
# - chart-example.local
|
|
|
|
resources: {}
|
|
# limits:
|
|
# cpu: 100m
|
|
# memory: 300Mi
|
|
# requests:
|
|
# cpu: 100m
|
|
# memory: 300Mi
|
|
|
|
priorityClassName: ""
|
|
|
|
# Affinity for pod assignment
|
|
# Ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity
|
|
# affinity: {}
|
|
|
|
# Tolerations for pod assignment
|
|
# Ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
|
|
tolerations: []
|
|
|
|
# Node labels for pod assignment
|
|
# Ref: https://kubernetes.io/docs/user-guide/node-selection/
|
|
nodeSelector: {}
|
|
|
|
podAnnotations: {}
|
|
podLabels: {}
|
|
replicaCount: 1
|