Commit 90ce95ea authored by sonicaj's avatar sonicaj

Update charts train from test train

parent 2c38cc7a
......@@ -16,4 +16,4 @@ sources:
- https://github.com/minio/minio
- https://github.com/minio/charts
upstream_version: 8.0.5
version: 1.3.7
version: 1.3.8
......@@ -17,7 +17,7 @@ portals:
host:
- "$node_ip"
ports:
- "$variable-service.nodePort"
- "$variable-service.consolePort"
questions:
......@@ -124,13 +124,21 @@ questions:
required: true
attrs:
- variable: nodePort
label: "Node Port to use for Minio"
label: "Node Port to use for Minio API"
schema:
type: int
min: 9000
max: 65535
default: 9000
required: true
- variable: consolePort
label: "Node Port to use for Minio UI Access"
schema:
type: int
min: 9000
max: 65535
default: 9002
required: true
- variable: certificate
description: "Minio Certificate"
......
......@@ -33,10 +33,12 @@ spec:
command:
- "/bin/sh"
- "-ce"
- "/usr/bin/docker-entrypoint.sh minio -S /etc/minio/certs server /export {{ (.Values.extraArgs | default list) | join " " }}"
- "/usr/bin/docker-entrypoint.sh minio -S /etc/minio/certs server /export --console-address=':9001' {{ (.Values.extraArgs | default list) | join " " }}"
ports:
- name: http
- name: api
containerPort: 9000
- name: console
containerPort: 9001
env:
{{ $secretName := (include "minio.secretName" .) }}
{{ $envList := (default list .Values.environment) }}
......
......@@ -3,7 +3,8 @@
{{ $selectors = mustAppend $selectors (dict "key" "app" "value" (include "common.names.name" .) ) }}
{{ $selectors = mustAppend $selectors (dict "key" "release" "value" .Release.Name ) }}
{{ $ports := list }}
{{ $ports = mustAppend $ports (dict "name" "http" "port" $svc.nodePort "nodePort" $svc.nodePort "targetPort" 9000) }}
{{ $ports = mustAppend $ports (dict "name" "api" "port" $svc.nodePort "nodePort" $svc.nodePort "targetPort" 9000) }}
{{ $ports = mustAppend $ports (dict "name" "console" "port" $svc.consolePort "nodePort" $svc.consolePort "targetPort" 9001) }}
{{ $params := . }}
{{ $_ := set $params "commonService" (dict "type" "NodePort" "ports" $ports ) }}
{{ $_1 := set .Values "extraSelectorLabels" $selectors }}
......
......@@ -13,4 +13,5 @@ image:
tag: RELEASE.2021-07-30T00-02-00Z
service:
nodePort: 32324
consolePort: 32325
updateStrategy: RollingUpdate
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment