mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
* ADD annotations to grpc and web pods FIX #15451 Signed-off-by: Nicolaj Græsholt <figaw@hotmail.com> * ADD docs on new values, BUMP chart minor version after adding feature Signed-off-by: Nicolaj Græsholt <figaw@hotmail.com> * FORMAT sort value parameters alphabetically. Signed-off-by: Nicolaj Græsholt <figaw@hotmail.com>
This commit is contained in:
committed by
Kubernetes Prow Robot
parent
99d3bde168
commit
58819ee0c0
@@ -1,6 +1,6 @@
|
||||
apiVersion: v1
|
||||
name: dex
|
||||
version: 2.0.1
|
||||
version: 2.1.0
|
||||
appVersion: 2.17.0
|
||||
description: CoreOS Dex
|
||||
keywords:
|
||||
|
||||
+23
-20
@@ -59,34 +59,37 @@ In order to upgrade, please update your values file and uninstall/reinstall the
|
||||
|
||||
## Configuration
|
||||
|
||||
The following table lists parameters introduced in v2.0.0
|
||||
Parameters introduced starting from v2
|
||||
|
||||
| Parameter | Description | Default |
|
||||
| --------- | ----------- | ------- |
|
||||
| `grpc` | Enable dex grpc endpoint | `true` |
|
||||
| `https` | Enable TLS termination for the dex http endpoint | `false` |
|
||||
| `ports.web.containerPort` | http/https port listened by the dex | `5556` |
|
||||
| `ports.web.nodePort` | K8S Service node port for the dex http/https listener | `32000` |
|
||||
| `ports.web.servicePort` | K8S Service port for the dex http/https listener | `32000` |
|
||||
| `ports.grpc.containerPort` | grpc port listened by the dex | `5000` |
|
||||
| `ports.grpc.nodePort` | K8S Service node port for the dex grpc listener | `35000` |
|
||||
| `ports.grpc.servicePort` | K8S Service port for the dex grpc listener | `35000` |
|
||||
| `service.loadBalancerIP` | IP override for K8S LoadBalancer Service | `""` |
|
||||
| `certs.grpc.pod.annotations` | Annotations for the pod created by the `grpc-certs` job | `{}` |
|
||||
| `certs.web.pod.annotations` | Annotations for the pod created by the `web-certs` job | `{}` |
|
||||
| `config.connectors` | Maps to the dex config `connectors` dict param | `{}` |
|
||||
| `config.enablePasswordDB` | Maps to the dex config `enablePasswordDB` param | `true` |
|
||||
| `config.grpc.address` | dex grpc listen address | `127.0.0.1` |
|
||||
| `config.grpc.tlsCert` | Maps to the dex config `grpc.tlsCert` param | `/etc/dex/tls/grpc/server/tls.crt` |
|
||||
| `config.grpc.tlsClientCA` | Maps to the dex config `grpc.tlsClientCA` param | `/etc/dex/tls/grpc/ca/tls.crt` |
|
||||
| `config.grpc.tlsKey` | Maps to the dex config `grpc.tlsKey` param | `/etc/dex/tls/grpc/server/tls.key` |
|
||||
| `config.issuer` | Maps to the dex config `issuer` param | `http://dex.io:8080` |
|
||||
| `config.storage` | Maps to the dex config `storage` dict param | `{"type": "kubernetes", "config": {"inCluster": true}}` |
|
||||
| `config.logger` | Maps to the dex config `logger` dict param | `{"level": "debug"}` |
|
||||
| `config.oauth2.skipApprovalScreen` | Maps to the dex config `oauth2.skipApprovalScreen` param | `true` |
|
||||
| `config.staticClients` | Maps to the dex config `staticClients` list param | `""` |
|
||||
| `config.staticPasswords` | Maps to the dex config `staticPasswords` list param | `""` |
|
||||
| `config.storage` | Maps to the dex config `storage` dict param | `{"type": "kubernetes", "config": {"inCluster": true}}` |
|
||||
| `config.web.address` | dex http/https listen address | `0.0.0.0` |
|
||||
| `config.web.tlsCert` | Maps to the dex config `web.tlsCert` param | `/etc/dex/tls/https/server/tls.crt` |
|
||||
| `config.web.tlsKey` | Maps to the dex config `web.tlsKey` param | `/etc/dex/tls/https/server/tls.key` |
|
||||
| `config.grpc.address` | dex grpc listen address | `127.0.0.1` |
|
||||
| `config.grpc.tlsCert` | Maps to the dex config `grpc.tlsCert` param | `/etc/dex/tls/grpc/server/tls.crt` |
|
||||
| `config.grpc.tlsKey` | Maps to the dex config `grpc.tlsKey` param | `/etc/dex/tls/grpc/server/tls.key` |
|
||||
| `config.grpc.tlsClientCA` | Maps to the dex config `grpc.tlsClientCA` param | `/etc/dex/tls/grpc/ca/tls.crt` |
|
||||
| `config.connectors` | Maps to the dex config `connectors` dict param | `{}` |
|
||||
| `config.oauth2.skipApprovalScreen` | Maps to the dex config `oauth2.skipApprovalScreen` param | `true` |
|
||||
| `config.staticClients` | Maps to the dex config `staticClients` list param | `""` |
|
||||
| `config.enablePasswordDB` | Maps to the dex config `enablePasswordDB` param | `true` |
|
||||
| `config.staticPasswords` | Maps to the dex config `staticPasswords` list param | `""` |
|
||||
| `grpc` | Enable dex grpc endpoint | `true` |
|
||||
| `https` | Enable TLS termination for the dex http endpoint | `false` |
|
||||
| `ports.grpc.containerPort` | grpc port listened by the dex | `5000` |
|
||||
| `ports.grpc.nodePort` | K8S Service node port for the dex grpc listener | `35000` |
|
||||
| `ports.grpc.servicePort` | K8S Service port for the dex grpc listener | `35000` |
|
||||
| `ports.web.containerPort` | http/https port listened by the dex | `5556` |
|
||||
| `ports.web.nodePort` | K8S Service node port for the dex http/https listener | `32000` |
|
||||
| `ports.web.servicePort` | K8S Service port for the dex http/https listener | `32000` |
|
||||
| `service.loadBalancerIP` | IP override for K8S LoadBalancer Service | `""` |
|
||||
|
||||
|
||||
|
||||
Check [values.yaml](values.yaml) notes together with [dex documentation][dex] and [config examples](https://github.com/dexidp/dex/tree/master/examples) for all the possible configuration options.
|
||||
|
||||
@@ -27,6 +27,10 @@ spec:
|
||||
app.kubernetes.io/name: {{ include "dex.name" . }}
|
||||
app.kubernetes.io/instance: {{ .Release.Name }}
|
||||
app.kubernetes.io/component: "job-grpc-certs"
|
||||
{{- if .Values.certs.grpc.pod.annotations }}
|
||||
annotations:
|
||||
{{ toYaml .Values.certs.grpc.pod.annotations | trim | indent 8 }}
|
||||
{{- end }}
|
||||
spec:
|
||||
{{- if .Values.certs.securityContext.enabled }}
|
||||
securityContext:
|
||||
|
||||
@@ -24,6 +24,10 @@ spec:
|
||||
app.kubernetes.io/name: {{ include "dex.name" . }}
|
||||
app.kubernetes.io/instance: {{ .Release.Name }}
|
||||
app.kubernetes.io/component: "job"
|
||||
{{- if .Values.certs.web.pod.annotations }}
|
||||
annotations:
|
||||
{{ toYaml .Values.certs.web.pod.annotations | trim | indent 8 }}
|
||||
{{- end }}
|
||||
spec:
|
||||
{{- if .Values.certs.securityContext.enabled }}
|
||||
securityContext:
|
||||
|
||||
@@ -92,6 +92,8 @@ certs:
|
||||
secret:
|
||||
tlsName: dex-web-server-tls
|
||||
caName: dex-web-server-ca
|
||||
pod:
|
||||
annotations: {}
|
||||
# Section below is relevant only when grpc support is enabled
|
||||
grpc:
|
||||
create: true
|
||||
@@ -103,6 +105,8 @@ certs:
|
||||
serverTlsName: dex-grpc-server-tls
|
||||
clientTlsName: dex-grpc-client-tls
|
||||
caName: dex-grpc-ca
|
||||
pod:
|
||||
annotations: {}
|
||||
|
||||
env: []
|
||||
|
||||
|
||||
Reference in New Issue
Block a user