Skip to content

Commit

Permalink
Release 1.0.19
Browse files Browse the repository at this point in the history
  • Loading branch information
kerny3d committed Dec 13, 2023
1 parent 1283558 commit 50b9101
Show file tree
Hide file tree
Showing 4 changed files with 33 additions and 1 deletion.
10 changes: 10 additions & 0 deletions charts/knowage/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,16 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/)
and this project adheres to [Semantic Versioning](http://semver.org/).

## [1.0.19] - 2023-12-13

### Added

- Customization for ALB Ingress Controller

### Changed

### Fixed

## [1.0.18] - 2023-11-28

### Added
Expand Down
2 changes: 1 addition & 1 deletion charts/knowage/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

apiVersion: v2
name: knowage
version: 1.0.18
version: 1.0.19
kubeVersion: ">= 1.22.0-0"
description: A Helm chart for Kubernetes Suite
type: application
Expand Down
21 changes: 21 additions & 0 deletions charts/knowage/templates/ingress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@ kind: Ingress
metadata:
annotations:
{{ toYaml .Values.knowage.ingress.annotations | indent 4 }}
{{- if ((.Values.knowage.ingress).isAlb) }}
alb.ingress.kubernetes.io/actions.go-to-home: >
{"Type":"redirect","RedirectConfig":{"Path":"/knowage/","StatusCode":"HTTP_302"}}
{{- end }}
name: {{ include "knowage.ingress" . }}
namespace: {{ .Release.Namespace }}
spec:
Expand All @@ -33,6 +37,14 @@ spec:
- host: {{ include "knowage.domain" . }}
http:
paths:
{{- if ((.Values.knowage.ingress).isAlb) }}
- backend:
service:
name: go-to-home
port:
name: use-annotation
path: /
pathType: Exact
# WARNING : Here we list every context because AWS Load Balancer Controller seems to have
# a very strange behavior with pathType equals to Prefix where /knowagecockpitengine, for
# example, is not managed by /knowage rule. The Nginx Ingress Controller has the behavior
Expand Down Expand Up @@ -128,6 +140,15 @@ spec:
number: {{ include "knowage.ingress.port" . }}
path: /knowagewhatifengine
pathType: Prefix
{{- else }}
- backend:
service:
name: {{ include "knowage.ingress.service" . }}
port:
number: {{ include "knowage.ingress.port" . }}
path: /knowage
pathType: Prefix
{{- end }}
tls:
- hosts:
- {{ include "knowage.domain" . }}
Expand Down
1 change: 1 addition & 0 deletions charts/knowage/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,7 @@ knowage:
ingress:
deploy: true
class: nginx
isAlb: false
annotations:
nginx.ingress.kubernetes.io/ssl-redirect: "true"
nginx.ingress.kubernetes.io/use-regex: "true"
Expand Down

0 comments on commit 50b9101

Please sign in to comment.