Skip to content

Commit

Permalink
Merge pull request #16 from didlawowo/main
Browse files Browse the repository at this point in the history
fix ingress
  • Loading branch information
patcher9 authored Oct 31, 2024
2 parents 9c6a6e2 + 908ba42 commit 0982761
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 9 deletions.
2 changes: 1 addition & 1 deletion charts/openlit/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: openlit
description: A Helm chart for OpenLIT
type: application
version: 1.11.2
version: 1.11.3
appVersion: 1.11.0
icon: https://avatars.githubusercontent.com/u/149867240?s=200&v=4

Expand Down
6 changes: 4 additions & 2 deletions charts/openlit/templates/client.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -176,14 +176,16 @@ spec:
{{- if .Values.nodeSelector }}
{{ toYaml .Values.nodeSelector | nindent 8 }}
{{- else }}
kubernetes.io/os: linux
kubernetes.io/arch: amd64
{{- end }}
{{- if .Values.tolerations }}
tolerations:
{{- toYaml .Values.tolerations | nindent 8 }}
{{- end }}
{{- if .Values.affinity }}
affinity:
{{ toYaml .Values.affinity | nindent 8 }}
{{- toYaml .Values.affinity | nindent 8 }}
{{- end }}
---
apiVersion: v1
kind: Service
Expand Down
2 changes: 1 addition & 1 deletion charts/openlit/templates/ingress.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ spec:
backend:
{{- if semverCompare ">=1.19-0" $.Capabilities.KubeVersion.GitVersion }}
service:
name: {{ include "openlit.fullname" . }}
name: openlit
port:
number: {{ $svcPort }}
{{- else }}
Expand Down
10 changes: 5 additions & 5 deletions charts/openlit/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ clickhouse:
# Ingress configuration (for exposing OpenLIT via an ingress)
ingress:
enabled: false
className: ""
className: "nginx"
annotations: {}
# kubernetes.io/ingress.class: nginx
# kubernetes.io/tls-acme: "true"
Expand All @@ -130,7 +130,7 @@ ingress:
paths:
- path: /
pathType: ImplementationSpecific
tls: []
# - secretName: chart-example-tls
# hosts:
# - chart-example.local
tls:
- secretName: chart-example-tls
hosts:
- chart-example.local

0 comments on commit 0982761

Please sign in to comment.