Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
Signed-off-by: v.oleynikov <[email protected]>
  • Loading branch information
duckhawk committed Aug 1, 2024
1 parent 976552d commit feb3581
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions templates/nodegroupconfiguration-dm-thin-pool-load.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ spec:
# See the License for the specific language governing permissions and
# limitations under the License.
kubeconfig="/etc/kubernetes/kubelet.conf"
is_data_node=$(bb-kubectl --kubeconfig $kubeconfig get node "$(hostname -s)" -o json | jq -c '["storage.deckhouse.io/sds-replicated-volume-node", "storage.deckhouse.io/sds-local-volume-node", "storage.deckhouse.io/sds-drbd-node"] as $required_labels | .metadata.labels | keys | any(. == $required_labels[])')
bb-log-info "we need dm_thin_pool on node: "$is_data_node
Expand Down

0 comments on commit feb3581

Please sign in to comment.