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
df7eb7c8
Commit
df7eb7c8
authored
Feb 20, 2019
by
Shuo Wu
Committed by
Sheng Yang
Feb 22, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Longhorn v0.4.0 release changes: csi image modification support
parent
8fa4489f
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
34 additions
and
0 deletions
+34
-0
questions.yml
proposed/longhorn/latest/questions.yml
+17
-0
deployment-driver.yaml
proposed/longhorn/latest/templates/deployment-driver.yaml
+12
-0
values.yaml
proposed/longhorn/latest/values.yaml
+5
-0
No files found.
proposed/longhorn/latest/questions.yml
View file @
df7eb7c8
...
@@ -20,6 +20,23 @@ questions:
...
@@ -20,6 +20,23 @@ questions:
description
:
"
Leave
blank
to
autodetect.
For
RKE,
use
`/var/lib/kubelet/volumeplugins`.
For
GKE,
use
`/home/kubernetes/flexvolume/`
instead.
Users
can
find
the
correct
directory
by
running
`ps
aux|grep
kubelet`
on
the
host
and
check
the
--volume-plugin-dir
parameter.
If
there
is
none,
the
default
`/usr/libexec/kubernetes/kubelet-plugins/volume/exec/`
will
be
used."
description
:
"
Leave
blank
to
autodetect.
For
RKE,
use
`/var/lib/kubelet/volumeplugins`.
For
GKE,
use
`/home/kubernetes/flexvolume/`
instead.
Users
can
find
the
correct
directory
by
running
`ps
aux|grep
kubelet`
on
the
host
and
check
the
--volume-plugin-dir
parameter.
If
there
is
none,
the
default
`/usr/libexec/kubernetes/kubelet-plugins/volume/exec/`
will
be
used."
type
:
string
type
:
string
label
:
Longhorn Flexvolume Path
label
:
Longhorn Flexvolume Path
show_subquestion_if
:
csi
subquestions
:
-
variable
:
csi.attacherImage
default
:
description
:
"
Specify
CSI
attacher
image.
Leave
blank
to
autodetect."
type
:
string
label
:
Longhorn CSI Attacher Image
-
variable
:
csi.provisionerImage
default
:
description
:
"
Specify
CSI
provisioner
image.
Leave
blank
to
autodetect."
type
:
string
label
:
Longhorn CSI Provisioner Image
-
variable
:
csi.driverRegistrarImage
default
:
description
:
"
Specify
CSI
Driver
Registrar
image.
Leave
blank
to
autodetect."
type
:
string
label
:
Longhorn CSI Driver Registrar Image
-
variable
:
persistence.defaultClass
-
variable
:
persistence.defaultClass
default
:
"
true"
default
:
"
true"
description
:
"
Set
as
default
StorageClass"
description
:
"
Set
as
default
StorageClass"
...
...
proposed/longhorn/latest/templates/deployment-driver.yaml
View file @
df7eb7c8
...
@@ -46,4 +46,16 @@ spec:
...
@@ -46,4 +46,16 @@ spec:
fieldPath
:
spec.serviceAccountName
fieldPath
:
spec.serviceAccountName
-
name
:
FLEXVOLUME_DIR
-
name
:
FLEXVOLUME_DIR
value
:
{{
.Values.persistence.flexvolumePath
}}
value
:
{{
.Values.persistence.flexvolumePath
}}
{{
- if .Values.csi.attacherImage
}}
-
name
:
CSI_ATTACHER_IMAGE
value
:
{{
.Values.csi.attacherImage
}}
{{
- end
}}
{{
- if .Values.csi.provisionerImage
}}
-
name
:
CSI_PROVISIONER_IMAGE
value
:
{{
.Values.csi.provisionerImage
}}
{{
- end
}}
{{
- if .Values.csi.driverRegistrarImage
}}
-
name
:
CSI_DRIVER_REGISTRAR_IMAGE
value
:
{{
.Values.csi.driverRegistrarImage
}}
{{
- end
}}
serviceAccountName
:
longhorn-service-account
serviceAccountName
:
longhorn-service-account
proposed/longhorn/latest/values.yaml
View file @
df7eb7c8
...
@@ -28,6 +28,11 @@ persistence:
...
@@ -28,6 +28,11 @@ persistence:
flexvolumePath
:
flexvolumePath
:
defaultClass
:
true
defaultClass
:
true
csi
:
attacherImage
:
provisionerImage
:
driverRegistrarImage
:
resources
:
{}
resources
:
{}
# We usually recommend not to specify default resources and to leave this as a conscious
# We usually recommend not to specify default resources and to leave this as a conscious
# choice for the user. This also increases chances charts run on environments with little
# choice for the user. This also increases chances charts run on environments with little
...
...
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