Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
Charts
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
魏国强
Charts
Commits
993ab4d7
Commit
993ab4d7
authored
Jul 31, 2021
by
sonicaj
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Adapt minio chart to new console access feature
parent
b4c34dc5
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
17 additions
and
5 deletions
+17
-5
test/minio/1.3.7/questions.yaml
test/minio/1.3.7/questions.yaml
+10
-2
test/minio/1.3.7/templates/deployment.yaml
test/minio/1.3.7/templates/deployment.yaml
+4
-2
test/minio/1.3.7/templates/service.yaml
test/minio/1.3.7/templates/service.yaml
+2
-1
test/minio/1.3.7/test_values.yaml
test/minio/1.3.7/test_values.yaml
+1
-0
No files found.
test/minio/1.3.7/questions.yaml
View file @
993ab4d7
...
@@ -17,7 +17,7 @@ portals:
...
@@ -17,7 +17,7 @@ portals:
host
:
host
:
-
"
$node_ip"
-
"
$node_ip"
ports
:
ports
:
-
"
$variable-service.
nod
ePort"
-
"
$variable-service.
consol
ePort"
questions
:
questions
:
...
@@ -124,13 +124,21 @@ questions:
...
@@ -124,13 +124,21 @@ questions:
required
:
true
required
:
true
attrs
:
attrs
:
-
variable
:
nodePort
-
variable
:
nodePort
label
:
"
Node
Port
to
use
for
Minio"
label
:
"
Node
Port
to
use
for
Minio
API
"
schema
:
schema
:
type
:
int
type
:
int
min
:
9000
min
:
9000
max
:
65535
max
:
65535
default
:
9000
default
:
9000
required
:
true
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
-
variable
:
certificate
description
:
"
Minio
Certificate"
description
:
"
Minio
Certificate"
...
...
test/minio/1.3.7/templates/deployment.yaml
View file @
993ab4d7
...
@@ -33,10 +33,12 @@ spec:
...
@@ -33,10 +33,12 @@ spec:
command
:
command
:
-
"
/bin/sh"
-
"
/bin/sh"
-
"
-ce"
-
"
-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
:
ports
:
-
name
:
http
-
name
:
api
containerPort
:
9000
containerPort
:
9000
-
name
:
console
containerPort
:
9001
env
:
env
:
{{
$secretName
:
= (include "minio.secretName" .)
}}
{{
$secretName
:
= (include "minio.secretName" .)
}}
{{
$envList
:
= (default list .Values.environment)
}}
{{
$envList
:
= (default list .Values.environment)
}}
...
...
test/minio/1.3.7/templates/service.yaml
View file @
993ab4d7
...
@@ -3,7 +3,8 @@
...
@@ -3,7 +3,8 @@
{{
$selectors = mustAppend $selectors (dict "key" "app" "value" (include "common.names.name" .) )
}}
{{
$selectors = mustAppend $selectors (dict "key" "app" "value" (include "common.names.name" .) )
}}
{{
$selectors = mustAppend $selectors (dict "key" "release" "value" .Release.Name )
}}
{{
$selectors = mustAppend $selectors (dict "key" "release" "value" .Release.Name )
}}
{{
$ports
:
= list
}}
{{
$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
:
= .
}}
{{
$params
:
= .
}}
{{
$_
:
= set $params "commonService" (dict "type" "NodePort" "ports" $ports )
}}
{{
$_
:
= set $params "commonService" (dict "type" "NodePort" "ports" $ports )
}}
{{
$_1
:
= set .Values "extraSelectorLabels" $selectors
}}
{{
$_1
:
= set .Values "extraSelectorLabels" $selectors
}}
...
...
test/minio/1.3.7/test_values.yaml
View file @
993ab4d7
...
@@ -13,4 +13,5 @@ image:
...
@@ -13,4 +13,5 @@ image:
tag
:
RELEASE.2021-07-30T00-02-00Z
tag
:
RELEASE.2021-07-30T00-02-00Z
service
:
service
:
nodePort
:
32324
nodePort
:
32324
consolePort
:
32325
updateStrategy
:
RollingUpdate
updateStrategy
:
RollingUpdate
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment