Skip to content

Commit d887065

Browse files
author
Apostolos Lazidis
committed
chore: add license and rename source file
1 parent 480055b commit d887065

26 files changed

+325
-25
lines changed

Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,15 @@ WORKDIR /app
88

99
RUN chown -R gouser:gouser /app
1010

11-
COPY src/go.mod src/go.sum ./
11+
COPY pkg/go.mod pkg/go.sum ./
1212

1313
# Download Go module dependencies
1414
RUN go mod download
1515

16-
COPY ./src ./src
16+
COPY ./pkg ./pkg
1717

1818
USER gouser
19-
WORKDIR /app/src
19+
WORKDIR /app/pkg
2020
RUN go build -o /app/kube-netlag
2121

2222
FROM ubuntu:24.10

README.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
2929
- [**Latency Metrics**](#latency-metrics)
3030
- [**Example Prometheus Query**](#example-prometheus-query)
3131
- [**Contributing**](#contributing)
32+
- [**Disclaimer**](#disclaimer)
3233
- [**License**](#license)
3334
- [**Author**](#author)
3435

@@ -199,9 +200,14 @@ Contributions are welcome! To report issues or request features:
199200
- Open an issue on GitHub.
200201
- Submit a pull request with improvements.
201202

203+
# Disclaimer
204+
205+
Kube-NetLag is **not an official Kubernetes project** and is not affiliated with or endorsed by the **Cloud Native Computing Foundation (CNCF)** or Kubernetes.
206+
202207
# License
203208

204-
cd
209+
Kube-NetLag is licensed under the **Apache 2.0 License**. See the [LICENSE](./LICENSE) file for details.
210+
205211
# Author
206212

207213
- Apostolos Lazidis 🚀

helm/Chart.yaml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,17 @@
1+
# Copyright 2024 Apostolos Lazidis
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.
14+
115
apiVersion: v2
216
name: kube-netlag
317
description: A Helm chart for Kube-NetLag

helm/templates/cluster-role-binding.yaml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,17 @@
1+
# Copyright 2024 Apostolos Lazidis
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.
14+
---
115
apiVersion: rbac.authorization.k8s.io/v1
216
kind: ClusterRoleBinding
317
metadata:

helm/templates/clusterrole.yaml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,17 @@
1+
# Copyright 2024 Apostolos Lazidis
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.
14+
---
115
apiVersion: rbac.authorization.k8s.io/v1
216
kind: ClusterRole
317
metadata:

helm/templates/daemonset.yaml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,17 @@
1+
# Copyright 2024 Apostolos Lazidis
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.
14+
---
115
apiVersion: apps/v1
216
kind: DaemonSet
317
metadata:

helm/templates/prom-metrics-config.yaml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,17 @@
1+
# Copyright 2024 Apostolos Lazidis
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.
14+
---
115
{{- if .Values.prometheusConfig.create -}}
216
apiVersion: v1
317
kind: ConfigMap

helm/templates/serviceaccount.yaml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,17 @@
1+
# Copyright 2024 Apostolos Lazidis
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.
14+
---
115
apiVersion: v1
216
kind: ServiceAccount
317
metadata:

helm/values.yaml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,17 @@
1+
# Copyright 2024 Apostolos Lazidis
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.
14+
115
## Default values for Kube-NetLag
216
## This is a YAML-formatted file.
317
## Declare variables to be passed into your templates.

manifests/cluster-role-binding.yaml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,17 @@
1+
# Copyright 2024 Apostolos Lazidis
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.
14+
---
115
apiVersion: rbac.authorization.k8s.io/v1
216
kind: ClusterRoleBinding
317
metadata:

0 commit comments

Comments
 (0)