Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .golangci.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Copyright IBM Corp. 2022, 2026

version: "2"
linters:
exclusions:
Expand Down
2 changes: 1 addition & 1 deletion .release/ci.hcl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) HashiCorp, Inc.
# Copyright IBM Corp. 2022, 2026
# SPDX-License-Identifier: MPL-2.0

schema = "1"
Expand Down
2 changes: 1 addition & 1 deletion .release/release-metadata.hcl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) HashiCorp, Inc.
# Copyright IBM Corp. 2022, 2026
# SPDX-License-Identifier: MPL-2.0

url_docker_registry_dockerhub = "https://hub.docker.com/r/hashicorp/consul-dataplane"
Expand Down
2 changes: 1 addition & 1 deletion .release/security-scan.hcl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) HashiCorp, Inc.
# Copyright IBM Corp. 2022, 2026
# SPDX-License-Identifier: MPL-2.0

# These scan results are run as part of CRT workflows.
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) HashiCorp, Inc.
# Copyright IBM Corp. 2022, 2026
# SPDX-License-Identifier: MPL-2.0

# This Dockerfile contains multiple targets.
Expand Down
2 changes: 1 addition & 1 deletion build-scripts/prepare-release.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/usr/bin/env bash
# Copyright (c) HashiCorp, Inc.
# Copyright IBM Corp. 2022, 2026
# SPDX-License-Identifier: MPL-2.0

function sed_i {
Expand Down
2 changes: 1 addition & 1 deletion build-scripts/version.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/usr/bin/env bash
# Copyright (c) HashiCorp, Inc.
# Copyright IBM Corp. 2022, 2026
# SPDX-License-Identifier: MPL-2.0


Expand Down
2 changes: 1 addition & 1 deletion cmd/consul-dataplane/config.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) HashiCorp, Inc.
// Copyright IBM Corp. 2022, 2026
// SPDX-License-Identifier: MPL-2.0

package main
Expand Down
2 changes: 1 addition & 1 deletion cmd/consul-dataplane/config_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) HashiCorp, Inc.
// Copyright IBM Corp. 2022, 2026
// SPDX-License-Identifier: MPL-2.0

package main
Expand Down
2 changes: 1 addition & 1 deletion cmd/consul-dataplane/duration.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) HashiCorp, Inc.
// Copyright IBM Corp. 2022, 2026
// SPDX-License-Identifier: MPL-2.0

package main
Expand Down
2 changes: 1 addition & 1 deletion cmd/consul-dataplane/duration_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) HashiCorp, Inc.
// Copyright IBM Corp. 2022, 2026
// SPDX-License-Identifier: MPL-2.0

package main
Expand Down
2 changes: 1 addition & 1 deletion cmd/consul-dataplane/env.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) HashiCorp, Inc.
// Copyright IBM Corp. 2022, 2026
// SPDX-License-Identifier: MPL-2.0

package main
Expand Down
2 changes: 1 addition & 1 deletion cmd/consul-dataplane/flags.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) HashiCorp, Inc.
// Copyright IBM Corp. 2022, 2026
// SPDX-License-Identifier: MPL-2.0

package main
Expand Down
2 changes: 1 addition & 1 deletion cmd/consul-dataplane/main.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) HashiCorp, Inc.
// Copyright IBM Corp. 2022, 2026
// SPDX-License-Identifier: MPL-2.0

package main
Expand Down
2 changes: 2 additions & 0 deletions cmd/consul-dataplane/main_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright IBM Corp. 2022, 2026

package main

import (
Expand Down
2 changes: 1 addition & 1 deletion cmd/consul-dataplane/map_flag.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) HashiCorp, Inc.
// Copyright IBM Corp. 2022, 2026
// SPDX-License-Identifier: MPL-2.0

package main
Expand Down
2 changes: 1 addition & 1 deletion cmd/consul-dataplane/map_flag_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) HashiCorp, Inc.
// Copyright IBM Corp. 2022, 2026
// SPDX-License-Identifier: MPL-2.0

package main
Expand Down
2 changes: 1 addition & 1 deletion integration-tests/helpers/auth_method.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) HashiCorp, Inc.
// Copyright IBM Corp. 2022, 2026
// SPDX-License-Identifier: MPL-2.0

