- import k8s role - add worker/controller roles - add worker/controller profiles
12 lines
258 B
Puppet
12 lines
258 B
Puppet
# deploy k8s workers
|
|
class roles::infra::k8s::worker {
|
|
if $facts['firstrun'] {
|
|
include profiles::defaults
|
|
include profiles::firstrun::init
|
|
}else{
|
|
include profiles::defaults
|
|
include profiles::base
|
|
include profiles::base::datavol
|
|
}
|
|
}
|