Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
K
k3s
Project
Project
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
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jacklull
k3s
Commits
c5e2676d
Unverified
Commit
c5e2676d
authored
Feb 04, 2021
by
Brad Davidson
Committed by
GitHub
Feb 04, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update local-path-provisioner and helper busybox (#2885)
* Update local-path-provisioner and helper busybox Signed-off-by:
Brad Davidson
<
brad.davidson@rancher.com
>
parent
732228fd
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
56 additions
and
15 deletions
+56
-15
local-storage.yaml
manifests/local-storage.yaml
+53
-12
zz_generated_bindata.go
pkg/deploy/zz_generated_bindata.go
+1
-1
image-list.txt
scripts/airgap/image-list.txt
+2
-2
No files found.
manifests/local-storage.yaml
View file @
c5e2676d
...
...
@@ -10,7 +10,7 @@ metadata:
name
:
local-path-provisioner-role
rules
:
-
apiGroups
:
[
"
"
]
resources
:
[
"
nodes"
,
"
persistentvolumeclaims"
]
resources
:
[
"
nodes"
,
"
persistentvolumeclaims"
,
"
configmaps"
]
verbs
:
[
"
get"
,
"
list"
,
"
watch"
]
-
apiGroups
:
[
"
"
]
resources
:
[
"
endpoints"
,
"
persistentvolumes"
,
"
pods"
]
...
...
@@ -63,7 +63,7 @@ spec:
effect
:
"
NoSchedule"
containers
:
-
name
:
local-path-provisioner
image
:
rancher/local-path-provisioner:v0.0.1
4
image
:
rancher/local-path-provisioner:v0.0.1
9
imagePullPolicy
:
IfNotPresent
command
:
-
local-path-provisioner
...
...
@@ -78,8 +78,6 @@ spec:
valueFrom
:
fieldRef
:
fieldPath
:
metadata.namespace
-
name
:
HELPER_IMAGE
value
:
rancher/library-busybox:1.31.1
volumes
:
-
name
:
config-volume
configMap
:
...
...
@@ -102,11 +100,54 @@ metadata:
namespace
:
kube-system
data
:
config.json
:
|-
{
"nodePathMap":[
{
"node":"DEFAULT_PATH_FOR_NON_LISTED_NODES",
"paths":["%{DEFAULT_LOCAL_STORAGE_PATH}%"]
}
]
}
{
"nodePathMap":[
{
"node":"DEFAULT_PATH_FOR_NON_LISTED_NODES",
"paths":["%{DEFAULT_LOCAL_STORAGE_PATH}%"]
}
]
}
setup: |-
#!/bin/sh
while getopts "m:s:p:" opt
do
case $opt in
p)
absolutePath=$OPTARG
;;
s)
sizeInBytes=$OPTARG
;;
m)
volMode=$OPTARG
;;
esac
done
mkdir -m 0777 -p ${absolutePath}
teardown: |-
#!/bin/sh
while getopts "m:s:p:" opt
do
case $opt in
p)
absolutePath=$OPTARG
;;
s)
sizeInBytes=$OPTARG
;;
m)
volMode=$OPTARG
;;
esac
done
rm -rf ${absolutePath}
helperPod.yaml: |-
apiVersion: v1
kind: Pod
metadata:
name: helper-pod
spec:
containers:
- name: helper-pod
image: rancher/library-busybox:1.32.1
pkg/deploy/zz_generated_bindata.go
View file @
c5e2676d
...
...
@@ -130,7 +130,7 @@ func corednsYaml() (*asset, error) {
return
a
,
nil
}
var
_localStorageYaml
=
[]
byte
(
"
\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x
b4\x56\xcd\x8e\xe3\x36\x0c\xbe\xfb\x29\x04\x01\x7b\x29\x56\xce\x06\xed\xa1\xd0\x2d\xcd\xcf\xec\x00\xf9\x43\x32\x6d\x0f\x83\x45\x20\xcb\x4c\xa2\x1d\x59\x12\x24\xd9\xdd\x74\x3b\xef\x5e\xc8\x76\x32\x76\x9c\x99\x49\xd0\xae\x2e\x41\x28\x92\x1f\x45\x7e\x24\xcd\x8c\xf8\x03\xac\x13\x5a\x51\x54\xf4\xa3\x27\xa1\x52\x8a\xd6\x60\x0b\xc1\x61\xc0\xb9\xce\x95\x8f\x32\xf0\x2c\x65\x9e\xd1\x08\x21\xc5\x32\xa0\x48\x6a\xce\x24\x31\xcc\xef\x89\xb1\xba\x10\xc1\x1e\x2c\x71\x95\x1d\x61\xb5\x61\xa5\xee\x0c\xe3\x40\xd1\x53\x9e\x00\x71\x07\xe7\x21\x8b\x08\x21\x51\x13\xd9\x26\x8c\xc7\x2c\xf7\x7b\x6d\xc5\xdf\xcc\x0b\xad\xe2\xa7\x5f\x5d\x2c\x74\xaf\xe8\x27\xe0\xd9\x31\xb0\xa1\xcc\x9d\x07\xbb\xd2\x12\xae\x8f\xca\x06\x6d\x9b\x4b\x70\x34\x22\x88\x19\x71\x67\x75\x6e\x1c\x45\x8f\x18\x7f\x89\x10\xb2\xe0\x74\x6e\x39\x94\x12\xa5\x53\x70\xf8\x23\xc2\x26\xc4\xe6\x3c\x28\x5f\x68\x99\x67\xc0\x25\x13\x99\x2b\x0d\x0a\xb0\x49\xa9\xbc\x03\x1f\x54\xa5\x70\xe5\xef\x5f\xcc\xf3\x3d\xfe\xf2\x3e\x08\xa8\xd4\x68\xa1\xfc\x45\xa0\x4a\xa8\xd3\x33\xac\x9f\xae\x72\x5c\x40\xf0\xda\x32\xe4\x16\x98\x87\xd2\xe9\xe5\xf8\x9c\xd7\x96\xed\xa0\xce\x78\xd7\x69\x7d\xcf\x25\x73\x0e\xae\xcc\xc0\x7f\xaf\xef\x6f\x42\xa5\x42\xed\xae\x2f\x73\x22\x54\x1a\x85\x5a\xaf\x60\x1b\x94\x8f\x6f\x7c\x03\x3d\x42\xa8\xcb\xab\x6b\xd8\xe4\xf2\xe4\x2b\x70\x5f\x12\xea\x62\xcb\xfc\xa8\x46\x61\xc6\xb8\xde\xa9\x4f\x47\x60\xa4\x3e\x64\x70\x43\x8f\xbe\x0e\xe5\x0c\x70\x5a\xd6\xde\x48\xc1\x99\xa3\xa8\x1f\x21\xe4\x40\x02\xf7\xda\x86\x1b\x84\xb2\x50\xdf\x29\x4b\x40\xba\x4a\x10\xd2\x6c\xde\xc0\xf2\x90\x19\xc9\x3c\xd4\xe6\x8d\x20\xc3\x91\x2d\x4f\xef\xf9\x42\xe8\x18\x62\x38\xc6\x0a\x6d\x85\x3f\x0c\x03\x2d\xe7\xe5\x8b\x71\xf5\x12\x12\x7a\x98\x70\x2b\xbc\xe0\x4c\xe2\x5a\xdf\xb5\x0a\x34\xbf\xad\x3a\xe1\x78\x2d\xc1\x96\xec\x69\x44\x8c\x10\x41\x4f\x70\xa0\x08\x0f\x6b\xbc\x41\x9a\x6a\xe5\x16\x4a\x1e\x70\x43\x0b\x21\x6d\x82\xb5\xb6\x14\xe1\xf1\x37\xe1\xbc\xc3\x17\x9c\x94\x91\x07\x86\xc5\xa1\x32\x56\x81\x87\xb2\x4b\xb8\x56\xde\x6a\x49\x8c\x64\x0a\x6e\xf0\x8b\x10\x6c\xb7\xc0\x3d\x45\x78\xae\xd7\x7c\x0f\x69\x2e\xe1\x16\xe0\x8c\x85\xbe\xf8\xbf\x10\xc3\x33\x98\x50\x60\x4f\x19\x24\xef\x91\xb5\x3a\x22\x63\x3b\xa0\xc8\x32\xc5\xf7\x60\x7b\x97\xb5\x69\xf1\x29\xfe\x14\xf7\x7f\x69\x5b\x2d\x73\x29\x97\x5a\x0a\x7e\xa0\xe8\x7e\x3b\xd7\x7e\x69\xc1\xc1\xa9\xaa\x21\xa8\x2c\x63\x2a\x7d\xa9\x29\x79\x2f\x1a\x82\x9c\x67\xd6\x37\xfe\x13\xc2\xb5\xda\x8a\x5d\x43\xd4\x03\xcf\x7b\x95\xb4\xfe\x89\xbf\x3a\xad\x4e\x1a\xd5\xb0\x9f\x05\x82\xb9\x26\x76\x95\x8f\xca\x82\x54\x4a\x8d\xf4\x66\x41\x7f\xc9\xfc\x9e\xb6\x00\x4e\x1a\xa0\x8a\xae\xb3\xe5\x62\xb4\x99\x0f\x66\xe3\xf5\x72\x30\x1c\x37\x9c\x15\x4c\xe6\x30\xb1\x3a\xa3\xad\x02\x6e\x05\xc8\xb4\x1e\xa2\x1d\x79\x85\x7d\x6c\xe4\xf8\x34\x4b\x3a\xa0\x9f\xc7\xd3\xe5\x78\xb5\xb9\x9f\x0d\xee\x3a\x98\x8d\x4a\x8a\xc4\x32\x7b\x20\x49\xee\x0e\x89\xfe\x46\xfb\xf1\xcf\xfd\xb8\x1f\x35\x53\x74\x43\x76\x2a\xf9\x8c\x99\x76\xe8\x1d\x8a\xd5\xc5\x3a\x1f\xae\xed\x45\xf8\x32\x66\xd7\x95\xbc\x9c\x34\x6f\x0e\xda\xb0\x75\x94\xd2\xbe\x39\x25\x9a\xdb\xf3\xac\xb9\x84\x23\x29\x6c\x59\x2e\x3d\x29\xaf\x29\xc2\xde\xe6\x80\xa3\x26\xa9\x8f\xa9\x0a\x06\x0d\xa4\xea\xed\xf5\x92\x9c\xe9\x14\x28\xfa\x93\x09\x3f\xd1\x76\x22\xac\xf3\x43\xad\x5c\x9e\x81\x8d\x6c\xf5\xe1\x72\xec\x80\x11\x48\xf0\x50\xbe\xbc\xde\x7c\xc7\x94\x45\x67\x5f\x82\x6f\x2e\x94\x13\xdb\x5f\xd9\x25\x47\xc3\x06\xf1\x29\xfa\x87\x9c\xaa\xf2\xfd\x8c\x5a\xa8\x9a\x40\x81\x5c\x33\x66\x30\x7d\xec\xdc\x77\x2d\x5a\x96\x98\xe2\xd1\x78\x32\xf8\x7d\xfa\xb0\x59\x0e\x1e\x3e\x6f\x26\x8b\xd5\x66\xbe\x98\x6f\xa6\xf7\xeb\x87\xf1\x68\x33\x5f\x8c\xc6\x6b\xfc\xf1\x75\x1f\xe1\x55\x0e\xd3\x47\xfc\xe1\xfb\xd1\xcf\x74\x31\x1c\x4c\x37\xeb\x87\xc5\x6a\x70\x37\x2e\xbd\x3e\x7f\x28\x3f\x7e\xda\xe7\xb9\x23\x79\xd1\x79\x8e\xfe\x0d\x00\x00\xff\xff\xe8\x80\x86\xef\x5f\x0b
\x00\x00
"
)
var
_localStorageYaml
=
[]
byte
(
"
\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x
ec\x56\x4d\x6f\xe3\x36\x13\xbe\xeb\x57\xcc\xab\x77\xf7\xd0\x62\x69\xaf\xdb\xc3\xb6\x5c\xf4\xe0\xb5\x9d\x34\x40\x62\x1b\x71\xda\x1e\x82\x85\x41\x51\x63\x9b\x1b\x8a\x24\x48\xca\x59\x6f\x9a\xff\x5e\x90\x92\x1d\xc9\x71\x12\x07\x6d\x6f\xd5\x45\xe0\x70\x9e\xf9\xfe\x20\x33\xe2\x77\xb4\x4e\x68\x45\x61\xdd\x4b\x6e\x84\xca\x29\xcc\xd0\xae\x05\xc7\x3e\xe7\xba\x54\x3e\x29\xd0\xb3\x9c\x79\x46\x13\x00\xc5\x0a\xa4\x20\x35\x67\x92\x18\xe6\x57\xc4\x58\xbd\x16\x01\x8f\x96\xb8\x0a\x47\x58\x0d\xac\xd8\x9d\x61\x1c\x29\xdc\x94\x19\x12\xb7\x71\x1e\x8b\x84\x10\x92\x34\x35\xdb\x8c\xf1\x0e\x2b\xfd\x4a\x5b\xf1\x8d\x79\xa1\x55\xe7\xe6\x27\xd7\x11\xba\xbb\xee\x65\xe8\xd9\xd6\xb0\x81\x2c\x9d\x47\x7b\xa9\x25\x1e\x6f\x95\x0d\xdc\xb6\x94\xe8\x68\x42\x80\x19\x71\x6a\x75\x69\x1c\x85\xeb\x34\xfd\x9c\x00\x58\x74\xba\xb4\x1c\x23\x45\xe9\x1c\x5d\xfa\x0e\x52\x13\x6c\x73\x1e\x95\x5f\x6b\x59\x16\xc8\x25\x13\x45\xbc\xe1\x5a\x2d\xc4\xb2\x60\xc6\x45\xf8\x1a\x6d\x16\xa1\x4b\xf4\xe1\x5a\x0a\x17\xff\xb7\xcc\xf3\x55\xfa\xf9\x65\x95\xa8\x72\xa3\x85\xf2\x07\xd5\x56\x44\x9d\xef\xe9\xfa\xfe\x28\xc1\x6b\x0c\x52\x5b\x40\x6e\x91\x79\x8c\x42\x0f\xdb\xe7\xbc\xb6\x6c\x89\x75\xfc\x1f\x0b\xad\xef\xb9\x64\xce\xe1\x91\x11\xf8\xfb\xd9\xfe\x24\x54\x2e\xd4\xf2\xf8\xa4\x67\x42\xe5\x49\xc8\xfc\x25\x2e\x02\xf3\xd6\xc7\x67\xb4\x27\x00\x8f\xab\xec\x98\xda\x72\x65\xf6\x05\xb9\x8f\xe5\x75\xb0\x81\xfe\xad\xb6\x61\xc6\xb8\xee\xae\x6b\x87\x68\xa4\xde\x14\xf8\x8a\x8e\x7d\x5a\x95\x33\xc8\x69\xcc\xbd\x91\x82\x33\x47\xa1\x97\x00\x38\x94\xc8\xbd\xb6\xe1\x06\xa0\x08\xf9\x3d\x67\x19\x4a\x57\x11\x42\x98\xcd\x33\xba\x3c\x16\x46\x32\x8f\x35\xbc\x61\x64\xf8\x64\x4b\xd2\x4b\xb2\x00\xb6\x26\x86\xcf\x58\xa1\xad\xf0\x9b\x41\x28\xcb\x71\xf4\x38\xad\x3c\x21\xa1\xa3\x09\xb7\xc2\x0b\xce\x64\x5a\xf3\xbb\x56\x82\xc6\xaf\xcb\x4e\xf8\xbc\x96\x68\x63\xf5\x34\x2c\x06\x20\x70\x83\x1b\x0a\xe9\xa0\xd6\xd7\xcf\x73\xad\xdc\x44\xc9\x4d\xda\xe0\x02\xd0\x26\xa0\xb5\xa5\x90\x8e\xbe\x0a\xe7\x5d\x7a\x40\x48\xb4\x3c\x54\x58\x27\x64\xc6\x2a\xf4\x18\xbb\x84\x6b\xe5\xad\x96\xc4\x48\xa6\xf0\x15\x72\x01\x70\xb1\x40\xee\x29\xa4\x63\x3d\xe3\x2b\xcc\x4b\x89\xaf\x51\x5c\xb0\xd0\x17\xff\x94\xc6\xe0\x06\x13\x0a\xed\x2e\x82\xe4\xa5\x62\xad\x3e\x51\xb0\x25\x52\xb0\x4c\xf1\x15\xda\xee\x61\x6e\xba\x7e\xdf\x79\xdf\xe9\xfd\xdc\x46\x4d\x4b\x29\xa7\x5a\x0a\xbe\xa1\x70\xb6\x18\x6b\x3f\xb5\xe8\x70\x97\xd5\x60\x54\x51\x30\x95\x3f\xe4\x94\xbc\x64\x0d\x01\xe7\x99\xf5\x8d\x33\x21\xd5\x8a\x68\x90\xba\xe8\x79\xb7\xa2\xd6\xbf\xce\x17\xa7\xd5\x8e\xa3\x1a\xf6\x17\xa1\xc0\x5c\x53\x77\x15\x8f\x0a\x41\x2a\xa6\x46\x78\x8b\xc0\x3f\x65\x7e\x45\x5b\x0a\x76\x1c\xa8\xd6\x8f\x85\x4d\x27\xc3\xf9\xb8\x7f\x31\x9a\x4d\xfb\x83\x51\x43\xd8\x9a\xc9\x12\x4f\xac\x2e\x68\x2b\x81\x0b\x81\x32\xaf\x87\xe8\x23\x7a\xa5\x7b\xdb\xc8\x9d\xdd\x2c\x49\x9a\x5e\xbd\xc2\xa1\x8a\x7e\xc1\x4c\x5b\xdb\xa3\xaa\xa8\xe3\xbb\x3f\x0f\xdb\xbb\xeb\x61\x32\xce\x2a\x7a\x1c\x0e\xcf\xce\xc6\xb0\x28\x94\xd2\xbe\xd9\xd8\xcd\x85\xb7\xd7\x0f\xc2\x91\x1c\x17\xac\x94\x9e\xc4\x6b\x0a\xa9\xb7\x25\xa6\x49\xb3\x0e\xb7\x75\x1a\x00\x0d\x4d\x95\xef\xf5\x5e\xbb\xd0\x39\x52\xf8\x83\x09\x7f\xa2\xed\x89\xb0\xce\x0f\xb4\x72\x65\x81\x36\xb1\xd5\xcb\x63\x5b\xb4\x43\x94\xe8\x31\x7a\x5e\x2f\xab\x6d\xc8\x92\xbd\xa7\xdc\xb3\x3b\x60\x57\xa0\x4f\x8c\xff\x2d\xb0\x51\xab\x14\xfe\x24\x31\x20\x77\x75\x6e\xe2\x98\x08\x15\x70\xc1\x4c\x4a\xaf\x6b\xea\xdd\x2e\x73\xf1\x3e\xa5\xe9\x70\x74\xd2\xff\xed\xfc\x6a\x3e\xed\x5f\xfd\x3a\x3f\x99\x5c\xce\xc7\x93\xf1\xfc\xfc\x6c\x76\x35\x1a\xce\xc7\x93\xe1\x68\x96\xbe\x7b\xc0\x04\xeb\x5c\x4a\xaf\xd3\xb7\x77\x5b\xdc\xf9\x64\xd0\x3f\x9f\xcf\xae\x26\x97\xfd\xd3\x51\x94\x72\xff\x36\xbe\x3b\xc2\x77\x5f\xff\xab\xf3\x7d\xdc\x51\x3e\xac\xf9\xda\xd8\xff\xff\xaf\x9b\x09\xd5\x75\xab\x78\xba\x5d\x09\x89\xb0\x44\xaf\x8d\x77\x90\x16\xd4\x51\x43\x53\xd0\xa6\x6a\xdf\x5c\x3f\xcc\x01\xe6\x10\xde\x68\xe3\x41\xa8\x56\x2d\x9a\xef\x5a\x47\x96\x39\x2d\x4b\x1f\xe3\xf0\xcb\x9b\xc9\xf4\xaa\x7f\x79\xda\x62\xf8\xf8\xb1\x75\x74\x6d\xb8\x13\xdf\xf0\x4c\x7d\xda\x78\x74\xc7\xa0\x8b\x36\x7a\xad\x65\xa8\x9c\x97\x90\xe8\x18\xaf\xfd\x53\x55\xb7\x15\x37\xb9\xb0\x40\x0a\x78\xff\xe1\xc3\x07\x20\x06\xde\xdc\x35\x1d\xb9\x8f\xbb\x9a\xd9\x5c\xdf\xaa\xff\x22\xf9\x6c\x24\x6d\x01\xc4\x2e\x0e\xc4\x6f\x85\xd2\xa0\x9d\xea\xbc\xb3\x61\x85\xdc\x45\x71\xaf\x49\x03\xa9\xea\xe3\xa9\xce\x0f\xbe\x8a\xaa\xd6\xad\xa4\x11\x53\x33\x35\x9f\x3e\x4f\xaf\xd1\x3d\x10\x1c\x58\x9d\x22\xb3\xcc\x6e\x48\x56\xba\x4d\xa6\xbf\xd2\x5e\xe7\xc7\x1f\x3a\xbd\xe4\xaf\x00\x00\x00\xff\xff\xee\x9c\x92\x0b\x15\x0e
\x00\x00
"
)
func
localStorageYamlBytes
()
([]
byte
,
error
)
{
return
bindataRead
(
...
...
scripts/airgap/image-list.txt
View file @
c5e2676d
docker.io/rancher/coredns-coredns:1.8.0
docker.io/rancher/klipper-helm:v0.4.3
docker.io/rancher/klipper-lb:v0.1.2
docker.io/rancher/library-busybox:1.3
1
.1
docker.io/rancher/library-busybox:1.3
2
.1
docker.io/rancher/library-traefik:1.7.19
docker.io/rancher/local-path-provisioner:v0.0.1
4
docker.io/rancher/local-path-provisioner:v0.0.1
9
docker.io/rancher/metrics-server:v0.3.6
docker.io/rancher/pause:3.1
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