package helpers
Expand Down
2 changes: 1 addition & 1 deletion integration-tests/helpers/dataplane.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) HashiCorp, Inc.
// Copyright IBM Corp. 2022, 2026
// SPDX-License-Identifier: MPL-2.0

package helpers
Expand Down
2 changes: 1 addition & 1 deletion integration-tests/helpers/helpers.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) HashiCorp, Inc.
// Copyright IBM Corp. 2022, 2026
// SPDX-License-Identifier: MPL-2.0

package helpers
Expand Down
2 changes: 1 addition & 1 deletion integration-tests/helpers/pod.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) HashiCorp, Inc.
// Copyright IBM Corp. 2022, 2026
// SPDX-License-Identifier: MPL-2.0

package helpers
Expand Down
2 changes: 1 addition & 1 deletion integration-tests/helpers/server.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) HashiCorp, Inc.
// Copyright IBM Corp. 2022, 2026
// SPDX-License-Identifier: MPL-2.0

package helpers
Expand Down
2 changes: 1 addition & 1 deletion integration-tests/helpers/service.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) HashiCorp, Inc.
// Copyright IBM Corp. 2022, 2026
// SPDX-License-Identifier: MPL-2.0

package helpers
Expand Down
2 changes: 1 addition & 1 deletion integration-tests/helpers/suite.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) HashiCorp, Inc.
// Copyright IBM Corp. 2022, 2026
// SPDX-License-Identifier: MPL-2.0

package helpers
Expand Down
2 changes: 1 addition & 1 deletion integration-tests/helpers/tls.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) HashiCorp, Inc.
// Copyright IBM Corp. 2022, 2026
// SPDX-License-Identifier: MPL-2.0

package helpers
Expand Down
2 changes: 1 addition & 1 deletion integration-tests/main_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) HashiCorp, Inc.
// Copyright IBM Corp. 2022, 2026
// SPDX-License-Identifier: MPL-2.0

package integrationtests
Expand Down
2 changes: 1 addition & 1 deletion internal/bootstrap/bootstrap_config.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion internal/bootstrap/bootstrap_config_test.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion internal/bootstrap/bootstrap_tpl.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion internal/bootstrap/helpers_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) HashiCorp, Inc.
// Copyright IBM Corp. 2022, 2026
// SPDX-License-Identifier: MPL-2.0

package bootstrap
Expand Down
2 changes: 1 addition & 1 deletion pkg/consuldp/bootstrap.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) HashiCorp, Inc.
// Copyright IBM Corp. 2022, 2026
// SPDX-License-Identifier: MPL-2.0

package consuldp
Expand Down
2 changes: 1 addition & 1 deletion pkg/consuldp/bootstrap_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) HashiCorp, Inc.
// Copyright IBM Corp. 2022, 2026
// SPDX-License-Identifier: MPL-2.0

package consuldp
Expand Down
2 changes: 1 addition & 1 deletion pkg/consuldp/config.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) HashiCorp, Inc.
// Copyright IBM Corp. 2022, 2026
// SPDX-License-Identifier: MPL-2.0

package consuldp
Expand Down
2 changes: 1 addition & 1 deletion pkg/consuldp/config_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) HashiCorp, Inc.
// Copyright IBM Corp. 2022, 2026
// SPDX-License-Identifier: MPL-2.0

package consuldp
Expand Down
2 changes: 1 addition & 1 deletion pkg/consuldp/consul_dataplane.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) HashiCorp, Inc.
// Copyright IBM Corp. 2022, 2026
// SPDX-License-Identifier: MPL-2.0

package consuldp
Expand Down
2 changes: 1 addition & 1 deletion pkg/consuldp/consul_dataplane_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) HashiCorp, Inc.
// Copyright IBM Corp. 2022, 2026
// SPDX-License-Identifier: MPL-2.0

package consuldp
Expand Down
2 changes: 1 addition & 1 deletion pkg/consuldp/lifecycle.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) HashiCorp, Inc.
// Copyright IBM Corp. 2022, 2026
// SPDX-License-Identifier: MPL-2.0

package consuldp
Expand Down
2 changes: 1 addition & 1 deletion pkg/consuldp/metrics.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) HashiCorp, Inc.
// Copyright IBM Corp. 2022, 2026
// SPDX-License-Identifier: MPL-2.0

