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

Mv/ingress version #13

Merged
merged 3 commits into from
Nov 16, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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: 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
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