diff --git a/Chart.yaml b/Chart.yaml index 9ec45c9..4c4bff6 100644 --- a/Chart.yaml +++ b/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 name: adminer appVersion: 4.8.1 -version: 0.1.8 +version: 0.2.1 description: Adminer is a full-featured database management tool written in PHP. Conversely to phpMyAdmin, it consist of a single file ready to deploy to the target server. Adminer is available for MySQL, MariaDB, PostgreSQL, SQLite, MS SQL, Oracle, Firebird, SimpleDB, Elasticsearch and MongoDB home: https://www.adminer.org icon: https://raw.githubusercontent.com/Kong/docker-official-docs/master/adminer/logo.png @@ -20,7 +20,7 @@ source: maintainers: - name: fzalila email: faiez.zalila@cetic.be - url: https://github.com/fzalila + url: https://github.com/fzalila - name: alexnuttinck email: alexandre.nuttinck@cetic.be url: https://github.com/alexnuttinck diff --git a/README.md b/README.md index 03938fa..10ec92d 100644 --- a/README.md +++ b/README.md @@ -77,6 +77,7 @@ The following table lists the configurable parameters of the Adminer chart and t | `ingress.labels` | Custom labels | `{}` | | `ingress.hosts` | Ingress accepted hostnames | `[]` | | `ingress.tls` | Ingress TLS configuration | `[]` | +| `ingress.className` | Ingress Class Name | | | **Resources** | | `resources` | CPU/Memory resource requests/limits | `{}` | | **Tolerations** | diff --git a/templates/ingress.yaml b/templates/ingress.yaml index 4c275e2..f9a566b 100644 --- a/templates/ingress.yaml +++ b/templates/ingress.yaml @@ -17,6 +17,9 @@ metadata: {{ toYaml . | indent 4 }} {{- end }} spec: +{{- if .Values.ingress.className }} + ingressClassName: {{ .Values.ingress.className }} +{{- end }} {{- if .Values.ingress.tls }} tls: {{- range .Values.ingress.tls }} @@ -34,7 +37,7 @@ spec: paths: - path: {{ $ingressPath }} {{- if eq (include "adminer.ingress.apiVersion" $) "networking.k8s.io/v1" }} - pathType: Prefix + pathType: ImplementationSpecific {{- end }} backend: {{- if eq (include "adminer.ingress.apiVersion" $) "networking.k8s.io/v1" }} diff --git a/values.yaml b/values.yaml index b7abd10..3e7cd75 100644 --- a/values.yaml +++ b/values.yaml @@ -39,6 +39,7 @@ service: ## Configure Ingress based on the documentation here: https://kubernetes.io/docs/concepts/services-networking/ingress/ ## ingress: + # className: nginx enabled: false annotations: {} tls: []