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

Commit

Permalink
Add imagePullSecrets to deployment and update adminer version (#3)
Browse files Browse the repository at this point in the history
* Update README.md

* add ImagePullSecrets

* update Chart and App versions

* update README

* Update README.md

Co-authored-by: Alexandre Nuttinck <[email protected]>
  • Loading branch information
MatheoAtche and alexnuttinck authored Aug 19, 2020
1 parent ea0d440 commit 702d169
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 6 deletions.
4 changes: 2 additions & 2 deletions Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
---
apiVersion: v2
name: adminer
appVersion: 4.7.6
version: 0.1.4
appVersion: 4.7.7
version: 0.1.5
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 Down
5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,14 +56,13 @@ The following table lists the configurable parameters of the Adminer chart and t
| --------------------------------- | ----------------------------------------------------------------------- | --------------------------- |
| **Image** |
| `image.repository` | Image | `adminer` |
| `image.tag` | Image tag | `4.7.6-standalone` |
| `image.tag` | Image tag | `4.7.7-standalone` |
| `image.pullPolicy` | Image pull policy | `IfNotPresent` |
| `image.pullSecrets` | Image pull secrets for private registry | `[]` |
| **Config** |
| `config.plugins` | List of plugins to install. You can find the list of plugins on [GitHub](https://github.com/vrana/adminer/tree/master/plugins)| ``|
| `config.design` | A bundled design to use. You can find the list of designs on [GitHub](https://github.com/vrana/adminer/tree/master/designs)| ``|
| `config.externalserver` | The default host | `` |
| **Command** |
| `command` | Container entrypoint command | `[]` |
| **Service** |
| `service.type` | Service type | `NodePort` |
| `service.port` | The service port | `80` |
Expand Down
6 changes: 6 additions & 0 deletions templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,12 @@ spec:
app.kubernetes.io/name: {{ include "adminer.name" . }}
app.kubernetes.io/instance: {{ .Release.Name }}
spec:
{{- if .Values.image.pullSecrets }}
imagePullSecrets:
{{- range .Values.image.pullSecrets }}
- name: {{ . }}
{{- end }}
{{- end }}
containers:
- name: {{ .Chart.Name }}
image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
Expand Down
3 changes: 2 additions & 1 deletion values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,9 @@ replicaCount: 1

image:
repository: adminer
tag: 4.7.6-standalone
tag: 4.7.7-standalone
pullPolicy: IfNotPresent
pullSecrets: []

# See envs from https://hub.docker.com/_/adminer/
config:
Expand Down

0 comments on commit 702d169

Please sign in to comment.