Commit 87c36e6a by trierra

updated px-account permissions

fixed unsupported 'none' in arguments Signed-off-by: 's avatartrierra <oksana@portworx.com>
parent fa51a2d1
name: portworx name: portworx
appVersion: 1.0.3 appVersion: 1.0.4
version: 1.0.3 version: 1.0.4
description: A Helm chart for installing Portworx on Kubernetes. description: A Helm chart for installing Portworx on Kubernetes.
keywords: keywords:
- Storage - Storage
......
...@@ -204,19 +204,19 @@ Create the name of the cluster role binding to use for hooks ...@@ -204,19 +204,19 @@ Create the name of the cluster role binding to use for hooks
{{- if eq "OnPrem" .Values.environment -}} {{- if eq "OnPrem" .Values.environment -}}
{{- if eq "Manually specify disks" .Values.onpremStorage }} {{- if eq "Manually specify disks" .Values.onpremStorage }}
{{- if .Values.existingDisk1 }} {{- if ne "none" .Values.existingDisk1 }}
"-s", "{{- .Values.existingDisk1 }}", "-s", "{{- .Values.existingDisk1 }}",
{{- end }} {{- end }}
{{- if .Values.existingDisk2 -}} {{- if ne "none" .Values.existingDisk2 -}}
"-s", "{{- .Values.existingDisk2 }}", "-s", "{{- .Values.existingDisk2 }}",
{{- end }} {{- end }}
{{- if .Values.existingDisk3 -}} {{- if ne "none" .Values.existingDisk3 -}}
"-s", "{{- .Values.existingDisk3 }}", "-s", "{{- .Values.existingDisk3 }}",
{{- end }} {{- end }}
{{- if .Values.existingDisk4 -}} {{- if ne "none" .Values.existingDisk4 -}}
"-s", "{{- .Values.existingDisk4 }}", "-s", "{{- .Values.existingDisk4 }}",
{{- end }} {{- end }}
{{- if .Values.existingDisk5 }} {{- if ne "none" .Values.existingDisk5 }}
"-s", "{{- .Values.existingDisk5 }}", "-s", "{{- .Values.existingDisk5 }}",
{{- end }} {{- end }}
{{- else if eq "Automatically scan disks" .Values.onpremStorage -}} {{- else if eq "Automatically scan disks" .Values.onpremStorage -}}
...@@ -247,16 +247,16 @@ Create the name of the cluster role binding to use for hooks ...@@ -247,16 +247,16 @@ Create the name of the cluster role binding to use for hooks
{{- if .Values.existingDisk1 -}} {{- if .Values.existingDisk1 -}}
"-s", "{{- .Values.existingDisk1 -}}", "-s", "{{- .Values.existingDisk1 -}}",
{{- end -}} {{- end -}}
{{- if .Values.existingDisk2 -}} {{- if ne "none" .Values.existingDisk2 -}}
"-s", "{{- .Values.existingDisk2 -}}", "-s", "{{- .Values.existingDisk2 -}}",
{{- end -}} {{- end -}}
{{- if .Values.existingDisk3 -}} {{- if ne "none" .Values.existingDisk3 -}}
"-s", "{{- .Values.existingDisk3 -}}", "-s", "{{- .Values.existingDisk3 -}}",
{{- end -}} {{- end -}}
{{- if .Values.existingDisk4 -}} {{- if ne "none" .Values.existingDisk4 -}}
"-s", "{{- .Values.existingDisk4 -}}", "-s", "{{- .Values.existingDisk4 -}}",
{{- end -}} {{- end -}}
{{- if .Values.existingDisk5 -}} {{- if ne "none" .Values.existingDisk5 -}}
"-s", "{{- .Values.existingDisk5 -}}", "-s", "{{- .Values.existingDisk5 -}}",
{{- end -}} {{- end -}}
{{- else if eq "Create Using a Spec" .Values.deviceConfig -}} {{- 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 ...@@ -303,19 +303,19 @@ Create the name of the cluster role binding to use for hooks
{{/*------------------- ----------------- AWS -------------- --------------- */}} {{/*------------------- ----------------- AWS -------------- --------------- */}}
{{- else if eq "AWS" .Values.provider -}} {{- else if eq "AWS" .Values.provider -}}
{{- if eq "Use Existing Disks" .Values.deviceConfig -}} {{- if eq "Use Existing Disks" .Values.deviceConfig -}}
{{- if .Values.existingDisk1 -}} {{- if ne "none" .Values.existingDisk1 -}}
"-s", "{{ .Values.existingDisk1 }}", "-s", "{{ .Values.existingDisk1 }}",
{{- end -}} {{- end -}}
{{- if .Values.existingDisk2 -}} {{- if ne "none" .Values.existingDisk2 -}}
"-s", "{{ .Values.existingDisk2 }}", "-s", "{{ .Values.existingDisk2 }}",
{{- end -}} {{- end -}}
{{- if .Values.existingDisk3 -}} {{- if ne "none" .Values.existingDisk3 -}}
"-s", "{{ .Values.existingDisk3 }}", "-s", "{{ .Values.existingDisk3 }}",
{{- end -}} {{- end -}}
{{- if .Values.existingDisk4 -}} {{- if ne "none" .Values.existingDisk4 -}}
"-s", "{{ .Values.existingDisk4 }}", "-s", "{{ .Values.existingDisk4 }}",
{{- end -}} {{- end -}}
{{- if .Values.existingDisk5 -}} {{- if ne "none" .Values.existingDisk5 -}}
"-s", "{{ .Values.existingDisk5 }}", "-s", "{{ .Values.existingDisk5 }}",
{{- end -}} {{- end -}}
{{- else if eq "Create Using a Spec" .Values.deviceConfig -}} {{- else if eq "Create Using a Spec" .Values.deviceConfig -}}
......
...@@ -20,7 +20,7 @@ rules: ...@@ -20,7 +20,7 @@ rules:
verbs: ["watch", "get", "update", "list"] verbs: ["watch", "get", "update", "list"]
- apiGroups: [""] - apiGroups: [""]
resources: ["pods"] resources: ["pods"]
verbs: ["delete", "get", "list"] verbs: ["delete", "get", "list", "watch", "update"]
- apiGroups: [""] - apiGroups: [""]
resources: ["persistentvolumeclaims", "persistentvolumes"] resources: ["persistentvolumeclaims", "persistentvolumes"]
verbs: ["get", "list"] verbs: ["get", "list"]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment