Skip to content

Commit 8d2363e

Browse files
committed
add license headers
1 parent 144fb4b commit 8d2363e

17 files changed

+46
-7
lines changed

.dockerignore

-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
11
db/
2-
32
.vscode
4-
53
bin/

.github/workflows/checks.yml

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# Copyright 2019 SolarWinds Worldwide, LLC.
2+
# SPDX-License-Identifier: Apache-2.0
3+
14
name: rkubelog
25
on:
36
push:

.github/workflows/docker.yaml

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# Copyright 2019 SolarWinds Worldwide, LLC.
2+
# SPDX-License-Identifier: Apache-2.0
3+
14
name: Build Release Docker Image
25

36
on:

.gitignore

-4
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
11
run.sh
2-
32
.vscode
4-
53
bin/
6-
74
db/
8-
95
*.config

Dockerfile

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# Copyright 2019 SolarWinds Worldwide, LLC.
2+
# SPDX-License-Identifier: Apache-2.0
3+
14
FROM golang:1.15.0-alpine as main
25
RUN apk update && apk add --no-cache git ca-certificates wget && update-ca-certificates
36
RUN wget -O /etc/ssl/certs/papertrail-bundle.pem https://papertrailapp.com/tools/papertrail-bundle.pem

Makefile

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# Copyright 2019 SolarWinds Worldwide, LLC.
2+
# SPDX-License-Identifier: Apache-2.0
3+
14
lint:
25
docker run --rm -v $(PWD):/app -w /app golangci/golangci-lint:v1.27.0 golangci-lint run --allow-parallel-runners --timeout 3m ./...
36

kustomization.yaml

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# Copyright 2019 SolarWinds Worldwide, LLC.
2+
# SPDX-License-Identifier: Apache-2.0
3+
14
apiVersion: kustomize.config.k8s.io/v1beta1
25
kind: Kustomization
36

logging-config-patch.yaml

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
1+
# Copyright 2019 SolarWinds Worldwide, LLC.
2+
# SPDX-License-Identifier: Apache-2.0
3+
14
# This is the system tag in the syslog msgs sent to PT
25
- op: add
36
path: /spec/template/spec/containers/0/args
4-
value: ["swing"]
7+
value: ["rkubelog"]
58

69
# Put your Papertrail & Loggly config here
710
- op: add

logshipper/loggly.go

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// Copyright 2019 SolarWinds Worldwide, LLC.
2+
// SPDX-License-Identifier: Apache-2.0
3+
14
package logshipper
25

36
import (

logshipper/models.go

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// Copyright 2019 SolarWinds Worldwide, LLC.
2+
// SPDX-License-Identifier: Apache-2.0
3+
14
// Package logshipper contains all the log shippers
25
package logshipper
36

logshipper/papertrail.go

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// Copyright 2019 SolarWinds Worldwide, LLC.
2+
// SPDX-License-Identifier: Apache-2.0
3+
14
package logshipper
25

36
import (

main.go

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// Copyright 2019 SolarWinds Worldwide, LLC.
2+
// SPDX-License-Identifier: Apache-2.0
3+
14
package main
25

36
import (

namespace-binding-config.yaml

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# Copyright 2019 SolarWinds Worldwide, LLC.
2+
# SPDX-License-Identifier: Apache-2.0
3+
14
# Change this if you've changed the namespace in kustomize
25
- op: replace
36
path: /subjects/0/namespace

rkubelog/clusterrole.yaml

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# Copyright 2019 SolarWinds Worldwide, LLC.
2+
# SPDX-License-Identifier: Apache-2.0
3+
14
apiVersion: rbac.authorization.k8s.io/v1
25
kind: ClusterRole
36
metadata:

rkubelog/clusterrolebinding.yaml

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# Copyright 2019 SolarWinds Worldwide, LLC.
2+
# SPDX-License-Identifier: Apache-2.0
3+
14
apiVersion: v1
25
kind: ServiceAccount
36
metadata:

rkubelog/deployment.yaml

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# Copyright 2019 SolarWinds Worldwide, LLC.
2+
# SPDX-License-Identifier: Apache-2.0
3+
14
apiVersion: apps/v1
25
kind: Deployment
36
metadata:

rkubelog/kustomization.yaml

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# Copyright 2019 SolarWinds Worldwide, LLC.
2+
# SPDX-License-Identifier: Apache-2.0
3+
14
apiVersion: kustomize.config.k8s.io/v1beta1
25
kind: Kustomization
36

0 commit comments

Comments
 (0)