From 53ce8cd15ff6fff59aedaff2c14d63eed5b8a5d5 Mon Sep 17 00:00:00 2001 From: Waqar Ahmed Date: Wed, 9 Dec 2020 06:12:06 +0500 Subject: [PATCH] Add test values yaml file --- test/minio/8.0.5/questions.yaml | 2 ++ test/minio/8.0.5/templates/NOTES.txt | 2 +- test/minio/8.0.5/templates/deployment.yaml | 3 +-- test/minio/8.0.5/test_values.yaml | 17 +++++++++++++++++ 4 files changed, 21 insertions(+), 3 deletions(-) create mode 100644 test/minio/8.0.5/test_values.yaml diff --git a/test/minio/8.0.5/questions.yaml b/test/minio/8.0.5/questions.yaml index 64ee9feb61..134d32c4d7 100644 --- a/test/minio/8.0.5/questions.yaml +++ b/test/minio/8.0.5/questions.yaml @@ -89,6 +89,7 @@ questions: - variable: secretKey label: "Secret Key" + group: "Minio Configuration" schema: type: string required: true @@ -101,6 +102,7 @@ questions: schema: type: dict additional_attrs: true + attrs: [] - variable: service description: "Minio Service Configuration" diff --git a/test/minio/8.0.5/templates/NOTES.txt b/test/minio/8.0.5/templates/NOTES.txt index 060e317c08..88e8e93ef8 100644 --- a/test/minio/8.0.5/templates/NOTES.txt +++ b/test/minio/8.0.5/templates/NOTES.txt @@ -1,2 +1,2 @@ Minio can be accessed from the following URL: -http://$node_ip:{{ .Values.plexServiceTCP.port }}/ +http://$node_ip:{{ .Values.service.nodePort }}/ diff --git a/test/minio/8.0.5/templates/deployment.yaml b/test/minio/8.0.5/templates/deployment.yaml index 26284e7f55..ddbbebd51d 100644 --- a/test/minio/8.0.5/templates/deployment.yaml +++ b/test/minio/8.0.5/templates/deployment.yaml @@ -23,7 +23,6 @@ spec: release: {{ .Release.Name }} annotations: checksum/secrets: {{ include (print $.Template.BasePath "/secrets.yaml") . | sha256sum }} - checksum/config: {{ include (print $.Template.BasePath "/configmap.yaml") . | sha256sum }} spec: serviceAccountName: {{ include "minio.serviceAccountName" . | quote }} containers: @@ -33,7 +32,7 @@ spec: command: - "/bin/sh" - "-ce" - - "/usr/bin/docker-entrypoint.sh minio -S server /export {{- template "minio.extraArgs" . }}" + - "/usr/bin/docker-entrypoint.sh minio server /export {{- template "minio.extraArgs" . }}" volumeMounts: - name: export mountPath: /export diff --git a/test/minio/8.0.5/test_values.yaml b/test/minio/8.0.5/test_values.yaml new file mode 100644 index 0000000000..9c03aa4a38 --- /dev/null +++ b/test/minio/8.0.5/test_values.yaml @@ -0,0 +1,17 @@ +## 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: 32000 + +environment: + ## Please refer for comprehensive list https://docs.minio.io/docs/minio-server-configuration-guide.html