Skip to content

Commit

Permalink
chore: update links after moving to new repo
Browse files Browse the repository at this point in the history
  • Loading branch information
andylibrian committed Sep 26, 2021
1 parent 147f15d commit 66113e2
Show file tree
Hide file tree
Showing 43 changed files with 97 additions and 104 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/charts.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ jobs:
set +e
IMAGE_EXIST=$(sudo docker manifest inspect ghcr.io/devopstoday11/tarian-server:$APP_VERSION_TAG > /dev/null 2>&1)$?
IMAGE_EXIST=$(sudo docker manifest inspect ghcr.io/kube-tarian/tarian-server:$APP_VERSION_TAG > /dev/null 2>&1)$?
if [ $IMAGE_EXIST -gt 0 ]; then
CONDITIONAL_SERVER_IMAGE_TAG="--set server.image.tag=latest"
CONDITIONAL_CLUSTER_AGENT_IMAGE_TAG="--set clusterAgent.image.tag=latest --set webhook.podAgentContainerImage.tag=latest"
Expand Down
2 changes: 1 addition & 1 deletion PROJECT
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ domain: k8s.tarian.dev
layout:
- go.kubebuilder.io/v3
projectName: tarian
repo: github.com/devopstoday11/tarian
repo: github.com/kube-tarian/tarian
version: "3"
18 changes: 9 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@

#

