Add helm tests for applications

This commit is contained in:
M. Rehan
2022-03-22 00:43:31 +05:00
parent 4567145db1
commit acf55a6397
201 changed files with 241 additions and 117 deletions

View File

@@ -1,22 +0,0 @@
## Set default image, imageTag, and imagePullPolicy. mode is used to indicate the
##
image:
repository: minio/minio
tag: RELEASE.2020-11-19T23-48-16Z
pullPolicy: IfNotPresent
## Additional arguments to pass to minio binary
extraArgs: []
updateStrategy: RollingUpdate
service:
nodePort: 9000
environment:
## Please refer for comprehensive list https://docs.minio.io/docs/minio-server-configuration-guide.html
appVolumeMounts:
export:
emptyDir: true
mountPath: "/export"

View File

@@ -1,5 +1,5 @@
apiVersion: v1
appVersion: '2022-03-22'
appVersion: '2022-03-17'
dependencies:
- name: common
repository: file://../../../library/common/2112.0.0
@@ -16,4 +16,4 @@ sources:
- https://github.com/minio/minio
- https://github.com/minio/charts
upstream_version: 8.0.5
version: 1.5.10
version: 1.6.0

View File

@@ -1,6 +1,6 @@
image:
pullPolicy: IfNotPresent
repository: minio/minio
tag: RELEASE.2022-03-22T02-05-10Z
tag: RELEASE.2022-03-17T06-34-49Z
runAsGroup: 473
runAsUser: 473

View File

@@ -0,0 +1,21 @@
{{- $serviceName := (include "common.names.fullname" .) -}}
apiVersion: v1
kind: Pod
metadata:
name: "{{ .Release.Name }}-minio-test"
labels:
app: {{ .Release.Name }}
release: {{ .Release.Name }}
annotations:
"helm.sh/hook": test
spec:
containers:
- name: test-curl
image: alpine/curl
imagePullPolicy: "IfNotPresent"
command:
- /bin/sh
- -ec
- |
curl --connect-timeout 5 --max-time 10 --retry 5 --retry-delay 15 --retry-max-time 90 --retry-all-errors -ksf http://{{ $serviceName }}:{{ .Values.service.consolePort }}/
restartPolicy: Never

View File

@@ -13,7 +13,7 @@ extraArgs: []
image:
pullPolicy: IfNotPresent
repository: minio/minio
tag: RELEASE.2022-03-22T02-05-10Z
tag: RELEASE.2022-03-17T06-34-49Z
minioDomain: null
runAsGroup: 473
runAsUser: 473