Compare commits

...

3 Commits

Author SHA1 Message Date
Igor Milavec
a0c35e7da9 Add valued description and bump chart version 2025-09-10 10:40:27 +02:00
Igor Milavec
8ddbc04536 More backwards compatible 2025-08-27 11:45:47 +02:00
Igor Milavec
be72271f28 Halm improvements for Ingress 2025-08-25 19:55:54 +02:00
4 changed files with 32 additions and 12 deletions

View File

@@ -5,7 +5,7 @@ home: https://www.onyx.app/
sources:
- "https://github.com/onyx-dot-app/onyx"
type: application
version: 0.2.9
version: 0.3.0
appVersion: latest
annotations:
category: Productivity

View File

@@ -4,17 +4,22 @@ kind: Ingress
metadata:
name: {{ include "onyx-stack.fullname" . }}-ingress-api
annotations:
kubernetes.io/ingress.class: nginx
nginx.ingress.kubernetes.io/rewrite-target: /$2
nginx.ingress.kubernetes.io/use-regex: "true"
{{- if .Values.letsencrypt.enabled -}}
cert-manager.io/cluster-issuer: {{ include "onyx-stack.fullname" . }}-letsencrypt
{{- end }}
{{- with .Values.ingress.api.annotations }}
{{- toYaml . | nindent 4 }}
{{- end }}
spec:
{{- if .Values.ingress.className }}
ingressClassName: {{ .Values.ingress.className }}
{{- end }}
rules:
- host: {{ .Values.ingress.api.host }}
http:
paths:
- path: /api(/|$)(.*)
pathType: Prefix
- path: {{ .Values.ingress.api.path }}
pathType: {{ .Values.ingress.api.pathType }}
backend:
service:
name: {{ include "onyx-stack.fullname" . }}-api-service
@@ -23,5 +28,5 @@ spec:
tls:
- hosts:
- {{ .Values.ingress.api.host }}
secretName: {{ include "onyx-stack.fullname" . }}-ingress-api-tls
{{- end }}
secretName: {{ .Values.ingress.api.tlsSecretName | default (printf "%s-ingress-api-tls" (include "onyx-stack.fullname" .)) }}
{{- end }}

View File

@@ -4,10 +4,17 @@ kind: Ingress
metadata:
name: {{ include "onyx-stack.fullname" . }}-ingress-webserver
annotations:
kubernetes.io/ingress.class: nginx
{{- if .Values.letsencrypt.enabled -}}
cert-manager.io/cluster-issuer: {{ include "onyx-stack.fullname" . }}-letsencrypt
kubernetes.io/tls-acme: "true"
{{- end }}
{{- with .Values.ingress.webserver.annotations }}
{{- toYaml . | nindent 4 }}
{{- end }}
spec:
{{- if .Values.ingress.className }}
ingressClassName: {{ .Values.ingress.className }}
{{- end }}
rules:
- host: {{ .Values.ingress.webserver.host }}
http:
@@ -22,5 +29,5 @@ spec:
tls:
- hosts:
- {{ .Values.ingress.webserver.host }}
secretName: {{ include "onyx-stack.fullname" . }}-ingress-webserver-tls
{{- end }}
secretName: {{ .Values.ingress.webserver.tlsSecretName | default (printf "%s-ingress-webserver-tls" (include "onyx-stack.fullname" .)) }}
{{- end }}

View File

@@ -588,9 +588,17 @@ minio:
ingress:
enabled: false
className: ""
className: "nginx"
api:
host: onyx.local
# Ingress controller specific section start
# Default values are appropriate for NGinx ingress controller. If you use a different ingress controller, you will need to adjust ALL these values.
path: /api(/|$)(.*)
pathType: ImplementationSpecific
annotations:
nginx.ingress.kubernetes.io/rewrite-target: /$2
nginx.ingress.kubernetes.io/use-regex: "true"
# Ingress controller specific section end
webserver:
host: onyx.local