diff --git a/core/core_test.go b/core/core_test.go index 1202e092..e272a5d9 100644 --- a/core/core_test.go +++ b/core/core_test.go @@ -1,3 +1,21 @@ +/* + * + * Copyright © 2021-2024 Dell Inc. or its subsidiaries. All Rights Reserved. + * + * 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. + * + */ + package core import ( diff --git a/pkg/helpers/utils.go b/pkg/helpers/utils.go index 572c9bc6..b0f72958 100644 --- a/pkg/helpers/utils.go +++ b/pkg/helpers/utils.go @@ -1,3 +1,21 @@ +/* + * + * Copyright © 2021-2024 Dell Inc. or its subsidiaries. All Rights Reserved. + * + * 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. + * + */ + package helpers import ( diff --git a/pkg/helpers/utils_test.go b/pkg/helpers/utils_test.go index 1af969a0..0faa472a 100644 --- a/pkg/helpers/utils_test.go +++ b/pkg/helpers/utils_test.go @@ -1,3 +1,21 @@ +/* + * + * Copyright © 2021-2024 Dell Inc. or its subsidiaries. All Rights Reserved. + * + * 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. + * + */ + package helpers import ( diff --git a/tests/sanity/config.yaml b/tests/sanity/config.yaml index 4ec822a6..821fb7ac 100644 --- a/tests/sanity/config.yaml +++ b/tests/sanity/config.yaml @@ -1,3 +1,16 @@ +# Copyright © 2020-2025 Dell Inc. or its subsidiaries. All Rights Reserved. +# +# 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. +# + arrays: - endpoint: "https://REPLACE_ENDPOINT/api/rest" username: "REPLACE_USER" diff --git a/tests/sanity/driver-config-params.yaml b/tests/sanity/driver-config-params.yaml index 7e263d55..529f164e 100644 --- a/tests/sanity/driver-config-params.yaml +++ b/tests/sanity/driver-config-params.yaml @@ -1,3 +1,16 @@ +# Copyright © 2020-2025 Dell Inc. or its subsidiaries. All Rights Reserved. +# +# 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. +# + CSI_LOG_LEVEL: "info" CSI_LOG_FORMAT: "JSON" PODMON_CONTROLLER_LOG_LEVEL: "debug" diff --git a/tests/sanity/params.yaml b/tests/sanity/params.yaml index f7e35bc2..bb6f4128 100644 --- a/tests/sanity/params.yaml +++ b/tests/sanity/params.yaml @@ -1,3 +1,16 @@ +# Copyright © 2020-2025 Dell Inc. or its subsidiaries. All Rights Reserved. +# +# 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. +# + # put your storage class parameters here, csi-sanity test will pass them to any createVolume request arrayID: "REPLACE_ARRAY_ID" csi.storage.k8s.io/fstype: "nfs" diff --git a/tests/sanity/run-csi-sanity.sh b/tests/sanity/run-csi-sanity.sh index bcfd235c..3851d856 100755 --- a/tests/sanity/run-csi-sanity.sh +++ b/tests/sanity/run-csi-sanity.sh @@ -1,3 +1,18 @@ +#!/bin/bash + +# Copyright © 2020-2025 Dell Inc. or its subsidiaries. All Rights Reserved. +# +# 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. +# + # remove left over from any uncompleted previous run rm -rf /tmp/csi-mount diff --git a/tests/sanity/setup-driver-controller-sanity.sh b/tests/sanity/setup-driver-controller-sanity.sh index fc60b27a..f7e93d57 100755 --- a/tests/sanity/setup-driver-controller-sanity.sh +++ b/tests/sanity/setup-driver-controller-sanity.sh @@ -1,3 +1,18 @@ +#!/bin/bash + +# Copyright © 2020-2025 Dell Inc. or its subsidiaries. All Rights Reserved. +# +# 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. +# + echo "Make sure binary exists!" echo "Starting driver!" diff --git a/tests/sanity/setup-driver-node-sanity.sh b/tests/sanity/setup-driver-node-sanity.sh index 7da6b3e3..f11756b1 100755 --- a/tests/sanity/setup-driver-node-sanity.sh +++ b/tests/sanity/setup-driver-node-sanity.sh @@ -1,3 +1,18 @@ +#!/bin/bash + +# Copyright © 2020-2025 Dell Inc. or its subsidiaries. All Rights Reserved. +# +# 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. +# + echo "Make sure binary exists!" echo "Starting driver!"