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
a9cf2367
Commit
a9cf2367
authored
Dec 09, 2020
by
Waqar Ahmed
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove serviceAccount configuration options
parent
80ff32ba
Changes
7
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
2 additions
and
24 deletions
+2
-24
test/minio/8.0.5/README.md
test/minio/8.0.5/README.md
+0
-2
test/minio/8.0.5/templates/_helpers.tpl
test/minio/8.0.5/templates/_helpers.tpl
+1
-5
test/minio/8.0.5/templates/post-install-prometheus-metrics-role.yaml
...8.0.5/templates/post-install-prometheus-metrics-role.yaml
+0
-2
test/minio/8.0.5/templates/post-install-prometheus-metrics-rolebinding.yaml
...emplates/post-install-prometheus-metrics-rolebinding.yaml
+1
-3
test/minio/8.0.5/templates/post-install-prometheus-metrics-serviceaccount.yaml
...lates/post-install-prometheus-metrics-serviceaccount.yaml
+0
-2
test/minio/8.0.5/templates/serviceaccount.yaml
test/minio/8.0.5/templates/serviceaccount.yaml
+0
-2
test/minio/8.0.5/values.yaml
test/minio/8.0.5/values.yaml
+0
-8
No files found.
test/minio/8.0.5/README.md
View file @
a9cf2367
...
...
@@ -147,8 +147,6 @@ The following table lists the configurable parameters of the MinIO chart and the
|
`service.port`
| Kubernetes port where service is exposed |
`9000`
|
|
`service.externalIPs`
| service external IP addresses |
`nil`
|
|
`service.annotations`
| Service annotations |
`{}`
|
|
`serviceAccount.create`
| Toggle creation of new service account |
`true`
|
|
`serviceAccount.name`
| Name of service account to create and/or use |
`""`
|
|
`persistence.enabled`
| Use persistent volume to store data |
`true`
|
|
`persistence.size`
| Size of persistent volume claim |
`500Gi`
|
|
`persistence.existingClaim`
| Use an existing PVC to persist data |
`nil`
|
...
...
test/minio/8.0.5/templates/_helpers.tpl
View file @
a9cf2367
...
...
@@ -79,11 +79,7 @@ Determine secret name.
Determine
service
account
name
for
deployment
or
statefulset
.
*/
}
}
{{
-
define
"
minio
.
serviceAccountName
"
-
}}
{{
-
if
.
Values
.
serviceAccount
.
create
-
}}
{{
-
default
(
include
"
minio
.
fullname
"
.)
.
Values
.
serviceAccount
.
name
|
replace
"+"
"
_
"
|
trunc
63
|
trimSuffix
"
-
"
-
}}
{{
-
else
-
}}
{{
-
default
"
default
"
.
Values
.
serviceAccount
.
name
-
}}
{{
-
end
-
}}
{{
-
(
include
"
minio
.
fullname
"
.)
|
replace
"+"
"
_
"
|
trunc
63
|
trimSuffix
"
-
"
-
}}
{{
-
end
-
}}
{
{
/*
...
...
test/minio/8.0.5/templates/post-install-prometheus-metrics-role.yaml
View file @
a9cf2367
{{
- if .Values.serviceAccount.create -
}}
{{
- $fullName
:
= include "minio.fullname" . -
}}
apiVersion
:
rbac.authorization.k8s.io/v1
kind
:
Role
...
...
@@ -35,4 +34,3 @@ rules:
-
get
resourceNames
:
-
{{
$fullName
}}
{{
- end -
}}
\ No newline at end of file
test/minio/8.0.5/templates/post-install-prometheus-metrics-rolebinding.yaml
View file @
a9cf2367
{{
- if .Values.serviceAccount.create -
}}
{{
- $fullName
:
= include "minio.fullname" . -
}}
apiVersion
:
rbac.authorization.k8s.io/v1
kind
:
RoleBinding
...
...
@@ -17,4 +16,3 @@ subjects:
-
kind
:
ServiceAccount
name
:
{{
$fullName
}}
-update-prometheus-secret
namespace
:
{{
.Release.Namespace | quote
}}
\ No newline at end of file
{{
- end -
}}
\ No newline at end of file
test/minio/8.0.5/templates/post-install-prometheus-metrics-serviceaccount.yaml
View file @
a9cf2367
{{
- if .Values.serviceAccount.create -
}}
{{
- $fullName
:
= include "minio.fullname" . -
}}
apiVersion
:
v1
kind
:
ServiceAccount
...
...
@@ -9,4 +8,3 @@ metadata:
chart
:
{{
template "minio.chart" .
}}
release
:
{{
.Release.Name
}}
heritage
:
{{
.Release.Service
}}
{{
- end -
}}
\ No newline at end of file
test/minio/8.0.5/templates/serviceaccount.yaml
View file @
a9cf2367
{{
- if .Values.serviceAccount.create -
}}
apiVersion
:
v1
kind
:
ServiceAccount
metadata
:
...
...
@@ -8,4 +7,3 @@ metadata:
app
:
{{
template "minio.name" .
}}
chart
:
{{
template "minio.chart" .
}}
release
:
"
{{
.Release.Name
}}"
{{
- end -
}}
test/minio/8.0.5/values.yaml
View file @
a9cf2367
...
...
@@ -178,11 +178,3 @@ environment:
networkPolicy
:
enabled
:
false
allowExternal
:
true
## Specify the service account to use for the Minio pods. If 'create' is set to 'false'
## and 'name' is left unspecified, the account 'default' will be used.
serviceAccount
:
create
:
true
## The name of the service account to use. If 'create' is 'true', a service account with that name
## will be created. Otherwise, a name will be auto-generated.
name
:
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