-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathcsi-deps-check.sh
More file actions
executable file
·43 lines (37 loc) · 1.16 KB
/
csi-deps-check.sh
File metadata and controls
executable file
·43 lines (37 loc) · 1.16 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
#!/bin/sh
# Copyright 2022 The Kubernetes Authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
set -o errexit
# We will check all necessary utils in the image.
# They all have to launch without errors.
# This utils are using by
# go mod k8s.io/mount-utils
/bin/mount -V
/bin/umount -V
/sbin/blkid -V
/sbin/blockdev -V
/sbin/dumpe2fs -V
/sbin/fsck --version
/sbin/mke2fs -V
/sbin/mkfs.ext4 -V
/sbin/mkfs.xfs -V
/usr/bin/fsck.xfs
/usr/sbin/xfs_io -V # not used by mount-utils though
/sbin/xfs_repair -V
/usr/sbin/xfs_growfs -V
/bin/btrfs --version
# This utils are using by
# go mod github.com/stackitcloud/cloud-provider-stackit/pkg/util/mount
/bin/udevadm --version
/bin/findmnt -V