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

update ingress.yaml and service.yaml #124

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
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
Prev Previous commit
chore(charts/CHART): bump chart version and update README
Signed-off-by: RadOctocode <mtan2198@gmail.com>
RadOctocode committed Mar 13, 2024
commit d99035829f067ac170e73925961905f42d10fff3
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.16.0
version: 0.17.0
appVersion: "2.38.0"
kubeVersion: ">=1.14.0-0"
description: OpenID Connect (OIDC) identity and OAuth 2.0 provider with pluggable connectors.
@@ -21,8 +21,8 @@ maintainers:
url: https://sagikazarmark.hu
annotations:
artifacthub.io/changes: |
- kind: changed
description: "Dex 2.38.0 release"
- kind: added
description: updated ingress.yaml to allow https ports and updated service.yaml to support specifying telemetry nodeport
artifacthub.io/images: |
- name: dex
image: ghcr.io/dexidp/dex:v2.38.0
2 changes: 1 addition & 1 deletion charts/dex/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# dex

![version: 0.16.0](https://img.shields.io/badge/version-0.16.0-informational?style=flat-square) ![type: application](https://img.shields.io/badge/type-application-informational?style=flat-square) ![app version: 2.38.0](https://img.shields.io/badge/app%20version-2.38.0-informational?style=flat-square) ![kube version: >=1.14.0-0](https://img.shields.io/badge/kube%20version->=1.14.0--0-informational?style=flat-square) [![artifact hub](https://img.shields.io/badge/artifact%20hub-dex-informational?style=flat-square)](https://artifacthub.io/packages/helm/dex/dex)
![version: 0.17.0](https://img.shields.io/badge/version-0.17.0-informational?style=flat-square) ![type: application](https://img.shields.io/badge/type-application-informational?style=flat-square) ![app version: 2.38.0](https://img.shields.io/badge/app%20version-2.38.0-informational?style=flat-square) ![kube version: >=1.14.0-0](https://img.shields.io/badge/kube%20version->=1.14.0--0-informational?style=flat-square) [![artifact hub](https://img.shields.io/badge/artifact%20hub-dex-informational?style=flat-square)](https://artifacthub.io/packages/helm/dex/dex)

OpenID Connect (OIDC) identity and OAuth 2.0 provider with pluggable connectors.

2 changes: 1 addition & 1 deletion charts/dex/templates/ingress.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{{- if .Values.ingress.enabled -}}
{{- $fullName := include "dex.fullname" . -}}
{{- $svcPort := .Values.https.enabled | ternary .Values.service.ports.http.port .Values.service.port.https.port}}
{{- $svcPort := .Values.https.enabled | ternary .Values.service.ports.https.port .Values.service.port.http.port -}}
{{- if and .Values.ingress.className (not (semverCompare ">=1.18-0" .Capabilities.KubeVersion.GitVersion)) }}
{{- if not (hasKey .Values.ingress.annotations "kubernetes.io/ingress.class") }}
{{- $_ := set .Values.ingress.annotations "kubernetes.io/ingress.class" .Values.ingress.className}}
2 changes: 1 addition & 1 deletion charts/dex/templates/service.yaml
Original file line number Diff line number Diff line change
@@ -50,7 +50,7 @@ spec:
{{- end }}
- name: telemetry
port: 5558
{{- if and (or (eq .Values.service.type "NodePort") (eq .Values.service.type "LoadBalancer")) >Values.service.ports.telemetry.nodePort }}
{{- if and (or (eq .Values.service.type "NodePort") (eq .Values.service.type "LoadBalancer")) .Values.service.ports.telemetry.nodePort }}
nodePort: {{ .Values.service.ports.telemetry.nodePort }}
{{- end}}
targetPort: telemetry
3 changes: 3 additions & 0 deletions charts/dex/values.yaml
Original file line number Diff line number Diff line change
@@ -184,6 +184,9 @@ service:
# -- (int) gRPC node port (when applicable)
nodePort:

telemetry:
nodePort: null

ingress:
# -- Enable [ingress](https://kubernetes.io/docs/concepts/services-networking/ingress/).
enabled: false