Merge "Rotate k8s certificate automatically" into r/stx.3.0
This commit is contained in:
commit
af2aa8884c
@ -347,6 +347,16 @@ class platform::kubernetes::master::init
|
||||
ensure => present,
|
||||
}
|
||||
}
|
||||
|
||||
# Run kube-cert-rotation daily
|
||||
cron { 'kube-cert-rotation':
|
||||
ensure => 'present',
|
||||
command => '/usr/bin/kube-cert-rotation.sh',
|
||||
environment => 'PATH=/bin:/usr/bin:/usr/sbin',
|
||||
minute => '10',
|
||||
hour => '*/24',
|
||||
user => 'root',
|
||||
}
|
||||
}
|
||||
|
||||
class platform::kubernetes::master
|
||||
|
Loading…
Reference in New Issue
Block a user