Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
charts
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Rancher商店
charts
Commits
87c36e6a
Commit
87c36e6a
authored
Jan 03, 2020
by
trierra
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
updated px-account permissions
fixed unsupported 'none' in arguments Signed-off-by:
trierra
<
oksana@portworx.com
>
parent
fa51a2d1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
17 additions
and
17 deletions
+17
-17
Chart.yaml
charts/portworx/v1.0.4/Chart.yaml
+2
-2
_helpers.tpl
charts/portworx/v1.0.4/templates/_helpers.tpl
+14
-14
portworx-rbac-config.yaml
charts/portworx/v1.0.4/templates/portworx-rbac-config.yaml
+1
-1
No files found.
charts/portworx/v1.0.4/Chart.yaml
View file @
87c36e6a
name
:
portworx
appVersion
:
1.0.
3
version
:
1.0.
3
appVersion
:
1.0.
4
version
:
1.0.
4
description
:
A Helm chart for installing Portworx on Kubernetes.
keywords
:
-
Storage
...
...
charts/portworx/v1.0.4/templates/_helpers.tpl
View file @
87c36e6a
...
...
@@ -204,19 +204,19 @@ Create the name of the cluster role binding to use for hooks
{{- if eq "OnPrem" .Values.environment -}}
{{- if eq "Manually specify disks" .Values.onpremStorage }}
{{- if .Values.existingDisk1 }}
{{- if
ne "none"
.Values.existingDisk1 }}
"-s", "{{- .Values.existingDisk1 }}",
{{- end }}
{{- if .Values.existingDisk2 -}}
{{- if
ne "none"
.Values.existingDisk2 -}}
"-s", "{{- .Values.existingDisk2 }}",
{{- end }}
{{- if .Values.existingDisk3 -}}
{{- if
ne "none"
.Values.existingDisk3 -}}
"-s", "{{- .Values.existingDisk3 }}",
{{- end }}
{{- if .Values.existingDisk4 -}}
{{- if
ne "none"
.Values.existingDisk4 -}}
"-s", "{{- .Values.existingDisk4 }}",
{{- end }}
{{- if .Values.existingDisk5 }}
{{- if
ne "none"
.Values.existingDisk5 }}
"-s", "{{- .Values.existingDisk5 }}",
{{- end }}
{{- else if eq "Automatically scan disks" .Values.onpremStorage -}}
...
...
@@ -247,16 +247,16 @@ Create the name of the cluster role binding to use for hooks
{{- if .Values.existingDisk1 -}}
"-s", "{{- .Values.existingDisk1 -}}",
{{- end -}}
{{- if .Values.existingDisk2 -}}
{{- if
ne "none"
.Values.existingDisk2 -}}
"-s", "{{- .Values.existingDisk2 -}}",
{{- end -}}
{{- if .Values.existingDisk3 -}}
{{- if
ne "none"
.Values.existingDisk3 -}}
"-s", "{{- .Values.existingDisk3 -}}",
{{- end -}}
{{- if .Values.existingDisk4 -}}
{{- if
ne "none"
.Values.existingDisk4 -}}
"-s", "{{- .Values.existingDisk4 -}}",
{{- end -}}
{{- if .Values.existingDisk5 -}}
{{- if
ne "none"
.Values.existingDisk5 -}}
"-s", "{{- .Values.existingDisk5 -}}",
{{- end -}}
{{- else if eq "Create Using a Spec" .Values.deviceConfig -}}
...
...
@@ -303,19 +303,19 @@ Create the name of the cluster role binding to use for hooks
{
{
/*-------------------
-----------------
AWS
--------------
---------------
*/
}
}
{{- else if eq "AWS" .Values.provider -}}
{{- if eq "Use Existing Disks" .Values.deviceConfig -}}
{{- if .Values.existingDisk1 -}}
{{- if
ne "none"
.Values.existingDisk1 -}}
"-s", "{{ .Values.existingDisk1 }}",
{{- end -}}
{{- if .Values.existingDisk2 -}}
{{- if
ne "none"
.Values.existingDisk2 -}}
"-s", "{{ .Values.existingDisk2 }}",
{{- end -}}
{{- if .Values.existingDisk3 -}}
{{- if
ne "none"
.Values.existingDisk3 -}}
"-s", "{{ .Values.existingDisk3 }}",
{{- end -}}
{{- if .Values.existingDisk4 -}}
{{- if
ne "none"
.Values.existingDisk4 -}}
"-s", "{{ .Values.existingDisk4 }}",
{{- end -}}
{{- if .Values.existingDisk5 -}}
{{- if
ne "none"
.Values.existingDisk5 -}}
"-s", "{{ .Values.existingDisk5 }}",
{{- end -}}
{{- else if eq "Create Using a Spec" .Values.deviceConfig -}}
...
...
charts/portworx/v1.0.4/templates/portworx-rbac-config.yaml
View file @
87c36e6a
...
...
@@ -20,7 +20,7 @@ rules:
verbs
:
[
"
watch"
,
"
get"
,
"
update"
,
"
list"
]
-
apiGroups
:
[
"
"
]
resources
:
[
"
pods"
]
verbs
:
[
"
delete"
,
"
get"
,
"
list"
]
verbs
:
[
"
delete"
,
"
get"
,
"
list"
,
"
watch"
,
"
update"
]
-
apiGroups
:
[
"
"
]
resources
:
[
"
persistentvolumeclaims"
,
"
persistentvolumes"
]
verbs
:
[
"
get"
,
"
list"
]
...
...
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