mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-26 21:17:23 +00:00
Fix LB lint errors
This commit is contained in:
parent
0a55f4105c
commit
adf3c21495
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user