Skip to content

Commit d93707a

Browse files
committed
[chore] move to shortform licenses
1 parent 6782fdf commit d93707a

File tree

348 files changed

+349
-4166
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

348 files changed

+349
-4166
lines changed

.golangci.yaml

+3-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,9 @@ run:
77
# all available settings of specific linters
88
linters-settings:
99
goheader:
10-
template-path: header.txt
10+
template: |-
11+
Copyright The OpenTelemetry Authors
12+
SPDX-License-Identifier: Apache-2.0
1113
goimports:
1214
local-prefixes: github.com/open-telemetry/opentelemetry-operator
1315
gci:

apis/v1alpha1/allocation_strategy.go

+1-12
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,5 @@
11
// Copyright The OpenTelemetry Authors
2-
//
3-
// Licensed under the Apache License, Version 2.0 (the "License");
4-
// you may not use this file except in compliance with the License.
5-
// You may obtain a copy of the License at
6-
//
7-
// http://www.apache.org/licenses/LICENSE-2.0
8-
//
9-
// Unless required by applicable law or agreed to in writing, software
10-
// distributed under the License is distributed on an "AS IS" BASIS,
11-
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12-
// See the License for the specific language governing permissions and
13-
// limitations under the License.
2+
// SPDX-License-Identifier: Apache-2.0
143

154
package v1alpha1
165

apis/v1alpha1/convert.go

+1-12
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,5 @@
11
// Copyright The OpenTelemetry Authors
2-
//
3-
// Licensed under the Apache License, Version 2.0 (the "License");
4-
// you may not use this file except in compliance with the License.
5-
// You may obtain a copy of the License at
6-
//
7-
// http://www.apache.org/licenses/LICENSE-2.0
8-
//
9-
// Unless required by applicable law or agreed to in writing, software
10-
// distributed under the License is distributed on an "AS IS" BASIS,
11-
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12-
// See the License for the specific language governing permissions and
13-
// limitations under the License.
2+
// SPDX-License-Identifier: Apache-2.0
143

154
package v1alpha1
165

apis/v1alpha1/convert_test.go

+1-12
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,5 @@
11
// Copyright The OpenTelemetry Authors
2-
//
3-
// Licensed under the Apache License, Version 2.0 (the "License");
4-
// you may not use this file except in compliance with the License.
5-
// You may obtain a copy of the License at
6-
//
7-
// http://www.apache.org/licenses/LICENSE-2.0
8-
//
9-
// Unless required by applicable law or agreed to in writing, software
10-
// distributed under the License is distributed on an "AS IS" BASIS,
11-
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12-
// See the License for the specific language governing permissions and
13-
// limitations under the License.
2+
// SPDX-License-Identifier: Apache-2.0
143

154
package v1alpha1
165

apis/v1alpha1/groupversion_info.go

+1-12
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,5 @@
11
// Copyright The OpenTelemetry Authors
2-
//
3-
// Licensed under the Apache License, Version 2.0 (the "License");
4-
// you may not use this file except in compliance with the License.
5-
// You may obtain a copy of the License at
6-
//
7-
// http://www.apache.org/licenses/LICENSE-2.0
8-
//
9-
// Unless required by applicable law or agreed to in writing, software
10-
// distributed under the License is distributed on an "AS IS" BASIS,
11-
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12-
// See the License for the specific language governing permissions and
13-
// limitations under the License.
2+
// SPDX-License-Identifier: Apache-2.0
143

154
// Package v1alpha1 contains API Schema definitions for the core v1alpha1 API group.
165
// +kubebuilder:object:generate=true

apis/v1alpha1/ingress_type.go

+1-12
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,5 @@
11
// Copyright The OpenTelemetry Authors
2-
//
3-
// Licensed under the Apache License, Version 2.0 (the "License");
4-
// you may not use this file except in compliance with the License.
5-
// You may obtain a copy of the License at
6-
//
7-
// http://www.apache.org/licenses/LICENSE-2.0
8-
//
9-
// Unless required by applicable law or agreed to in writing, software
10-
// distributed under the License is distributed on an "AS IS" BASIS,
11-
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12-
// See the License for the specific language governing permissions and
13-
// limitations under the License.
2+
// SPDX-License-Identifier: Apache-2.0
143

154
package v1alpha1
165

apis/v1alpha1/instrumentation_types.go

+1-12
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,5 @@
11
// Copyright The OpenTelemetry Authors
2-
//
3-
// Licensed under the Apache License, Version 2.0 (the "License");
4-
// you may not use this file except in compliance with the License.
5-
// You may obtain a copy of the License at
6-
//
7-
// http://www.apache.org/licenses/LICENSE-2.0
8-
//
9-
// Unless required by applicable law or agreed to in writing, software
10-
// distributed under the License is distributed on an "AS IS" BASIS,
11-
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12-
// See the License for the specific language governing permissions and
13-
// limitations under the License.
2+
// SPDX-License-Identifier: Apache-2.0
143

154
package v1alpha1
165

apis/v1alpha1/instrumentation_webhook.go

