Skip to content

Commit 3a474a1

Browse files
Release v1.6.0
Release v1.6.0
2 parents 954de60 + 5988598 commit 3a474a1

File tree

11 files changed

+1452
-1298
lines changed

11 files changed

+1452
-1298
lines changed

.circleci/config.yml

+6-7
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ jobs:
4444
- karto/front/build
4545
build-back:
4646
docker:
47-
- image: cimg/go:1.15.6
47+
- image: cimg/go:1.16
4848
working_directory: /home/circleci/karto
4949
steps:
5050
- attach_workspace:
@@ -61,8 +61,7 @@ jobs:
6161
working_directory: back
6262
name: Build backend
6363
command: |
64-
cp -R ../front/build frontendBuild
65-
go install github.com/markbates/pkger/cmd/pkger && pkger
64+
cp -R ../front/build/* exposition/frontend
6665
export CGO_ENABLED=0
6766
go build karto
6867
GOOS=darwin GOARCH=amd64 go build -o karto_darwin
@@ -94,16 +93,16 @@ jobs:
9493
command: |
9594
docker build -t zenikalabs/karto .
9695
docker tag zenikalabs/karto zenikalabs/karto:v1
97-
docker tag zenikalabs/karto zenikalabs/karto:v1.5
98-
docker tag zenikalabs/karto zenikalabs/karto:v1.5.0
96+
docker tag zenikalabs/karto zenikalabs/karto:v1.6
97+
docker tag zenikalabs/karto zenikalabs/karto:v1.6.0
9998
- run:
10099
name: Push docker image
101100
command: |
102101
echo "$DOCKER_PASS" | docker login --username $DOCKER_USER --password-stdin
103102
docker push zenikalabs/karto
104103
docker push zenikalabs/karto:v1
105-
docker push zenikalabs/karto:v1.5
106-
docker push zenikalabs/karto:v1.5.0
104+
docker push zenikalabs/karto:v1.6
105+
docker push zenikalabs/karto:v1.6.0
107106
workflows:
108107
version: 2
109108
build-test-and-deploy:

README.md

+14-12
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@
44

55
A simple static analysis tool to explore a Kubernetes cluster.
66

7+
![Latest release](https://img.shields.io/github/release/Zenika/karto.svg?style=flat-square&color=%235893DF)
8+
![Docker pulls](https://img.shields.io/docker/pulls/zenikalabs/karto?style=flat-square&color=%235893DF)
9+
![GitHub Downloads](https://img.shields.io/github/downloads/Zenika/karto/total?label=github%20downloads&style=flat-square&color=%235893DF)
10+
![Build Status](https://img.shields.io/circleci/build/github/Zenika/karto?style=flat-square&color=%235893DF)
11+
712
## Explore you cluster interactively!
813

914
![deployment-demo](docs/assets/exploring-demo.gif)
@@ -56,8 +61,8 @@ kubectl apply -f deploy/k8s.yml
5661
```
5762
This will:
5863
- create a `karto` namespace
59-
- create a `karto` service account with a role allowing to list all pods, namespaces and network
60-
policies in the cluster
64+
- create a `karto` service account with a role allowing to watch the resources displayed by Karto (namespaces, pods,
65+
network policies, services, deployments...)
6166
- deploy an instance of the application in this namespace with this service account
6267

6368
#### Exposition
@@ -93,14 +98,14 @@ Simply download the Karto binary from the [releases page](https://github.com/Zen
9398
### Prerequisites
9499

95100
The following tools must be available locally:
96-
- [Go](https://golang.org/doc/install) (tested with Go 1.15)
101+
- [Go](https://golang.org/doc/install) (tested with Go 1.16)
97102
- [NodeJS](https://nodejs.org/en/download/) (tested with NodeJS 14)
98103

99104
### Run the frontend in dev mode
100105

101106
In the `front` directory, execute:
102107
```shell script
103-
npm start
108+
yarn start
104109
```
105110
This will expose the app in dev mode on `localhost:3000` with a proxy to `localhost:8000` for the API calls.
106111

@@ -121,24 +126,21 @@ go test ./...
121126

122127
### Compile the go binary from source
123128

124-
In production mode, the frontend is packaged in the go binary using [pkger](https://github.com/markbates/pkger). In this
129+
In production mode, the frontend is packaged in the go binary using [embed](https://golang.org/pkg/embed/). In this
125130
configuration, the frontend is served on the `/` route and the API on the `/api` route.
126131

127132
To compile the Karto binary from source, first compile the frontend source code. In the `front` directory, execute:
128133
```shell script
129-
npm run build
134+
yarn build
130135
```
131136
This will generate a `build` directory in `front`.
132137

133-
Then, package it inside the backend:
138+
Then, make a copy in a directory visible by the backend module:
134139
```shell script
135-
cp -R front/build back/frontendBuild
136-
go install github.com/markbates/pkger/cmd/pkger
137-
pkger
140+
cp -R front/build/* back/exposition/frontend
138141
```
139-
This will generate a `pkged.go` file in `back` with a binary content equivalent to the generated `build` directory.
140142

141-
Finally, compile the go binary:
143+
Finally, compile the go binary in the `back` directory:
142144
```shell script
143145
go build karto
144146
```

back/.gitignore

-1
This file was deleted.

back/api/api.go back/exposition/exposition.go

+8-3
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,19 @@
1-
package api
1+
package exposition
22

33
import (
4+
"embed"
45
"encoding/json"
56
"fmt"
6-
"github.com/markbates/pkger"
7+
"io/fs"
78
"karto/types"
89
"log"
910
"net/http"
1011
"sync"
1112
)
1213

14+
//go:embed frontend
15+
var embeddedFrontend embed.FS
16+
1317
type handler struct {
1418
mutex sync.RWMutex
1519
lastAnalysisResult types.AnalysisResult
@@ -58,7 +62,8 @@ func healthCheck(w http.ResponseWriter, _ *http.Request) {
5862
}
5963

6064
func Expose(address string, resultsChannel <-chan types.AnalysisResult) {
61-
frontendHandler := http.FileServer(pkger.Dir("/frontendBuild"))
65+
frontendDir, _ := fs.Sub(embeddedFrontend, "frontend")
66+
frontendHandler := http.FileServer(http.FS(frontendDir))
6267
apiHandler := newHandler()
6368
go apiHandler.keepUpdated(resultsChannel)
6469
mux := http.NewServeMux()

back/api/api_test.go back/exposition/exposition_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package api
1+
package exposition
22

33
import (
44
"github.com/google/go-cmp/cmp"

back/exposition/frontend/index.html

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
<!doctype html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="utf-8">
5+
<title>Karto</title>
6+
</head>
7+
<body>
8+
<h1>This is a placeholder frontend</h1>
9+
<p>
10+
If you are in local dev mode, go to <a href="http://localhost:3000">http://localhost:3000</a> to access the
11+
frontend.
12+
</p>
13+
<p>
14+
Otherwise, you probably forgot to embed the frontend build in the go binary.
15+
</p>
16+
<p>
17+
Refer to the project's README for instructions on how to build Karto.
18+
</p>
19+
</body>
20+
</html>

back/go.mod

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
module karto
22

3-
go 1.15
3+
go 1.16
44

55
require (
66
github.com/google/go-cmp v0.5.4
7-
github.com/markbates/pkger v0.17.1
87
k8s.io/api v0.18.12
98
k8s.io/apimachinery v0.18.12
109
k8s.io/client-go v0.18.12

back/go.sum

+10-5
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ github.com/Azure/go-autorest/autorest/adal v0.5.0/go.mod h1:8Z9fGy2MpX0PvDjB1pEg
99
github.com/Azure/go-autorest/autorest/date v0.1.0 h1:YGrhWfrgtFs84+h0o46rJrlmsZtyZRg470CqAXTZaGM=
1010
github.com/Azure/go-autorest/autorest/date v0.1.0/go.mod h1:plvfp3oPSKwf2DNjlBjWF/7vwR+cUD/ELuzDCXwHUVA=
1111
github.com/Azure/go-autorest/autorest/mocks v0.1.0/go.mod h1:OTyCOPRA2IgIlWxVYxBee2F5Gr4kF2zd2J5cFRaIDN0=
12+
github.com/Azure/go-autorest/autorest/mocks v0.2.0 h1:Ww5g4zThfD/6cLb4z6xxgeyDa7QDkizMkJKe0ysZXp0=
1213
github.com/Azure/go-autorest/autorest/mocks v0.2.0/go.mod h1:OTyCOPRA2IgIlWxVYxBee2F5Gr4kF2zd2J5cFRaIDN0=
1314
github.com/Azure/go-autorest/logger v0.1.0 h1:ruG4BSDXONFRrZZJ2GUXDiUyVpayPmb1GnWeHDdaNKY=
1415
github.com/Azure/go-autorest/logger v0.1.0/go.mod h1:oExouG+K6PryycPJfVSxi/koC6LSNgds39diKLz7Vrc=
@@ -35,11 +36,10 @@ github.com/go-openapi/jsonpointer v0.0.0-20160704185906-46af16f9f7b1/go.mod h1:+
3536
github.com/go-openapi/jsonreference v0.0.0-20160704190145-13c6e3589ad9/go.mod h1:W3Z9FmVs9qj+KR4zFKmDPGiLdk1D9Rlm7cyMvf57TTg=
3637
github.com/go-openapi/spec v0.0.0-20160808142527-6aced65f8501/go.mod h1:J8+jY1nAiCcj+friV/PDoE1/3eeccG9LYBs0tYvLOWc=
3738
github.com/go-openapi/swag v0.0.0-20160704191624-1d0bd113de87/go.mod h1:DXUve3Dpr1UfpPtxFw+EFuQ41HhCWZfha5jSVRG7C7I=
38-
github.com/gobuffalo/here v0.6.0 h1:hYrd0a6gDmWxBM4TnrGw8mQg24iSVoIkHEk7FodQcBI=
39-
github.com/gobuffalo/here v0.6.0/go.mod h1:wAG085dHOYqUpf+Ap+WOdrPTp5IYcDAs/x7PLa8Y5fM=
4039
github.com/gogo/protobuf v1.3.1 h1:DqDEcV5aeaTmdFBePNpYsp3FlcVH/2ISVVM9Qf8PSls=
4140
github.com/gogo/protobuf v1.3.1/go.mod h1:SlYgWuQ5SjCEi6WLHjHCa1yvBfUnHcTbrrZtXPKa29o=
4241
github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b/go.mod h1:SBH7ygxi8pfUlaOkMMuAQtPIUF8ecWP5IEl/CR7VP2Q=
42+
github.com/golang/groupcache v0.0.0-20160516000752-02826c3e7903 h1:LbsanbbD6LieFkXbj9YNNBupiGHJgFeLpO0j0Fza1h8=
4343
github.com/golang/groupcache v0.0.0-20160516000752-02826c3e7903/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc=
4444
github.com/golang/mock v1.1.1/go.mod h1:oTYuIxOrZwtPieC+H1uAHpcLFnEyAGVDL/k47Jfbm0A=
4545
github.com/golang/mock v1.2.0/go.mod h1:oTYuIxOrZwtPieC+H1uAHpcLFnEyAGVDL/k47Jfbm0A=
@@ -58,6 +58,7 @@ github.com/google/gofuzz v1.1.0 h1:Hsa8mG0dQ46ij8Sl2AYJDUv1oA9/d6Vk+3LG99Oe02g=
5858
github.com/google/gofuzz v1.1.0/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg=
5959
github.com/google/martian v2.1.0+incompatible/go.mod h1:9I4somxYTbIHy5NJKHRl3wXiIaQGbYVAs8BPL6v8lEs=
6060
github.com/google/pprof v0.0.0-20181206194817-3ea8567a2e57/go.mod h1:zfwlbNMJ+OItoe0UupaVj+oy1omPYYDuagoSzA8v9mc=
61+
github.com/google/uuid v1.1.1 h1:Gkbcsh/GbpXz7lPftLA3P6TYMwjCLYm83jiFQZF/3gY=
6162
github.com/google/uuid v1.1.1/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo=
6263
github.com/googleapis/gax-go/v2 v2.0.4/go.mod h1:0Wqv26UfaUD9n4G6kQubkQ+KchISgw+vpHVxEJEs9eg=
6364
github.com/googleapis/gnostic v0.0.0-20170729233727-0c5108395e2d/go.mod h1:sJBsCZ4ayReDTBIg8b9dl28c5xFWyhBTVRp3pOg5EKY=
@@ -78,12 +79,12 @@ github.com/json-iterator/go v1.1.8/go.mod h1:KdQUCv79m/52Kvf8AW2vK1V8akMuk1QjK/u
7879
github.com/jstemmer/go-junit-report v0.0.0-20190106144839-af01ea7f8024/go.mod h1:6v2b51hI/fHJwM22ozAgKL4VKDeJcHhJFhtBdhmNjmU=
7980
github.com/kisielk/errcheck v1.2.0/go.mod h1:/BMXB+zMLi60iA8Vv6Ksmxu/1UDYcXs4uQLJ+jE2L00=
8081
github.com/kisielk/gotool v1.0.0/go.mod h1:XhKaO+MFFWcvkIS/tQcRk01m1F5IRFswLeQ+oQHNcck=
82+
github.com/kr/pretty v0.1.0 h1:L/CwN0zerZDmRFUapSPitk6f+Q3+0za1rQkzVuMiMFI=
8183
github.com/kr/pretty v0.1.0/go.mod h1:dAy3ld7l9f0ibDNOQOHHMYYIIbhfbHSm3C4ZsoJORNo=
8284
github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ=
85+
github.com/kr/text v0.1.0 h1:45sCR5RtlFHMR4UwH9sdQ5TC8v0qDQCHnXt+kaKSTVE=
8386
github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI=
8487
github.com/mailru/easyjson v0.0.0-20160728113105-d5b7844b561a/go.mod h1:C1wdFJiN94OJF2b5HbByQZoLdCWB1Yqtg26g4irojpc=
85-
github.com/markbates/pkger v0.17.1 h1:/MKEtWqtc0mZvu9OinB9UzVN9iYCwLWuyUv4Bw+PCno=
86-
github.com/markbates/pkger v0.17.1/go.mod h1:0JoVlrol20BSywW79rN3kdFFsE5xYM+rSCQDXbLhiuI=
8788
github.com/modern-go/concurrent v0.0.0-20180228061459-e0a39a4cb421/go.mod h1:6dJC0mAP4ikYIbvyc7fijjWJddQyLn8Ig3JB5CqoB9Q=
8889
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd h1:TRLaZ9cD/w8PVh93nsPXa1VrQ6jlwL5oN8l14QlcNfg=
8990
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd/go.mod h1:6dJC0mAP4ikYIbvyc7fijjWJddQyLn8Ig3JB5CqoB9Q=
@@ -99,13 +100,15 @@ github.com/onsi/gomega v0.0.0-20170829124025-dcabb60a477c/go.mod h1:C1qb7wdrVGGV
99100
github.com/onsi/gomega v1.7.0/go.mod h1:ex+gbHU/CVuBBDIJjb2X0qEXbFg53c61hWP/1CpauHY=
100101
github.com/peterbourgon/diskv v2.0.1+incompatible/go.mod h1:uqqh8zWWbv1HBMNONnaR/tNboyR3/BZd58JJSHlUSCU=
101102
github.com/pkg/errors v0.8.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0=
103+
github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
102104
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
103105
github.com/spf13/afero v1.2.2/go.mod h1:9ZxEEn6pIJ8Rxe320qSDBk6AsU0r9pR7Q4OcevTdifk=
104106
github.com/spf13/pflag v0.0.0-20170130214245-9ff6c6923cff/go.mod h1:DYY7MBk1bdzusC3SYhjObp+wFpr4gzcvqqNjLnInEg4=
105107
github.com/spf13/pflag v1.0.5 h1:iy+VFUOCP1a+8yFto/drg2CJ5u0yRoB7fZw3DKv/JXA=
106108
github.com/spf13/pflag v1.0.5/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg=
107109
github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
108110
github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI=
111+
github.com/stretchr/testify v1.4.0 h1:2E4SXV/wtOkTonXsotYi4li6zVWxYlZuYNCXe9XRJyk=
109112
github.com/stretchr/testify v1.4.0/go.mod h1:j7eGeouHqKxXV5pUuKE4zz7dFj8WfuZ+81PSLYec5m4=
110113
go.opencensus.io v0.21.0/go.mod h1:mSImk1erAIZhrmZN+AvHh14ztQfjbGwt4TtuofqLduU=
111114
golang.org/x/crypto v0.0.0-20190211182817-74369b46fc67/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4=
@@ -156,24 +159,26 @@ golang.org/x/tools v0.0.0-20181030221726-6c7e314b6563/go.mod h1:n7NCudcB/nEzxVGm
156159
golang.org/x/tools v0.0.0-20190114222345-bf090417da8b/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ=
157160
golang.org/x/tools v0.0.0-20190226205152-f727befe758c/go.mod h1:9Yl7xja0Znq3iFh3HoIrodX9oNMXvdceNzlUR8zjMvY=
158161
golang.org/x/tools v0.0.0-20190312170243-e65039ee4138/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs=
162+
golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4=
159163
golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
160164
google.golang.org/api v0.4.0/go.mod h1:8k5glujaEP+g9n7WNsDg8QP6cUVNI86fCNMcbazEtwE=
161165
google.golang.org/appengine v1.1.0/go.mod h1:EbEs0AVv82hx2wNQdGPgUI5lhzA/G0D9YwlJXL52JkM=
162166
google.golang.org/appengine v1.4.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4=
167+
google.golang.org/appengine v1.5.0 h1:KxkO13IPW4Lslp2bz+KHP2E3gtFlrIGNThxkZQ3g+4c=
163168
google.golang.org/appengine v1.5.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4=
164169
google.golang.org/genproto v0.0.0-20180817151627-c66870c02cf8/go.mod h1:JiN7NxoALGmiZfu7CAH4rXhgtRTLTxftemlI0sWmxmc=
165170
google.golang.org/genproto v0.0.0-20190307195333-5fe7a883aa19/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE=
166171
google.golang.org/genproto v0.0.0-20190418145605-e7d98fc518a7/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE=
167172
google.golang.org/grpc v1.19.0/go.mod h1:mqu4LbDTu4XGKhr4mRzUsmM4RtVoemTSY81AxZiDr8c=
168173
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
174+
gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127 h1:qIbj1fsPNlZgppZ+VLlY7N33q108Sa+fhmuc+sWQYwY=
169175
gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
170176
gopkg.in/fsnotify.v1 v1.4.7/go.mod h1:Tz8NjZHkW78fSQdbUxIjBTcgA1z1m8ZHf0WmKUhAMys=
171177
gopkg.in/inf.v0 v0.9.1 h1:73M5CoZyi3ZLMOyDlQh031Cx6N9NDJ2Vvfl76EDAgDc=
172178
gopkg.in/inf.v0 v0.9.1/go.mod h1:cWUDdTG/fYaXco+Dcufb5Vnc6Gp2YChqWtbxRZE0mXw=
173179
gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7/go.mod h1:dt/ZhP58zS4L8KSrWDmTeBkI65Dw0HsyUHuEVlX15mw=
174180
gopkg.in/yaml.v2 v2.2.1/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI=
175181
gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI=
176-
gopkg.in/yaml.v2 v2.2.7/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI=
177182
gopkg.in/yaml.v2 v2.2.8 h1:obN1ZagJSUGI0Ek/LBmuj4SNLPfIny3KsKFopxRdj10=
178183
gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI=
179184
honnef.co/go/tools v0.0.0-20190102054323-c2f93a96b099/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4=

back/main.go

+3-3
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,14 @@ package main
33
import (
44
"flag"
55
"fmt"
6-
"karto/api"
76
"karto/clusterlistener"
7+
"karto/exposition"
88
"karto/types"
99
"os"
1010
"path/filepath"
1111
)
1212

13-
const version = "1.5.0"
13+
const version = "1.6.0"
1414

1515
func main() {
1616
versionFlag, k8sConfigPath := parseCmd()
@@ -24,7 +24,7 @@ func main() {
2424
clusterStateChannel := make(chan types.ClusterState)
2525
go clusterlistener.Listen(k8sConfigPath, clusterStateChannel)
2626
go analysisScheduler.AnalyzeOnClusterStateChange(clusterStateChannel, analysisResultsChannel)
27-
api.Expose(":8000", analysisResultsChannel)
27+
exposition.Expose(":8000", analysisResultsChannel)
2828
}
2929

3030
func parseCmd() (bool, string) {

front/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "karto",
3-
"version": "1.5.0",
3+
"version": "1.6.0",
44
"private": true,
55
"dependencies": {
66
"@material-ui/core": "4.11.2",

0 commit comments

Comments
 (0)