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

Commit

Permalink
Add probes #2
Browse files Browse the repository at this point in the history
  • Loading branch information
alexnuttinck committed Jul 28, 2020
1 parent f564041 commit 2beba10
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 109 deletions.
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@ jobs:
environment:
- GITHUB_PAGES_REPO: cetic/helm-charts
- HELM_CHART: adminer
- HELM_VERSION: 3.1.0
- HELM_VERSION: 3.1.2
command: wget -O - https://raw.githubusercontent.com/cetic/helm-adminer/develop/publish.sh | sh
6 changes: 3 additions & 3 deletions Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
---
apiVersion: "v2"
apiVersion: v2
name: adminer
appVersion: "4.7.6"
version: 0.1.3
appVersion: 4.7.6
version: 0.1.4
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
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ This [Helm](https://github.com/kubernetes/helm) chart installs [Adminer](https:/
## Prerequisites

- Kubernetes cluster 1.10+
- Helm 2.8.0+
- Helm 3.0.0+
- PV provisioner support in the underlying infrastructure.

## Installation
Expand Down Expand Up @@ -86,9 +86,9 @@ The following table lists the configurable parameters of the Adminer chart and t
| **Affinity** |
| `affinity` | node/pod affinities | `{}` |
| **LivenessProbe** |
| `livenessProbe` | Liveness probe settings | `{}` |
| `livenessProbe` | Liveness probe settings | `nil` |
| **ReadnessProbe** |
| `readinessProbe` | Readiness probe settings | `{}` |
| `readinessProbe` | Readiness probe settings | `nil` |

## Credits

Expand Down
94 changes: 0 additions & 94 deletions publish.sh

This file was deleted.

12 changes: 4 additions & 8 deletions templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,16 +34,12 @@ spec:
value: {{ .Values.config.design }}
- name: ADMINER_DEFAULT_SERVER
value: {{ .Values.config.externalserver }}
livenessProbe:
httpGet:
path: /
port: http
readinessProbe:
httpGet:
path: /
port: http
resources:
{{- toYaml .Values.resources | nindent 12 }}
livenessProbe:
{{ toYaml .Values.livenessProbe | indent 12 }}
readinessProbe:
{{ toYaml .Values.readinessProbe | indent 12 }}
{{- with .Values.nodeSelector }}
nodeSelector:
{{- toYaml . | nindent 8 }}
Expand Down

0 comments on commit 2beba10

Please sign in to comment.