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
4cbeddd7
Unverified
Commit
4cbeddd7
authored
Oct 24, 2018
by
k8s-ci-robot
Committed by
GitHub
Oct 24, 2018
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #70094 from mwwolters/prepare-log-file-args
Changed prepare-log-file to take args for setting uid/gid for log files.
parents
3abb9f0a
c9d34073
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
configure-helper.sh
cluster/gce/gci/configure-helper.sh
+3
-1
No files found.
cluster/gce/gci/configure-helper.sh
View file @
4cbeddd7
...
...
@@ -1273,10 +1273,12 @@ EOF
# Create the log file and set its properties.
#
# $1 is the file to create.
# $2: the log owner uid to set for the log file.
# $3: the log owner gid to set for the log file.
function
prepare-log-file
{
touch
$1
chmod
644
$1
chown
"
${
LOG_OWNER_USER
:-
root
}
"
:
"
${
LOG_OWNER_GROUP
:-
root
}
"
$1
chown
"
${
2
:-${
LOG_OWNER_USER
:-
root
}}
"
:
"
${
3
:-${
LOG_OWNER_GROUP
:-
root
}
}
"
$1
}
# Prepares parameters for kube-proxy manifest.
...
...
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