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
adf3c214
Commit
adf3c214
authored
Dec 18, 2017
by
Konstantinos Tsakalozos
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix LB lint errors
parent
0a55f410
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
16 deletions
+17
-16
load_balancer.py
...ju/layers/kubeapi-load-balancer/reactive/load_balancer.py
+17
-16
No files found.
cluster/juju/layers/kubeapi-load-balancer/reactive/load_balancer.py
View file @
adf3c214
...
@@ -37,24 +37,25 @@ from subprocess import CalledProcessError
...
@@ -37,24 +37,25 @@ from subprocess import CalledProcessError
apilb_nginx
=
"""/var/log/nginx.*.log {
apilb_nginx
=
"""/var/log/nginx.*.log {
daily
daily
missingok
missingok
rotate 14
rotate 14
compress
compress
delaycompress
delaycompress
notifempty
notifempty
create 0640 www-data adm
create 0640 www-data adm
sharedscripts
sharedscripts
prerotate
prerotate
if [ -d /etc/logrotate.d/httpd-prerotate ]; then
\\
if [ -d /etc/logrotate.d/httpd-prerotate ]; then
\\
run-parts /etc/logrotate.d/httpd-prerotate;
\\
run-parts /etc/logrotate.d/httpd-prerotate;
\\
fi
\\
fi
\\
endscript
endscript
postrotate
postrotate
invoke-rc.d nginx rotate >/dev/null 2>&1
invoke-rc.d nginx rotate >/dev/null 2>&1
endscript
endscript
}"""
}"""
@when
(
'certificates.available'
)
@when
(
'certificates.available'
)
def
request_server_certificates
(
tls
):
def
request_server_certificates
(
tls
):
'''Send the data that is required to create a server certificate for
'''Send the data that is required to create a server certificate for
...
...
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