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
81935d97
Commit
81935d97
authored
Apr 07, 2021
by
Waqar Ahmed
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add updated version of minio to charts train
parent
3f9e7316
Changes
22
Hide whitespace changes
Inline
Side-by-side
Showing
22 changed files
with
113 additions
and
51 deletions
+113
-51
charts/minio/1.1.0/charts/common-2101.0.0.tgz
charts/minio/1.1.0/charts/common-2101.0.0.tgz
+0
-0
charts/minio/1.1.0/templates/_helpers.tpl
charts/minio/1.1.0/templates/_helpers.tpl
+0
-6
charts/minio/1.2.1/.helmignore
charts/minio/1.2.1/.helmignore
+0
-0
charts/minio/1.2.1/Chart.yaml
charts/minio/1.2.1/Chart.yaml
+2
-2
charts/minio/1.2.1/README.md
charts/minio/1.2.1/README.md
+0
-0
charts/minio/1.2.1/app-readme.md
charts/minio/1.2.1/app-readme.md
+0
-0
charts/minio/1.2.1/charts/common-2101.0.0.tgz
charts/minio/1.2.1/charts/common-2101.0.0.tgz
+0
-0
charts/minio/1.2.1/default_values.yaml
charts/minio/1.2.1/default_values.yaml
+0
-0
charts/minio/1.2.1/ix_values.yaml
charts/minio/1.2.1/ix_values.yaml
+4
-0
charts/minio/1.2.1/migrations/migrate_from_1.0.0
charts/minio/1.2.1/migrations/migrate_from_1.0.0
+3
-0
charts/minio/1.2.1/questions.yaml
charts/minio/1.2.1/questions.yaml
+10
-37
charts/minio/1.2.1/requirements.lock
charts/minio/1.2.1/requirements.lock
+0
-0
charts/minio/1.2.1/templates/NOTES.txt
charts/minio/1.2.1/templates/NOTES.txt
+0
-0
charts/minio/1.2.1/templates/_cert.tpl
charts/minio/1.2.1/templates/_cert.tpl
+33
-0
charts/minio/1.2.1/templates/_helpers.tpl
charts/minio/1.2.1/templates/_helpers.tpl
+40
-0
charts/minio/1.2.1/templates/configmap.yaml
charts/minio/1.2.1/templates/configmap.yaml
+10
-0
charts/minio/1.2.1/templates/deployment.yaml
charts/minio/1.2.1/templates/deployment.yaml
+5
-4
charts/minio/1.2.1/templates/secrets.yaml
charts/minio/1.2.1/templates/secrets.yaml
+4
-0
charts/minio/1.2.1/templates/service.yaml
charts/minio/1.2.1/templates/service.yaml
+0
-0
charts/minio/1.2.1/templates/serviceaccount.yaml
charts/minio/1.2.1/templates/serviceaccount.yaml
+0
-0
charts/minio/1.2.1/test_values.yaml
charts/minio/1.2.1/test_values.yaml
+2
-2
charts/minio/1.2.1/values.yaml
charts/minio/1.2.1/values.yaml
+0
-0
No files found.
charts/minio/1.1.0/charts/common-2101.0.0.tgz
deleted
100644 → 0
View file @
3f9e7316
File deleted
charts/minio/1.1.0/templates/_helpers.tpl
deleted
100644 → 0
View file @
3f9e7316
{{
/*
Determine
secret
name
.
*/
}}
{{- define "minio.secretName" -}}
{{- include "common.names.fullname" . -}}
{{- end -}}
charts/minio/1.
1.0
/.helmignore
→
charts/minio/1.
2.1
/.helmignore
View file @
81935d97
File moved
charts/minio/1.
1.0
/Chart.yaml
→
charts/minio/1.
2.1
/Chart.yaml
View file @
81935d97
apiVersion
:
v1
description
:
High Performance, Kubernetes Native Object Storage
name
:
minio
version
:
1.
1.0
appVersion
:
master
version
:
1.
2.1
appVersion
:
RELEASE.2021-02-19T04-38-02Z
keywords
:
-
storage
-
object-storage
...
...
charts/minio/1.
1.0
/README.md
→
charts/minio/1.
2.1
/README.md
View file @
81935d97
File moved
charts/minio/1.
1.0
/app-readme.md
→
charts/minio/1.
2.1
/app-readme.md
View file @
81935d97
File moved
charts/minio/1.2.1/charts/common-2101.0.0.tgz
0 → 100644
View file @
81935d97
File added
charts/minio/1.
1.0
/default_values.yaml
→
charts/minio/1.
2.1
/default_values.yaml
View file @
81935d97
File moved
charts/minio/1.2.1/ix_values.yaml
0 → 100644
View file @
81935d97
image
:
repository
:
minio/minio
tag
:
RELEASE.2021-02-19T04-38-02Z
pullPolicy
:
IfNotPresent
charts/minio/1.
1.0/migrations/migrate
→
charts/minio/1.
2.1/migrations/migrate_from_1.0.0
View file @
81935d97
...
...
@@ -5,6 +5,9 @@ import sys
def
migrate
(
values
):
if
values
.
get
(
'appVolumeMounts'
):
return
values
values
.
update
({
'appVolumeMounts'
:
{
'export'
:
{
...
...
charts/minio/1.
1.0
/questions.yaml
→
charts/minio/1.
2.1
/questions.yaml
View file @
81935d97
...
...
@@ -11,49 +11,13 @@ groups:
portals
:
web_portal
:
protocols
:
-
"
http
"
-
"
$kubernetes-resource_configmap_minio-config_protocol
"
host
:
-
"
$node_ip"
ports
:
-
"
$variable-service.nodePort"
questions
:
# Image related
-
variable
:
image
description
:
"
Docker
Image
Details"
label
:
"
Docker
Image"
group
:
"
Container
Images"
schema
:
type
:
dict
required
:
true
attrs
:
-
variable
:
repository
description
:
"
Docker
image
repository"
label
:
"
Image
repository"
schema
:
type
:
string
default
:
"
minio/minio"
required
:
true
-
variable
:
tag
description
:
"
Tag
to
use
for
specified
image"
label
:
"
Image
Tag"
schema
:
type
:
string
default
:
"
RELEASE.2020-11-19T23-48-16Z"
-
variable
:
pullPolicy
description
:
"
Docker
Image
Pull
Policy"
label
:
"
Image
Pull
Policy"
schema
:
type
:
string
default
:
"
IfNotPresent"
enum
:
-
value
:
"
IfNotPresent"
description
:
"
Only
pull
image
if
not
present
on
host"
-
value
:
"
Always"
description
:
"
Always
pull
image
even
if
present
on
host"
-
value
:
"
Never"
description
:
"
Never
pull
image
even
if
it's
not
present
on
host"
-
variable
:
updateStrategy
label
:
"
Minio
update
strategy"
group
:
"
Workload
Configuration"
...
...
@@ -138,6 +102,15 @@ questions:
default
:
9000
required
:
true
-
variable
:
certificate
description
:
"
Minio
Certificate"
label
:
"
Minio
Certificate"
group
:
"
Minio
Configuration"
schema
:
type
:
int
$ref
:
-
"
definitions/certificate"
-
variable
:
appVolumeMounts
label
:
"
Minio
Storage"
group
:
"
Storage"
...
...
charts/minio/1.
1.0
/requirements.lock
→
charts/minio/1.
2.1
/requirements.lock
View file @
81935d97
File moved
charts/minio/1.
1.0
/templates/NOTES.txt
→
charts/minio/1.
2.1
/templates/NOTES.txt
View file @
81935d97
File moved
charts/minio/1.2.1/templates/_cert.tpl
0 → 100644
View file @
81935d97
{{
/*
Formats
volumeMount
for
Minio
tls
keys
and
trusted
certs
*/
}}
{{- define "minio.tlsKeysVolumeMount" -}}
{{- if eq (include "minio.certAvailable" .) "true" -}}
- name: cert-secret-volume
mountPath: "/etc/minio/certs"
- name: trusted-cert-secret-volume
mountPath: "/etc/minio/certs/CAs"
{{- end }}
{{- end -}}
{
{
/*
Formats
volume
for
Minio
tls
keys
and
trusted
certs
*/
}
}
{{- define "minio.tlsKeysVolume" -}}
{{- if eq (include "minio.certAvailable" .) "true" -}}
- name: cert-secret-volume
secret:
secretName: {{ include "minio.secretName" . }}
items:
- key: certPublicKey
path: public.crt
- key: certPrivateKey
path: private.key
- name: trusted-cert-secret-volume
secret:
secretName: {{ include "minio.secretName" . }}
items:
- key: certPublicKey
path: public.crt
{{- end }}
{{- end -}}
charts/minio/1.2.1/templates/_helpers.tpl
0 → 100644
View file @
81935d97
{{
/*
Determine
secret
name
.
*/
}}
{{- define "minio.secretName" -}}
{{- include "common.names.fullname" . -}}
{{- end -}}
{
{
/*
Retrieve
true
/
false
if
minio
certificate
is
configured
*/
}
}
{{- define "minio.certAvailable" -}}
{{- if .Values.certificate -}}
{{- $values := (. | mustDeepCopy) -}}
{{- $_ := set $values "commonCertOptions" (dict "certKeyName" $values.Values.certificate) -}}
{{- template "common.resources.cert_present" $values -}}
{{- else -}}
{{- false -}}
{{- end -}}
{{- end -}}
{
{
/*
Retrieve
public
key
of
minio
certificate
*/
}
}
{{- define "minio.cert.publicKey" -}}
{{- $values := (. | mustDeepCopy) -}}
{{- $_ := set $values "commonCertOptions" (dict "certKeyName" $values.Values.certificate "publicKey" true) -}}
{{ include "common.resources.cert" $values }}
{{- end -}}
{
{
/*
Retrieve
private
key
of
minio
certificate
*/
}
}
{{- define "minio.cert.privateKey" -}}
{{- $values := (. | mustDeepCopy) -}}
{{- $_ := set $values "commonCertOptions" (dict "certKeyName" $values.Values.certificate) -}}
{{ include "common.resources.cert" $values }}
{{- end -}}
charts/minio/1.2.1/templates/configmap.yaml
0 → 100644
View file @
81935d97
{{
$scheme
:
= "http"
}}
{{
if eq (include "minio.certAvailable" .) "true"
}}
{{
$scheme = "https"
}}
{{
end
}}
apiVersion
:
v1
kind
:
ConfigMap
metadata
:
name
:
minio-config
data
:
protocol
:
{{
$scheme
}}
charts/minio/1.
1.0
/templates/deployment.yaml
→
charts/minio/1.
2.1
/templates/deployment.yaml
View file @
81935d97
{{
$scheme
:
= "http"
}}
apiVersion
:
{{
template "common.capabilities.deployment.apiVersion" .
}}
kind
:
Deployment
metadata
:
...
...
@@ -29,13 +28,14 @@ spec:
containers
:
-
name
:
{{
.Chart.Name
}}
{{
include "common.containers.imageConfig" .Values.image | nindent 10
}}
{{
include "common.storage.allContainerVolumeMounts" .Values | nindent 10
}}
volumeMounts
:
{{
include "common.storage.configureAppVolumeMountsInContainer" .Values | nindent 12
}}
{{
- include "minio.tlsKeysVolumeMount" . | nindent 12
}}
command
:
-
"
/bin/sh"
-
"
-ce"
-
"
/usr/bin/docker-entrypoint.sh
minio
server
/export
{{
(.Values.extraArgs
|
default
list)
|
join
"
"
}}"
-
"
/usr/bin/docker-entrypoint.sh
minio
-S
/etc/minio/certs
server
/export
{{
(.Values.extraArgs
|
default
list)
|
join
"
"
}}"
ports
:
-
name
:
{{
$scheme
}}
-
name
:
http
containerPort
:
9000
env
:
{{
$secretName
:
= (include "minio.secretName" .)
}}
...
...
@@ -44,3 +44,4 @@ spec:
{{
$envList = mustAppend $envList (dict "name" "MINIO_SECRET_KEY" "valueFromSecret" true "secretName" $secretName "secretKey" "secretkey")
}}
{{
include "common.containers.environmentVariables" (dict "environmentVariables" $envList) | nindent 12
}}
{{
include "common.storage.allAppVolumes" .Values | nindent 6
}}
{{
- include "minio.tlsKeysVolume" . | nindent 8
}}
charts/minio/1.
1.0
/templates/secrets.yaml
→
charts/minio/1.
2.1
/templates/secrets.yaml
View file @
81935d97
...
...
@@ -7,3 +7,7 @@ type: Opaque
data
:
accesskey
:
{{
if .Values.accessKey
}}{{
.Values.accessKey | toString | b64enc | quote
}}{{
else
}}{{
randAlphaNum 20 | b64enc | quote
}}{{
end
}}
secretkey
:
{{
if .Values.secretKey
}}{{
.Values.secretKey | toString | b64enc | quote
}}{{
else
}}{{
randAlphaNum 40 | b64enc | quote
}}{{
end
}}
{{
if eq (include "minio.certAvailable" .) "true"
}}
certPublicKey
:
{{
(include "minio.cert.publicKey" .) | toString | b64enc | quote
}}
certPrivateKey
:
{{
(include "minio.cert.privateKey" .) | toString | b64enc | quote
}}
{{
end
}}
charts/minio/1.
1.0
/templates/service.yaml
→
charts/minio/1.
2.1
/templates/service.yaml
View file @
81935d97
File moved
charts/minio/1.
1.0
/templates/serviceaccount.yaml
→
charts/minio/1.
2.1
/templates/serviceaccount.yaml
View file @
81935d97
File moved
charts/minio/1.
1.0
/test_values.yaml
→
charts/minio/1.
2.1
/test_values.yaml
View file @
81935d97
...
...
@@ -2,7 +2,7 @@
##
image
:
repository
:
minio/minio
tag
:
RELEASE.202
0-11-19T23-48-16
Z
tag
:
RELEASE.202
1-02-19T04-38-02
Z
pullPolicy
:
IfNotPresent
## Additional arguments to pass to minio binary
...
...
@@ -11,7 +11,7 @@ extraArgs: []
updateStrategy
:
RollingUpdate
service
:
nodePort
:
32
001
nodePort
:
32
324
environmentVariables
:
[]
## Please refer for comprehensive list https://docs.minio.io/docs/minio-server-configuration-guide.html
...
...
charts/minio/1.
1.0
/values.yaml
→
charts/minio/1.
2.1
/values.yaml
View file @
81935d97
File moved
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