+1-12
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,5 @@
11
// Copyright The OpenTelemetry Authors
2-
//
3-
// Licensed under the Apache License, Version 2.0 (the "License");
4-
// you may not use this file except in compliance with the License.
5-
// You may obtain a copy of the License at
6-
//
7-
// http://www.apache.org/licenses/LICENSE-2.0
8-
//
9-
// Unless required by applicable law or agreed to in writing, software
10-
// distributed under the License is distributed on an "AS IS" BASIS,
11-
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12-
// See the License for the specific language governing permissions and
13-
// limitations under the License.
2+
// SPDX-License-Identifier: Apache-2.0
143

154
package v1alpha1
165

apis/v1alpha1/instrumentation_webhook_test.go

+1-12
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,5 @@
11
// Copyright The OpenTelemetry Authors
2-
//
3-
// Licensed under the Apache License, Version 2.0 (the "License");
4-
// you may not use this file except in compliance with the License.
5-
// You may obtain a copy of the License at
6-
//
7-
// http://www.apache.org/licenses/LICENSE-2.0
8-
//
9-
// Unless required by applicable law or agreed to in writing, software
10-
// distributed under the License is distributed on an "AS IS" BASIS,
11-
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12-
// See the License for the specific language governing permissions and
13-
// limitations under the License.
2+
// SPDX-License-Identifier: Apache-2.0
143

154
package v1alpha1
165

apis/v1alpha1/mode.go

+1-12
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,5 @@
11
// Copyright The OpenTelemetry Authors
2-
//
3-
// Licensed under the Apache License, Version 2.0 (the "License");
4-
// you may not use this file except in compliance with the License.
5-
// You may obtain a copy of the License at
6-
//
7-
// http://www.apache.org/licenses/LICENSE-2.0
8-
//
9-
// Unless required by applicable law or agreed to in writing, software
10-
// distributed under the License is distributed on an "AS IS" BASIS,
11-
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12-
// See the License for the specific language governing permissions and
13-
// limitations under the License.
2+
// SPDX-License-Identifier: Apache-2.0
143

154
package v1alpha1
165

apis/v1alpha1/opampbridge_capabilities.go

+1-12
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,5 @@
11
// Copyright The OpenTelemetry Authors
2-
//
3-
// Licensed under the Apache License, Version 2.0 (the "License");
4-
// you may not use this file except in compliance with the License.
5-
// You may obtain a copy of the License at
6-
//
7-
// http://www.apache.org/licenses/LICENSE-2.0
8-
//
9-
// Unless required by applicable law or agreed to in writing, software
10-
// distributed under the License is distributed on an "AS IS" BASIS,
11-
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12-
// See the License for the specific language governing permissions and
13-
// limitations under the License.
2+
// SPDX-License-Identifier: Apache-2.0
143

154
package v1alpha1
165

apis/v1alpha1/opampbridge_types.go

+1-12
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,5 @@
11
// Copyright The OpenTelemetry Authors
2-
//
3-
// Licensed under the Apache License, Version 2.0 (the "License");
4-
// you may not use this file except in compliance with the License.
5-
// You may obtain a copy of the License at
6-
//
7-
// http://www.apache.org/licenses/LICENSE-2.0
8-
//
9-
// Unless required by applicable law or agreed to in writing, software
10-
// distributed under the License is distributed on an "AS IS" BASIS,
11-
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12-
// See the License for the specific language governing permissions and
13-
// limitations under the License.
2+
// SPDX-License-Identifier: Apache-2.0
143

154
package v1alpha1
165

apis/v1alpha1/opampbridge_webhook.go

+1-12
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,5 @@
11
// Copyright The OpenTelemetry Authors
2-
//
3-
// Licensed under the Apache License, Version 2.0 (the "License");
4-
// you may not use this file except in compliance with the License.
5-
// You may obtain a copy of the License at
6-
//
7-
// http://www.apache.org/licenses/LICENSE-2.0
8-
//
9-
// Unless required by applicable law or agreed to in writing, software
10-
// distributed under the License is distributed on an "AS IS" BASIS,
11-
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12-
// See the License for the specific language governing permissions and
13-
// limitations under the License.
2+
// SPDX-License-Identifier: Apache-2.0
143

154
package v1alpha1
165

apis/v1alpha1/opampbridge_webhook_test.go

+1-12
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,5 @@
11
// Copyright The OpenTelemetry Authors
2-
//
3-
// Licensed under the Apache License, Version 2.0 (the "License");
4-
// you may not use this file except in compliance with the License.
5-
// You may obtain a copy of the License at
6-
//
7-
// http://www.apache.org/licenses/LICENSE-2.0
8-
//
9-
// Unless required by applicable law or agreed to in writing, software
10-
// distributed under the License is distributed on an "AS IS" BASIS,
11-
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12-
// See the License for the specific language governing permissions and
13-
// limitations under the License.
2+
// SPDX-License-Identifier: Apache-2.0
143

154
package v1alpha1
165

apis/v1alpha1/opentelemetrycollector_types.go

