Skip to content

Commit

Permalink
Release/1.2.9 (#278)
Browse files Browse the repository at this point in the history
* support sls sink for external labels.

* fix markdown bug

* fix external bug with deep copy

* fix mysql sink with wrong table name

* refine mysql sink README.md

* 修复,当event没有形成series时,只有eventTimestamp字段,无first、lastTimestamp,会造成如FailedScheduling等单次事件记录时无时间戳情况。

* refine elasticsearch readme for index define

* webhook debug log

* update makefile go mod vendor

* update makefile for go mod tidy

* update dockerfile golang 1.20.7

* when a event is a series, event ObjectMeta.UID is not unique.

* fix webhook sink with wrong event timestamp
  • Loading branch information
KeyOfSpectator authored Aug 30, 2023
1 parent f43e7c8 commit 3c70ea5
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ fmt:
find . -type f -name "*.go" | grep -v "./vendor*" | xargs gofmt -s -w

build: clean
go mod tidy & go mod vendor
GOARCH=$(ARCH) CGO_ENABLED=0 go build -ldflags "$(KUBE_EVENTER_LDFLAGS)" -o kube-eventer github.com/AliyunContainerService/kube-eventer

sanitize:
Expand Down
2 changes: 1 addition & 1 deletion deploy/Dockerfile.multi
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM --platform=$BUILDPLATFORM golang:1.17 AS build-env
FROM --platform=$BUILDPLATFORM golang:1.20.7 AS build-env
ARG TARGETPLATFORM
ARG BUILDPLATFORM
ARG BUILDARCH
Expand Down
1 change: 0 additions & 1 deletion docs/en/mysql-sink.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ create table k8s_event
kind varchar(64) not null default '' comment 'event kind' ,
first_occurrence_time varchar(64) not null default '' comment 'event first occurrence time',
last_occurrence_time varchar(64) not null default '' comment 'event last occurrence time',
unique index event_id_index (event_id)
) ENGINE = InnoDB default CHARSET = utf8 comment ='Event info tables';
```

Expand Down

0 comments on commit 3c70ea5

Please sign in to comment.