package consuldp
Expand Down
2 changes: 1 addition & 1 deletion pkg/consuldp/metrics_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) HashiCorp, Inc.
// Copyright IBM Corp. 2022, 2026
// SPDX-License-Identifier: MPL-2.0

package consuldp
Expand Down
2 changes: 1 addition & 1 deletion pkg/consuldp/stats.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) HashiCorp, Inc.
// Copyright IBM Corp. 2022, 2026
// SPDX-License-Identifier: MPL-2.0

package consuldp
Expand Down
2 changes: 1 addition & 1 deletion pkg/consuldp/xds.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) HashiCorp, Inc.
// Copyright IBM Corp. 2022, 2026
// SPDX-License-Identifier: MPL-2.0

package consuldp
Expand Down
2 changes: 1 addition & 1 deletion pkg/consuldp/xds_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) HashiCorp, Inc.
// Copyright IBM Corp. 2022, 2026
// SPDX-License-Identifier: MPL-2.0

package consuldp
Expand Down
2 changes: 1 addition & 1 deletion pkg/dns/.mockery.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) HashiCorp, Inc.
# Copyright IBM Corp. 2022, 2026
# SPDX-License-Identifier: MPL-2.0

with-expecter: true
Expand Down
2 changes: 1 addition & 1 deletion pkg/dns/dns.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) HashiCorp, Inc.
// Copyright IBM Corp. 2022, 2026
// SPDX-License-Identifier: MPL-2.0

package dns
Expand Down
2 changes: 1 addition & 1 deletion pkg/dns/dns_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) HashiCorp, Inc.
// Copyright IBM Corp. 2022, 2026
// SPDX-License-Identifier: MPL-2.0

package dns
Expand Down
2 changes: 1 addition & 1 deletion pkg/envoy/get_process_attr.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) HashiCorp, Inc.
// Copyright IBM Corp. 2022, 2026
// SPDX-License-Identifier: MPL-2.0

//go:build !windows
Expand Down
2 changes: 1 addition & 1 deletion pkg/envoy/get_process_attr_windows.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) HashiCorp, Inc.
// Copyright IBM Corp. 2022, 2026
// SPDX-License-Identifier: MPL-2.0

//go:build windows
Expand Down
2 changes: 1 addition & 1 deletion pkg/envoy/proxy.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) HashiCorp, Inc.
// Copyright IBM Corp. 2022, 2026
// SPDX-License-Identifier: MPL-2.0

package envoy
Expand Down
2 changes: 1 addition & 1 deletion pkg/envoy/proxy_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) HashiCorp, Inc.
// Copyright IBM Corp. 2022, 2026
// SPDX-License-Identifier: MPL-2.0

package envoy
Expand Down
2 changes: 1 addition & 1 deletion pkg/metrics-cache/metricscache.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) HashiCorp, Inc.
// Copyright IBM Corp. 2022, 2026
// SPDX-License-Identifier: MPL-2.0

package metricscache
Expand Down
2 changes: 1 addition & 1 deletion pkg/metrics-cache/metricscache_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) HashiCorp, Inc.
// Copyright IBM Corp. 2022, 2026
// SPDX-License-Identifier: MPL-2.0

package metricscache
Expand Down
2 changes: 1 addition & 1 deletion pkg/version/fips_build.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) HashiCorp, Inc.
// Copyright IBM Corp. 2022, 2026
// SPDX-License-Identifier: MPL-2.0

//go:build fips
Expand Down
2 changes: 1 addition & 1 deletion pkg/version/non_fips_build.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) HashiCorp, Inc.
// Copyright IBM Corp. 2022, 2026
// SPDX-License-Identifier: MPL-2.0

//go:build !fips
Expand Down
2 changes: 1 addition & 1 deletion pkg/version/version.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) HashiCorp, Inc.
// Copyright IBM Corp. 2022, 2026
// SPDX-License-Identifier: MPL-2.0

package version
Expand Down
2 changes: 1 addition & 1 deletion scan.hcl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) HashiCorp, Inc.
# Copyright IBM Corp. 2022, 2026
# SPDX-License-Identifier: MPL-2.0

# Configuration for security scanner.
Expand Down
Loading