+1-12
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,5 @@
11
// Copyright The OpenTelemetry Authors
2-
//
3-
// Licensed under the Apache License, Version 2.0 (the "License");
4-
// you may not use this file except in compliance with the License.
5-
// You may obtain a copy of the License at
6-
//
7-
// http://www.apache.org/licenses/LICENSE-2.0
8-
//
9-
// Unless required by applicable law or agreed to in writing, software
10-
// distributed under the License is distributed on an "AS IS" BASIS,
11-
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12-
// See the License for the specific language governing permissions and
13-
// limitations under the License.
2+
// SPDX-License-Identifier: Apache-2.0
143

154
package v1alpha1
165

apis/v1alpha1/propagators.go

+1-12
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,5 @@
11
// Copyright The OpenTelemetry Authors
2-
//
3-
// Licensed under the Apache License, Version 2.0 (the "License");
4-
// you may not use this file except in compliance with the License.
5-
// You may obtain a copy of the License at
6-
//
7-
// http://www.apache.org/licenses/LICENSE-2.0
8-
//
9-
// Unless required by applicable law or agreed to in writing, software
10-
// distributed under the License is distributed on an "AS IS" BASIS,
11-
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12-
// See the License for the specific language governing permissions and
13-
// limitations under the License.
2+
// SPDX-License-Identifier: Apache-2.0
143

154
package v1alpha1
165

apis/v1alpha1/samplers.go

+1-12
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,5 @@
11
// Copyright The OpenTelemetry Authors
2-
//
3-
// Licensed under the Apache License, Version 2.0 (the "License");
4-
// you may not use this file except in compliance with the License.
5-
// You may obtain a copy of the License at
6-
//
7-
// http://www.apache.org/licenses/LICENSE-2.0
8-
//
9-
// Unless required by applicable law or agreed to in writing, software
10-
// distributed under the License is distributed on an "AS IS" BASIS,
11-
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12-
// See the License for the specific language governing permissions and
13-
// limitations under the License.
2+
// SPDX-License-Identifier: Apache-2.0
143

154
package v1alpha1
165

apis/v1alpha1/targetallocator_types.go

+1-12
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,5 @@
11
// Copyright The OpenTelemetry Authors
2-
//
3-
// Licensed under the Apache License, Version 2.0 (the "License");
4-
// you may not use this file except in compliance with the License.
5-
// You may obtain a copy of the License at
6-
//
7-
// http://www.apache.org/licenses/LICENSE-2.0
8-
//
9-
// Unless required by applicable law or agreed to in writing, software
10-
// distributed under the License is distributed on an "AS IS" BASIS,
11-
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12-
// See the License for the specific language governing permissions and
13-
// limitations under the License.
2+
// SPDX-License-Identifier: Apache-2.0
143

154
package v1alpha1
165

apis/v1alpha1/targetallocator_webhook.go

+1-12
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,5 @@
11
// Copyright The OpenTelemetry Authors
2-
//
3-
// Licensed under the Apache License, Version 2.0 (the "License");
4-
// you may not use this file except in compliance with the License.
5-
// You may obtain a copy of the License at
6-
//
7-
// http://www.apache.org/licenses/LICENSE-2.0
8-
//
9-
// Unless required by applicable law or agreed to in writing, software
10-
// distributed under the License is distributed on an "AS IS" BASIS,
11-
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12-
// See the License for the specific language governing permissions and
13-
// limitations under the License.
2+
// SPDX-License-Identifier: Apache-2.0
143

154
package v1alpha1
165

apis/v1alpha1/targetallocator_webhook_test.go

+1-12
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,5 @@
11
// Copyright The OpenTelemetry Authors
2-
//
3-
// Licensed under the Apache License, Version 2.0 (the "License");
4-
// you may not use this file except in compliance with the License.
5-
// You may obtain a copy of the License at
6-
//
7-
// http://www.apache.org/licenses/LICENSE-2.0
8-
//
9-
// Unless required by applicable law or agreed to in writing, software
10-
// distributed under the License is distributed on an "AS IS" BASIS,
11-
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12-
// See the License for the specific language governing permissions and
13-
// limitations under the License.
2+
// SPDX-License-Identifier: Apache-2.0
143

154
package v1alpha1
165

apis/v1alpha1/upgrade_strategy.go

+1-12
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,5 @@
11
// Copyright The OpenTelemetry Authors
2-
//
3-
// Licensed under the Apache License, Version 2.0 (the "License");
4-
// you may not use this file except in compliance with the License.
5-
// You may obtain a copy of the License at
6-
//
7-
// http://www.apache.org/licenses/LICENSE-2.0
8-
//
9-
// Unless required by applicable law or agreed to in writing, software
10-
// distributed under the License is distributed on an "AS IS" BASIS,
11-
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12-
// See the License for the specific language governing permissions and
13-
// limitations under the License.
2+
// SPDX-License-Identifier: Apache-2.0
143

154
package v1alpha1
165

apis/v1alpha1/zz_generated.deepcopy.go

+1-12
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)