[![Build status](https://img.shields.io/github/workflow/status/devopstoday11/tarian/CI?style=flat)](https://github.com/devopstoday11/tarian/actions)
[![Go Report Card](https://goreportcard.com/badge/github.com/devopstoday11/tarian)](https://goreportcard.com/report/github.com/devopstoday11/tarian)
[![Build status](https://img.shields.io/github/workflow/status/kube-tarian/tarian/CI?style=flat)](https://github.com/kube-tarian/tarian/actions)
[![Go Report Card](https://goreportcard.com/badge/github.com/kube-tarian/tarian)](https://goreportcard.com/report/github.com/kube-tarian/tarian)

#

Expand All @@ -34,7 +34,7 @@ Why another new security tool when there are many tools available already, like
#### Architecture diagram
> I will finalize the design diagram soon once I finish talking to some security experts (I already talked to few, and have few more discussions pending).
![Arch. Diagram](https://github.com/devopstoday11/tarian/blob/5eeed9a0bd5875e6cee423d2d12161a3f7d2d84c/Kube-Tarian.svg)
![Arch. Diagram](https://github.com/kube-tarian/tarian/blob/5eeed9a0bd5875e6cee423d2d12161a3f7d2d84c/Kube-Tarian.svg)

#

Expand All @@ -58,7 +58,7 @@ helm install tarian-postgresql bitnami/postgresql -n tarian-system \
3. Install tarian

```bash
helm repo add tarian https://devopstoday11.github.io/tarian
helm repo add tarian https://kube-tarian.github.io/tarian
helm repo update

helm install tarian-server tarian/tarian-server --devel -n tarian-system
Expand All @@ -80,14 +80,14 @@ kubectl exec -ti deploy/tarian-server -n tarian-system -- ./tarian-server db mig
## Configuration

See helm chart values for
- [tarian-server](https://github.com/devopstoday11/tarian/blob/main/charts/tarian-server/values.yaml)
- [tarian-cluster-agent](https://github.com/devopstoday11/tarian/blob/main/charts/tarian-cluster-agent/values.yaml)
- [tarian-server](https://github.com/kube-tarian/tarian/blob/main/charts/tarian-server/values.yaml)
- [tarian-cluster-agent](https://github.com/kube-tarian/tarian/blob/main/charts/tarian-cluster-agent/values.yaml)

## Usage

### Use tarianctl to control tarian-server

1. Download from Github [release page](https://github.com/devopstoday11/tarian/releases/download/v0.0.3-alpha3/tarian_0.0.3-alpha3_linux_amd64.tar.gz)
1. Download from Github [release page](https://github.com/kube-tarian/tarian/releases/download/v0.0.3-alpha3/tarian_0.0.3-alpha3_linux_amd64.tar.gz)
2. Extract the file and copy tarianctl to your PATH directory
3. Expose tarian-server to your machine, through Ingress or port-forward. For this example, we'll use port-forward:

Expand Down Expand Up @@ -149,8 +149,8 @@ accessible with `tarianctl get events`.
### Demo: Try a pod that violates the constraints

```bash
kubectl apply -f https://raw.githubusercontent.com/devopstoday11/tarian/main/dev/config/monitored-pod/configmap.yaml
kubectl apply -f https://raw.githubusercontent.com/devopstoday11/tarian/main/dev/config/monitored-pod/pod.yaml
kubectl apply -f https://raw.githubusercontent.com/kube-tarian/tarian/main/dev/config/monitored-pod/configmap.yaml
kubectl apply -f https://raw.githubusercontent.com/kube-tarian/tarian/main/dev/config/monitored-pod/pod.yaml

# wait for it to become ready
kubectl wait --for=condition=ready pod nginx
Expand Down
4 changes: 2 additions & 2 deletions charts/tarian-cluster-agent/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ keywords:
- tarian
- antivirus-software
- kube-tarian
home: https://github.com/devopstoday11/tarian
home: https://github.com/kube-tarian/tarian
sources:
- https://github.com/devopstoday11/tarian
- https://github.com/kube-tarian/tarian
maintainers:
- name: devopstoday11
- name: andylibrian
4 changes: 2 additions & 2 deletions charts/tarian-cluster-agent/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ clusterAgent:
encoding: json
level: info
image:
name: ghcr.io/devopstoday11/tarian-cluster-agent
name: ghcr.io/kube-tarian/tarian-cluster-agent
# empty = default to app version
tag:
serverAddress: tarian-server:80
Expand All @@ -18,6 +18,6 @@ clusterAgent:
webhook:
failurePolicy: Ignore
podAgentContainerImage:
name: ghcr.io/devopstoday11/tarian-pod-agent
name: ghcr.io/kube-tarian/tarian-pod-agent
# empty = default to app version
tag:
4 changes: 2 additions & 2 deletions charts/tarian-server/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ keywords:
- tarian
- antivirus-software
- kube-tarian
home: https://github.com/devopstoday11/tarian
home: https://github.com/kube-tarian/tarian
sources:
- https://github.com/devopstoday11/tarian
- https://github.com/kube-tarian/tarian
maintainers:
- name: devopstoday11
- name: andylibrian
2 changes: 1 addition & 1 deletion charts/tarian-server/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ server:
encoding: json
level: info
image:
name: ghcr.io/devopstoday11/tarian-server
name: ghcr.io/kube-tarian/tarian-server
# empty = default to app version
tag:
alert:
Expand Down
6 changes: 3 additions & 3 deletions cmd/tarian-cluster-agent/tarian-cluster-agent.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ import (
"os/signal"
"syscall"

"github.com/devopstoday11/tarian/pkg/clusteragent"
"github.com/devopstoday11/tarian/pkg/clusteragent/webhookserver"
"github.com/devopstoday11/tarian/pkg/logger"
"github.com/go-logr/zapr"
"github.com/kube-tarian/tarian/pkg/clusteragent"
"github.com/kube-tarian/tarian/pkg/clusteragent/webhookserver"
"github.com/kube-tarian/tarian/pkg/logger"
cli "github.com/urfave/cli/v2"
"go.uber.org/zap"
"google.golang.org/grpc"
Expand Down
6 changes: 3 additions & 3 deletions cmd/tarian-pod-agent/tarian-pod-agent.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ import (
"syscall"
"time"

"github.com/devopstoday11/tarian/pkg/logger"
"github.com/devopstoday11/tarian/pkg/podagent"
"github.com/devopstoday11/tarian/pkg/tarianpb"
"github.com/kube-tarian/tarian/pkg/logger"
"github.com/kube-tarian/tarian/pkg/podagent"
"github.com/kube-tarian/tarian/pkg/tarianpb"
cli "github.com/urfave/cli/v2"
)

Expand Down
8 changes: 4 additions & 4 deletions cmd/tarian-server/tarian-server.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ import (
"syscall"
"time"

"github.com/devopstoday11/tarian/pkg/logger"
"github.com/devopstoday11/tarian/pkg/server"
"github.com/devopstoday11/tarian/pkg/server/dbstore"
"github.com/devopstoday11/tarian/pkg/tarianpb"
"github.com/kube-tarian/tarian/pkg/logger"
"github.com/kube-tarian/tarian/pkg/server"
"github.com/kube-tarian/tarian/pkg/server/dbstore"
"github.com/kube-tarian/tarian/pkg/tarianpb"
cli "github.com/urfave/cli/v2"

"github.com/kelseyhightower/envconfig"
Expand Down
10 changes: 5 additions & 5 deletions cmd/tarianctl/tarianctl.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ import (
"log"
"os"

"github.com/devopstoday11/tarian/pkg/tarianctl/cmd"
"github.com/devopstoday11/tarian/pkg/tarianctl/cmd/add"
"github.com/devopstoday11/tarian/pkg/tarianctl/cmd/get"
"github.com/devopstoday11/tarian/pkg/tarianctl/cmd/importcmd"
"github.com/devopstoday11/tarian/pkg/tarianctl/cmd/remove"
"github.com/kube-tarian/tarian/pkg/tarianctl/cmd"
"github.com/kube-tarian/tarian/pkg/tarianctl/cmd/add"
"github.com/kube-tarian/tarian/pkg/tarianctl/cmd/get"
"github.com/kube-tarian/tarian/pkg/tarianctl/cmd/importcmd"
"github.com/kube-tarian/tarian/pkg/tarianctl/cmd/remove"
cli "github.com/urfave/cli/v2"
)

Expand Down
2 changes: 1 addition & 1 deletion ct.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ target-branch: main
chart-dirs:
- charts
# chart-repos:
# - tarian=https://devopstoday11.github.io/tarian
# - tarian=https://kube-tarian.github.io/tarian
helm-extra-args: --timeout 600s
7 changes: 0 additions & 7 deletions dev/easypki.env

This file was deleted.

2 changes: 1 addition & 1 deletion docs/falco-integration.md
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ helm upgrade -i falco falcosecurity/falco -n falco -f falco-values.yaml
### Install Tarian server and Tarian cluster agent

```bash
helm repo add tarian https://devopstoday11.github.io/tarian
helm repo add tarian https://kube-tarian.github.io/tarian
helm repo update

helm install tarian-postgresql bitnami/postgresql -n tarian-system \
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module github.com/devopstoday11/tarian
module github.com/kube-tarian/tarian

go 1.17

Expand Down
2 changes: 1 addition & 1 deletion pkg/clusteragent/clusteragent.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package clusteragent

import (
"github.com/devopstoday11/tarian/pkg/tarianpb"
falcoclient "github.com/falcosecurity/client-go/pkg/client"
"github.com/kube-tarian/tarian/pkg/tarianpb"
"google.golang.org/grpc"
)

Expand Down
2 changes: 1 addition & 1 deletion pkg/clusteragent/falco_alerts_subscriber.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ import (
"context"
"time"

"github.com/devopstoday11/tarian/pkg/tarianpb"
"github.com/falcosecurity/client-go/pkg/api/outputs"
"github.com/falcosecurity/client-go/pkg/client"
"github.com/kube-tarian/tarian/pkg/tarianpb"
"google.golang.org/grpc"
"google.golang.org/protobuf/types/known/timestamppb"
)
Expand Down
2 changes: 1 addition & 1 deletion pkg/clusteragent/grpc_servers.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import (
"context"
"time"

"github.com/devopstoday11/tarian/pkg/tarianpb"
"github.com/gogo/status"
"github.com/kube-tarian/tarian/pkg/tarianpb"
"go.uber.org/zap"
"google.golang.org/grpc"
"google.golang.org/grpc/codes"
Expand Down
2 changes: 1 addition & 1 deletion pkg/podagent/podagent.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import (
"sync"
"time"

"github.com/devopstoday11/tarian/pkg/tarianpb"
"github.com/kube-tarian/tarian/pkg/tarianpb"
psutil "github.com/shirou/gopsutil/process"
"go.uber.org/zap"
"google.golang.org/grpc"
Expand Down
2 changes: 1 addition & 1 deletion pkg/podagent/podagent_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package podagent
import (
"testing"

"github.com/devopstoday11/tarian/pkg/tarianpb"
"github.com/kube-tarian/tarian/pkg/tarianpb"
"github.com/stretchr/testify/assert"
)

Expand Down
4 changes: 2 additions & 2 deletions pkg/server/alert_dispatcher.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ import (
"strings"
"time"

"github.com/devopstoday11/tarian/pkg/store"
"github.com/devopstoday11/tarian/pkg/tarianpb"
"github.com/go-openapi/strfmt"
"github.com/kube-tarian/tarian/pkg/store"
"github.com/kube-tarian/tarian/pkg/tarianpb"
"github.com/prometheus/alertmanager/api/v2/client"
"github.com/prometheus/alertmanager/api/v2/client/alert"
"github.com/prometheus/alertmanager/api/v2/models"
Expand Down
6 changes: 3 additions & 3 deletions pkg/server/config_server.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ package server
import (
"context"

"github.com/devopstoday11/tarian/pkg/server/dbstore"
"github.com/devopstoday11/tarian/pkg/store"
"github.com/devopstoday11/tarian/pkg/tarianpb"
"github.com/gogo/status"
"github.com/kube-tarian/tarian/pkg/server/dbstore"
"github.com/kube-tarian/tarian/pkg/store"
"github.com/kube-tarian/tarian/pkg/tarianpb"
"google.golang.org/grpc/codes"

"github.com/scylladb/go-set/strset"
Expand Down
2 changes: 1 addition & 1 deletion pkg/server/dbstore/db_constraint_store.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import (
"context"
"encoding/json"

"github.com/devopstoday11/tarian/pkg/tarianpb"
"github.com/driftprogramming/pgxpoolmock"
"github.com/kube-tarian/tarian/pkg/tarianpb"

"github.com/jackc/pgx/v4/pgxpool"
)
Expand Down
2 changes: 1 addition & 1 deletion pkg/server/dbstore/db_event_store.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ import (
"encoding/json"
"time"

"github.com/devopstoday11/tarian/pkg/tarianpb"
"github.com/driftprogramming/pgxpoolmock"
"github.com/kube-tarian/tarian/pkg/tarianpb"
uuid "github.com/satori/go.uuid"
"google.golang.org/protobuf/types/known/timestamppb"

Expand Down
6 changes: 3 additions & 3 deletions pkg/server/event_server.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ package server
import (
"context"

"github.com/devopstoday11/tarian/pkg/server/dbstore"
"github.com/devopstoday11/tarian/pkg/store"
"github.com/devopstoday11/tarian/pkg/tarianpb"
"github.com/gogo/status"
"github.com/kube-tarian/tarian/pkg/server/dbstore"
"github.com/kube-tarian/tarian/pkg/store"
"github.com/kube-tarian/tarian/pkg/tarianpb"
"google.golang.org/grpc/codes"
"google.golang.org/protobuf/types/known/timestamppb"
)
Expand Down
4 changes: 2 additions & 2 deletions pkg/server/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ import (
"net/url"
"time"

"github.com/devopstoday11/tarian/pkg/server/dbstore"
"github.com/devopstoday11/tarian/pkg/tarianpb"
"github.com/kube-tarian/tarian/pkg/server/dbstore"
"github.com/kube-tarian/tarian/pkg/tarianpb"
"go.uber.org/zap"
"google.golang.org/grpc"
"google.golang.org/grpc/credentials"
Expand Down
2 changes: 1 addition & 1 deletion pkg/store/constraint_store.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package store

import "github.com/devopstoday11/tarian/pkg/tarianpb"
import "github.com/kube-tarian/tarian/pkg/tarianpb"

type ConstraintStore interface {
GetAll() ([]*tarianpb.Constraint, error)
Expand Down
2 changes: 1 addition & 1 deletion pkg/store/event_store.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package store

import "github.com/devopstoday11/tarian/pkg/tarianpb"
import "github.com/kube-tarian/tarian/pkg/tarianpb"

type EventStore interface {
GetAll(limit uint) ([]*tarianpb.Event, error)
Expand Down
2 changes: 1 addition & 1 deletion pkg/tarianctl/client/client.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package client

import (
"github.com/devopstoday11/tarian/pkg/tarianpb"
"github.com/kube-tarian/tarian/pkg/tarianpb"
"google.golang.org/grpc"
)

Expand Down
8 changes: 4 additions & 4 deletions pkg/tarianctl/cmd/add/constraints.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ import (
"strings"
"time"

"github.com/devopstoday11/tarian/pkg/logger"
"github.com/devopstoday11/tarian/pkg/tarianctl/client"
"github.com/devopstoday11/tarian/pkg/tarianctl/util"
"github.com/devopstoday11/tarian/pkg/tarianpb"
"github.com/kube-tarian/tarian/pkg/logger"
"github.com/kube-tarian/tarian/pkg/tarianctl/client"
"github.com/kube-tarian/tarian/pkg/tarianctl/util"
"github.com/kube-tarian/tarian/pkg/tarianpb"
cli "github.com/urfave/cli/v2"
"go.uber.org/zap"
"gopkg.in/yaml.v3"
Expand Down
8 changes: 4 additions & 4 deletions pkg/tarianctl/cmd/get/constraints.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ import (
"os"
"strings"

"github.com/devopstoday11/tarian/pkg/logger"
"github.com/devopstoday11/tarian/pkg/tarianctl/client"
"github.com/devopstoday11/tarian/pkg/tarianctl/util"
"github.com/devopstoday11/tarian/pkg/tarianpb"
"github.com/kube-tarian/tarian/pkg/logger"
"github.com/kube-tarian/tarian/pkg/tarianctl/client"
"github.com/kube-tarian/tarian/pkg/tarianctl/util"
"github.com/kube-tarian/tarian/pkg/tarianpb"
"github.com/olekukonko/tablewriter"
cli "github.com/urfave/cli/v2"
"gopkg.in/yaml.v3"
Expand Down
2 changes: 1 addition & 1 deletion pkg/tarianctl/cmd/get/constraints_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package get
import (
"testing"

"github.com/devopstoday11/tarian/pkg/tarianpb"
"github.com/kube-tarian/tarian/pkg/tarianpb"
"github.com/stretchr/testify/assert"
)

Expand Down
Loading

0 comments on commit 66113e2

Please sign in to comment.