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
80ff32ba
Commit
80ff32ba
authored
Dec 09, 2020
by
Waqar Ahmed
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Only have standalone mode for now
parent
36f7e7a4
Changes
6
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
0 additions
and
192 deletions
+0
-192
test/minio/8.0.5/README.md
test/minio/8.0.5/README.md
+0
-4
test/minio/8.0.5/templates/clusterroles.yaml
test/minio/8.0.5/templates/clusterroles.yaml
+0
-20
test/minio/8.0.5/templates/deployment.yaml
test/minio/8.0.5/templates/deployment.yaml
+0
-2
test/minio/8.0.5/templates/pvc.yaml
test/minio/8.0.5/templates/pvc.yaml
+0
-2
test/minio/8.0.5/templates/statefulset.yaml
test/minio/8.0.5/templates/statefulset.yaml
+0
-152
test/minio/8.0.5/values.yaml
test/minio/8.0.5/values.yaml
+0
-12
No files found.
test/minio/8.0.5/README.md
View file @
80ff32ba
...
...
@@ -135,11 +135,7 @@ The following table lists the configurable parameters of the MinIO chart and the
|
`image.tag`
| MinIO image tag. Possible values listed
[
here
](
https://hub.docker.com/r/minio/minio/tags/
)
. |
`RELEASE.2020-11-06T23-17-07Z`
|
|
`image.pullPolicy`
| Image pull policy |
`IfNotPresent`
|
|
`trustedCertsSecret`
| Kubernetes secret with trusted certificates to be mounted on
`{{ .Values.certsPath }}/CAs`
|
`""`
|
|
`mode`
| MinIO server mode (
`standalone`
or
`distributed`
) |
`standalone`
|
|
`extraArgs`
| Additional command line arguments to pass to the MinIO server |
`[]`
|
|
`replicas`
| Number of nodes (applicable only for MinIO distributed mode). |
`4`
|
|
`zones`
| Number of zones (applicable only for MinIO distributed mode). |
`1`
|
|
`drivesPerNode`
| Number of drives per node (applicable only for MinIO distributed mode). |
`1`
|
|
`existingSecret`
| Name of existing secret with access and secret key. |
`""`
|
|
`accessKey`
| Default access key (5 to 20 characters) | random 20 chars |
|
`secretKey`
| Default secret key (8 to 40 characters) | random 40 chars |
...
...
test/minio/8.0.5/templates/clusterroles.yaml
deleted
100644 → 0
View file @
36f7e7a4
{{
- if and .Values.securityContext.enabled .Values.persistence.enabled (.Capabilities.APIVersions.Has "security.openshift.io/v1")
}}
apiVersion
:
rbac.authorization.k8s.io/v1
kind
:
ClusterRole
metadata
:
name
:
{{
template "minio.serviceAccountName" .
}}
labels
:
app
:
{{
template "minio.name" .
}}
chart
:
{{
template "minio.chart" .
}}
release
:
{{
.Release.Name
}}
heritage
:
{{
.Release.Service
}}
rules
:
-
apiGroups
:
-
security.openshift.io
resources
:
-
securitycontextconstraints
resourceNames
:
-
{{
template "minio.fullname" .
}}
verbs
:
-
use
{{
- end
}}
test/minio/8.0.5/templates/deployment.yaml
View file @
80ff32ba
{{
- if eq .Values.mode "standalone"
}}
{{
$scheme
:
= "http"
}}
{{
- if .Values.tls.enabled
}}
{{
$scheme = "https"
}}
...
...
@@ -91,4 +90,3 @@ spec:
secret
:
secretName
:
{{
template "minio.secretName" .
}}
{{
- include "minio.tlsKeysVolume" . | indent 8
}}
{{
- end
}}
test/minio/8.0.5/templates/pvc.yaml
View file @
80ff32ba
{{
- if eq .Values.mode "standalone"
}}
{{
- if and .Values.persistence.enabled (not .Values.persistence.existingClaim)
}}
apiVersion
:
v1
kind
:
PersistentVolumeClaim
...
...
@@ -27,4 +26,3 @@ spec:
volumeName
:
"
{{
.Values.persistence.VolumeName
}}"
{{
- end
}}
{{
- end
}}
{{
- end
}}
test/minio/8.0.5/templates/statefulset.yaml
deleted
100644 → 0
View file @
36f7e7a4
{{
- if eq .Values.mode "distributed"
}}
{{
$zoneCount
:
= .Values.zones | int
}}
{{
$nodeCount
:
= .Values.replicas | int
}}
{{
$drivesPerNode
:
= .Values.drivesPerNode | int
}}
{{
$scheme
:
= "http"
}}
{{
- if .Values.tls.enabled
}}
{{
$scheme = "https"
}}
{{
end
}}
{{
$mountPath
:
= .Values.mountPath
}}
{{
$bucketRoot
:
= or ($.Values.bucketRoot) ($.Values.mountPath)
}}
{{
$subPath
:
= .Values.persistence.subPath
}}
{{
$penabled
:
= .Values.persistence.enabled
}}
{{
$accessMode
:
= .Values.persistence.accessMode
}}
{{
$storageClass
:
= .Values.persistence.storageClass
}}
{{
$psize
:
= .Values.persistence.size
}}
apiVersion
:
v1
kind
:
Service
metadata
:
name
:
{{
template "minio.fullname" .
}}
-svc
labels
:
app
:
{{
template "minio.name" .
}}
chart
:
{{
template "minio.chart" .
}}
release
:
"
{{
.Release.Name
}}"
heritage
:
"
{{
.Release.Service
}}"
spec
:
publishNotReadyAddresses
:
true
clusterIP
:
None
ports
:
-
name
:
{{
$scheme
}}
port
:
{{
.Values.service.port
}}
protocol
:
TCP
selector
:
app
:
{{
template "minio.name" .
}}
release
:
{{
.Release.Name
}}
---
apiVersion
:
{{
template "minio.statefulset.apiVersion" .
}}
kind
:
StatefulSet
metadata
:
name
:
{{
template "minio.fullname" .
}}
labels
:
app
:
{{
template "minio.name" .
}}
chart
:
{{
template "minio.chart" .
}}
release
:
{{
.Release.Name
}}
heritage
:
{{
.Release.Service
}}
spec
:
updateStrategy
:
type
:
{{
.Values.StatefulSetUpdate.updateStrategy
}}
podManagementPolicy
:
"
Parallel"
serviceName
:
{{
template "minio.fullname" .
}}
-svc
replicas
:
{{
mul $zoneCount $nodeCount
}}
selector
:
matchLabels
:
app
:
{{
template "minio.name" .
}}
release
:
{{
.Release.Name
}}
template
:
metadata
:
name
:
{{
template "minio.fullname" .
}}
labels
:
app
:
{{
template "minio.name" .
}}
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
}}
{{
- if and .Values.securityContext.enabled .Values.persistence.enabled
}}
securityContext
:
runAsUser
:
{{
.Values.securityContext.runAsUser
}}
runAsGroup
:
{{
.Values.securityContext.runAsGroup
}}
fsGroup
:
{{
.Values.securityContext.fsGroup
}}
{{
- end
}}
containers
:
-
name
:
{{
.Chart.Name
}}
image
:
{{
.Values.image.repository
}}
:{{ .Values.image.tag }}
imagePullPolicy
:
{{
.Values.image.pullPolicy
}}
command
:
[
"
/bin/sh"
,
"
-ce"
,
"
/usr/bin/docker-entrypoint.sh
minio
-S
{{
.Values.certsPath
}}
server
{{-
range
$i
:=
until
$zoneCount
}}{{
$factor
:=
mul
$i
$nodeCount
}}{{
$endIndex
:=
add
$factor
$nodeCount
}}{{
$beginIndex
:=
mul
$i
$nodeCount
}}
{{
$scheme
}}://{{
template
`minio.fullname`
$
}}-{{
`{`
}}{{
$beginIndex
}}...{{
sub
$endIndex
1
}}{{
`}`}}.{{
template
`minio.fullname`
$
}}-svc.{{
$.Release.Namespace
}}.svc.{{
$.Values.clusterDomain
}}{{if
(gt
$drivesPerNode
1)}}{{
$bucketRoot
}}-{{
`{`
}}0...{{
sub
$drivesPerNode
1
}}{{
`}`
}}{{else}}{{
$bucketRoot
}}{{end}}{{-
end}}{{-
template
`minio.extraArgs`
.
}}"
]
volumeMounts
:
{{
- if $penabled
}}
{{
- if (gt $drivesPerNode 1)
}}
{{
- range $i
:
= until $drivesPerNode
}}
-
name
:
export-{{ $i }}
mountPath
:
{{
$mountPath
}}
-{{ $i }}
{{
- if and $penabled $subPath
}}
subPath
:
{{
$subPath
}}
{{
- end
}}
{{
- end
}}
{{
- else
}}
-
name
:
export
mountPath
:
{{
$mountPath
}}
{{
- if and $penabled $subPath
}}
subPath
:
{{
$subPath
}}
{{
- end
}}
{{
- end
}}
{{
- end
}}
{{
- include "minio.tlsKeysVolumeMount" . | indent 12
}}
ports
:
-
name
:
{{
$scheme
}}
containerPort
:
9000
env
:
-
name
:
MINIO_ACCESS_KEY
valueFrom
:
secretKeyRef
:
name
:
{{
template "minio.secretName" .
}}
key
:
accesskey
-
name
:
MINIO_SECRET_KEY
valueFrom
:
secretKeyRef
:
name
:
{{
template "minio.secretName" .
}}
key
:
secretkey
{{
- range $key
,
$val
:
= .Values.environment
}}
-
name
:
{{
$key
}}
value
:
{{
$val | quote
}}
{{
- end
}}
resources
:
{{
toYaml .Values.resources | indent 12
}}
volumes
:
-
name
:
minio-user
secret
:
secretName
:
{{
template "minio.secretName" .
}}
{{
- include "minio.tlsKeysVolume" . | indent 8
}}
{{
- if .Values.persistence.enabled
}}
volumeClaimTemplates
:
{{
- if gt $drivesPerNode 1
}}
{{
- range $diskId
:
= until $drivesPerNode
}}
-
metadata
:
name
:
export-{{ $diskId }}
spec
:
accessModes
:
[
{{
$accessMode | quote
}}
]
{{
- if $storageClass
}}
storageClassName
:
{{
$storageClass
}}
{{
- end
}}
resources
:
requests
:
storage
:
{{
$psize
}}
{{
- end
}}
{{
- else
}}
-
metadata
:
name
:
export
spec
:
accessModes
:
[
{{
$accessMode | quote
}}
]
{{
- if $storageClass
}}
storageClassName
:
{{
$storageClass
}}
{{
- end
}}
resources
:
requests
:
storage
:
{{
$psize
}}
{{
- end
}}
{{
- end
}}
{{
- end
}}
test/minio/8.0.5/values.yaml
View file @
80ff32ba
...
...
@@ -25,11 +25,6 @@ helmKubectlJqImage:
tag
:
3.1.0
pullPolicy
:
IfNotPresent
## minio server mode, i.e. standalone or distributed.
## Distributed Minio ref: https://docs.minio.io/docs/distributed-minio-quickstart-guide
##
mode
:
standalone
## Additional arguments to pass to minio binary
extraArgs
:
[]
...
...
@@ -70,13 +65,6 @@ existingSecret: ""
## If defined, it must be a sub-directory of the path specified in {{ .Values.mountPath }}
bucketRoot
:
"
"
# Number of drives attached to a node
drivesPerNode
:
1
# Number of MinIO containers running
replicas
:
4
# Number of expanded MinIO clusters
zones
:
1
## TLS Settings for Minio
tls
:
enabled
:
false
...
...
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