Skip to content

Commit

Permalink
fix(keycloak): remove wrong ingress route rule
Browse files Browse the repository at this point in the history
  • Loading branch information
pascaliske committed Jan 7, 2024
1 parent ab98f01 commit fb62261
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 17 deletions.
6 changes: 3 additions & 3 deletions charts/keycloak/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ apiVersion: v2
type: application
name: keycloak
description: A Helm chart for Keycloak
version: 0.1.0
version: 0.1.1
# renovate: image=quay.io/keycloak/keycloak
appVersion: "23.0.3"

Expand All @@ -26,5 +26,5 @@ dependencies:

annotations:
artifacthub.io/changes: |-
- kind: added
description: 'Implement ingress route and certificate objects.'
- kind: fixed
description: 'Removed wrong ingress route rule.'
2 changes: 1 addition & 1 deletion charts/keycloak/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

> A Helm chart for Keycloak
[![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ](https://charts.pascaliske.dev/charts/keycloak/)[![Version: 0.1.0](https://img.shields.io/badge/Version-0.1.0-informational?style=flat-square) ](https://charts.pascaliske.dev/charts/keycloak/)[![AppVersion: 23.0.3](https://img.shields.io/badge/AppVersion-23.0.3-informational?style=flat-square) ](https://charts.pascaliske.dev/charts/keycloak/)
[![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ](https://charts.pascaliske.dev/charts/keycloak/)[![Version: 0.1.1](https://img.shields.io/badge/Version-0.1.1-informational?style=flat-square) ](https://charts.pascaliske.dev/charts/keycloak/)[![AppVersion: 23.0.3](https://img.shields.io/badge/AppVersion-23.0.3-informational?style=flat-square) ](https://charts.pascaliske.dev/charts/keycloak/)

* <https://github.com/pascaliske/helm-charts>
* <https://github.com/keycloak/keycloak>
Expand Down
15 changes: 2 additions & 13 deletions charts/keycloak/templates/ingressroute.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,24 +18,13 @@ spec:
{{- toYaml . | nindent 4 }}
{{- end }}
routes:
- kind: Rule
match: '{{ required "Mandatory field \".ingressRoute.rule\" is empty!" .Values.ingressRoute.rule }} && (PathPrefix(`/api`) || PathPrefix(`/dav`) || PathPrefix(`/.well-known`))'
services:
- kind: Service
name: {{ printf "%s-web" (include "keycloak.fullname" . ) }}
namespace: {{ .Release.Namespace }}
port: {{ .Values.ports.api.port }}
{{- with .Values.ingressRoute.middlewares }}
middlewares:
{{- toYaml . | nindent 8 }}
{{- end }}
- kind: Rule
match: {{ required "Mandatory field \".ingressRoute.rule\" is empty!" .Values.ingressRoute.rule }}
services:
- kind: Service
name: {{ printf "%s-web" (include "keycloak.fullname" . ) }}
name: {{ include "keycloak.fullname" . }}
namespace: {{ .Release.Namespace }}
port: {{ .Values.ports.frontend.port }}
port: {{ .Values.ports.http.port }}
{{- with .Values.ingressRoute.middlewares }}
middlewares:
{{- toYaml . | nindent 8 }}
Expand Down

0 comments on commit fb62261

Please sign in to comment.