0.0.13-0.1.0 • Published 5 years ago

@helm-charts/banzaicloud-stable-dex v0.0.13-0.1.0

Weekly downloads
1
License
MIT
Repository
-
Last release
5 years ago

@helm-charts/banzaicloud-stable-dex

dexidp Dex

FieldValue
Repository Namebanzaicloud-stable
Chart Namedex
Chart Version0.0.13
NPM Package Version0.1.0
# Default values for dex
# This is a YAML-formatted file.
# Declare name/value pairs to be passed into your templates.
# name: value

image: banzaicloud/dex-shim
imageTag: '0.3.2'
imagePullPolicy: 'IfNotPresent'

replicas: 1

postgresql:
  enabled: true
  postgresqlUsername: dex
  postgresqlPassword: foo
  postgresqlDatabase: dex_db

cloudsql:
  enabled: false
  image:
    repository: gcr.io/cloudsql-docker/gce-proxy
    tag: 1.11
    pullPolicy: IfNotPresent
  instance: ''

exampleApp:
  enabled: false
  clientID: ''
  clientSecret: ''
  redirectURI: ''

# resources:
# limits:
# cpu: 100m
# memory: 50Mi
# requests:
# cpu: 100m
# memory: 50Mi

ports:
  - name: http
    containerPort: 5556
    protocol: TCP
  - name: grpc
    containerPort: 5557
    protocol: TCP

service:
  type: ClusterIP
  annotations: {}

extraVolumes: []
extraVolumeMounts: []

certs:
  tlsName: ''
  caName: ''

env: []
envFrom: []

rbac:
  create: true

serviceAccount:
  create: true
  name:

config:
  issuer: ''

  logger:
    level: ''

  web:
    http: ''

  grpc:
    addr: ''

  frontend:
    theme: ''

  storage:
    type: ''
    config:
      database: ''
      user: ''
      password: ''
      host: ''
      ssl:
        mode: ''

  staticClients: []

  connectors: {}

  enablePasswordDB: false
  staticPasswords: []

nodeSelector: {}

ingress:
  enabled: false
  annotations:
    {}
    #kubernetes.io/ingress.class: traefik
    #ingress.kubernetes.io/ssl-redirect: "false"
    #traefik.frontend.rule.type: PathPrefix
  hosts:
    - '/'
    # - "domain.com/xyz"
    # - "domain.com"
  tls: []
  #  - secretName: chart-example-tls
  #    hosts:
  #      - chart-example.local

Dexidp dex chart

Installing the Chart

helm repo add banzaicloud-stable http://kubernetes-charts.banzaicloud.com/branch/master
helm install --name dex banzaicloud-stable/dex

Configuration

The following tables lists configurable parameters of the dex chart and their default values.

ParameterDescriptionDefault
imagedex imagequay.io/dexidp/dex
imageTagimage tagmaster
imagePullPolicyimage pull policyIfNotPresent
replicasnumber of replicas1
postgresql.enableddeploy postgresqltrue
postgresql.postgresqlUsernamepostgresql usernamedex
postgresql.postgresqlPasswordpostgresql passwordfoo
postgresql.postgresqlDatabasepostgresql databasedex_db
cloudsql.enabledcloudsqlfalse
cloudsql.instancecloudsql instance host""
cloudsql.image.repositorycloudsql proxy image repositorygcr.io/cloudsql-docker/gce-proxy
cloudsql.image.tagcloudsql proxy image tag1.11
cloudsql.image.pullPolicycloudsql proxy image pull policyIfNotPresent
ports0.nameport 0 namehttp
ports0.containerPortport 0 port5556
posts0.protocolport 0 protocolTCP
service.typeservice typeClusterIP
service.annotationsservice annotattions{}
certs.tlsNametls secret namedex-web-server-tls
certs.caNameCA secret namedex-web-server-ca
envenvironment variables[]
rbac.createRBAC resources should be createdtrue
serviceAccount.createserviceAccount should be createdtrue
serviceAccount.namename of the ServiceAccount to usedefault
config.issuerissuer urlhttp://127.0.0.1:5556/dex
config.logger.levellogger leveldebug
config.web.httpdex host and port0.0.0.0:5556
config.storage.typestorage typepostgresql
config.storage.config.databasestorage db{{ postgresql.postgresqlDatabase }}
config.storage.config.userstorage user{{ postgresql.postgresqlUsername }}
config.storage.config.passwordstorage password{{ postgresql.postgresqlPassword }}
config.storage.config.hoststorage hostRelease.Name-postgresql.Release.Namespace..svc.cluster.local:5432
config.storage.config.ssl.modestorage ssl modedisable
config.staticClientsclient config (use config file see below)[]
config.connectorsconnectors config (use config file see below)[]
nodeSelectornodeselector{}
ingress.enabledingress enabledfalse
ingress.annotationsingress annotations{}
ingress.hostsingress hosts"/"
ingress.tlsingress TLS[]

An example static client config:

config:
  staticClients:
    - id: example-app
      redirectURIs:
        - 'http://127.0.0.1:9000/auth/dex/callback'
        - 'http://localhost:9000/auth/dex/callback'
      name: 'Example App'
      secret: example-secret

An example connector config:

config:
  connectors:
    github:
      type: github
      id: github
      name: GitHub
      config:
        loadAllGroups: true
        clientID: <github-client-id>
        clientSecret: <fithub-client-secret>
        redirectURI: http://127.0.0.1:5556/dex/callback

    ldap:
      type: ldap
      name: OpenLDAP
      id: ldap
      config:
        host: <ladp-ip>:<ldap-port>
        # No TLS for this setup.
        insecureNoSSL: true
        # This would normally be a read-only user.
        bindDN: cn=admin,dc=example,dc=org
        bindPW: admin
        usernamePrompt: Email Address
        userSearch:
          baseDN: ou=People,dc=example,dc=org
          filter: '(objectClass=person)'
          username: mail
          # "DN" (case sensitive) is a special attribute name. It indicates that
          # this value should be taken from the entity's DN not an attribute on
          # the entity.
          idAttr: DN
          emailAttr: mail
          nameAttr: cn
        groupSearch:
          baseDN: ou=Groups,dc=example,dc=org
          filter: '(objectClass=groupOfNames)'
          # A user is a member of a group when their DN matches
          # the value of a "member" attribute on the group entity.
          userAttr: DN
          groupAttr: member
          # The group name should be the "cn" value.
          nameAttr: cn