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
8e0915ab
Commit
8e0915ab
authored
Jan 30, 2021
by
Waqar Ahmed
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove unnecessary extra args function
parent
f5b7e4e6
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
12 deletions
+2
-12
test/minio/1.0.1/templates/_helpers.tpl
test/minio/1.0.1/templates/_helpers.tpl
+0
-10
test/minio/1.0.1/templates/deployment.yaml
test/minio/1.0.1/templates/deployment.yaml
+1
-1
test/minio/1.0.1/templates/secrets.yaml
test/minio/1.0.1/templates/secrets.yaml
+1
-1
No files found.
test/minio/1.0.1/templates/_helpers.tpl
View file @
8e0915ab
...
...
@@ -4,13 +4,3 @@ Determine secret name.
{{- define "minio.secretName" -}}
{{- include "common.names.fullname" . -}}
{{- end -}}
{
{
/*
Properly
format
optional
additional
arguments
to
Minio
binary
*/
}
}
{{- define "minio.extraArgs" -}}
{{- range .Values.extraArgs -}}
{{ " " }}{{ . }}
{{- end -}}
{{- end -}}
test/minio/1.0.1/templates/deployment.yaml
View file @
8e0915ab
...
...
@@ -23,7 +23,7 @@ spec:
command
:
-
"
/bin/sh"
-
"
-ce"
-
"
/usr/bin/docker-entrypoint.sh
minio
server
/export
{{
-
template
"minio.extraArgs" .
}}"
-
"
/usr/bin/docker-entrypoint.sh
minio
server
/export
{{
(.Values.extraArgs
|
default
list)
|
join
"
"
}}"
volumeMounts
:
-
name
:
export
mountPath
:
/export
...
...
test/minio/1.0.1/templates/secrets.yaml
View file @
8e0915ab
...
...
@@ -2,7 +2,7 @@ apiVersion: v1
kind
:
Secret
metadata
:
name
:
{{
template "minio.secretName" .
}}
labels
:
{{
include "common.labels" | nindent 4
}}
labels
:
{{
include "common.labels"
.
| nindent 4
}}
type
:
Opaque
data
:
accesskey
:
{{
if .Values.accessKey
}}{{
.Values.accessKey | toString | b64enc | quote
}}{{
else
}}{{
randAlphaNum 20 | b64enc | quote
}}{{
end
}}
...
...
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