Skip to content

Commit

Permalink
Contain the k8s roles
Browse files Browse the repository at this point in the history
  • Loading branch information
ananace committed Sep 27, 2024
1 parent e11b1e6 commit 4a380fc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions manifests/init.pp
Original file line number Diff line number Diff line change
Expand Up @@ -104,10 +104,10 @@
Integer[0, 65535] $gid = 888,
) {
if $role == 'server' or $role == 'control-plane' {
include k8s::server
contain k8s::server
} elsif $role == 'node' {
include k8s::node
contain k8s::node
} elsif $role == 'etcd-replica' {
include k8s::server::etcd
contain k8s::server::etcd
}
}

0 comments on commit 4a380fc

Please sign in to comment.