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

We need to use an External IPs for exposing our service #95

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
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
6 changes: 3 additions & 3 deletions charts/dex/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: v2
type: application
name: dex
version: 0.12.0
version: 0.12.1
appVersion: "2.35.1"
kubeVersion: ">=1.14.0-0"
description: OpenID Connect (OIDC) identity and OAuth 2.0 provider with pluggable connectors.
Expand All @@ -21,8 +21,8 @@ maintainers:
url: https://sagikazarmark.hu
annotations:
artifacthub.io/changes: |
- kind: changed
description: "Update Dex to 2.35.1"
- kind: added
description: "`loadBalancerIP` set IP value when using LoadBalancer service type"
artifacthub.io/images: |
- name: dex
image: ghcr.io/dexidp/dex:v2.35.1
2 changes: 2 additions & 0 deletions charts/dex/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,8 @@ ingress:
| service.annotations | object | `{}` | Annotations to be added to the service. |
| service.type | string | `"ClusterIP"` | Kubernetes [service type](https://kubernetes.io/docs/concepts/services-networking/service/#publishing-services-service-types). |
| service.clusterIP | string | `""` | Internal cluster service IP (when applicable) |
| service.loadBalancerIP | string | `nil` | IP value to LoadBalancer service type" (when applicable) |
| service.externalIPs | list | `nil` | Exposing an External IP (when applicable) (https://kubernetes.io/docs/tutorials/stateless-application/expose-external-ip-address). |
| service.ports.http.port | int | `5556` | HTTP service port |
| service.ports.http.nodePort | int | `nil` | HTTP node port (when applicable) |
| service.ports.https.port | int | `5554` | HTTPS service port |
Expand Down
7 changes: 7 additions & 0 deletions charts/dex/templates/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,13 @@ spec:
{{- with .Values.service.clusterIP }}
clusterIP: {{ . }}
{{- end }}
{{- with .Values.service.loadBalancerIP }}
loadBalancerIP: {{ . }}
{{- end }}
{{- if hasKey .Values.service "externalIPs" }}
externalIPs:
{{ toYaml .Values.service.externalIPs | indent 2 }}
{{- end }}
ports:
- name: http
port: {{ .Values.service.ports.http.port }}
Expand Down