Skip to content
This repository has been archived by the owner on Feb 12, 2024. It is now read-only.

Commit

Permalink
Mv/ingress version (#13)
Browse files Browse the repository at this point in the history
* fix ingress version

Signed-off-by: Mario Vejlupek <[email protected]>

* Bump chart version

Signed-off-by: Mario Vejlupek <[email protected]>

Signed-off-by: Mario Vejlupek <[email protected]>
Co-authored-by: Sebastien Dupont <[email protected]>
  • Loading branch information
elmariofredo and banzo authored Nov 16, 2022
1 parent 0c14db2 commit 5596baf
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -20,7 +20,7 @@ source:
maintainers:
- name: fzalila
email: [email protected]
url: https://github.com/fzalila
url: https://github.com/fzalila
- name: alexnuttinck
email: [email protected]
url: https://github.com/alexnuttinck
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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** |
Expand Down
5 changes: 4 additions & 1 deletion templates/ingress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand All @@ -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" }}
Expand Down
1 change: 1 addition & 0 deletions values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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: []
Expand Down

0 comments on commit 5596baf

Please sign in to comment.