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
093e5a50
Commit
093e5a50
authored
Feb 26, 2019
by
Yu-Ju Hong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
GCE/Windows: create a C:\tmp directory
This is required for running host path tests.
parent
7a449642
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
k8s-node-setup.psm1
cluster/gce/windows/k8s-node-setup.psm1
+2
-1
No files found.
cluster/gce/windows/k8s-node-setup.psm1
View file @
093e5a50
...
@@ -250,11 +250,12 @@ function Disable-WindowsDefender {
...
@@ -250,11 +250,12 @@ function Disable-WindowsDefender {
# Creates directories where other functions in this module will read and write
# Creates directories where other functions in this module will read and write
# data.
# data.
# Note: C:\tmp is required for running certain kubernetes tests.
function
Create-Directories
{
function
Create-Directories
{
Log-Output
"Creating
${
env
:K8S_DIR
}
and its subdirectories."
Log-Output
"Creating
${
env
:K8S_DIR
}
and its subdirectories."
ForEach
(
$dir
in
(
"
${
env
:K8S_DIR
}
"
,
"
${
env
:NODE_DIR
}
"
,
"
${
env
:LOGS_DIR
}
"
,
ForEach
(
$dir
in
(
"
${
env
:K8S_DIR
}
"
,
"
${
env
:NODE_DIR
}
"
,
"
${
env
:LOGS_DIR
}
"
,
"
${
env
:CNI_DIR
}
"
,
"
${
env
:CNI_CONFIG_DIR
}
"
,
"
${
env
:MANIFESTS_DIR
}
"
,
"
${
env
:CNI_DIR
}
"
,
"
${
env
:CNI_CONFIG_DIR
}
"
,
"
${
env
:MANIFESTS_DIR
}
"
,
"
${
env
:PKI_DIR
}
"
))
{
"
${
env
:PKI_DIR
}
"
)
,
"C:\tmp"
)
{
mkdir
-Force
$dir
mkdir
-Force
$dir
}
}
}
}
...
...
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