Skip to content

Commit 03e4da9

Browse files
committed
merge main
2 parents 3981a95 + 8101267 commit 03e4da9

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

53 files changed

+3306
-1231
lines changed

.github/workflows/check.yaml

+15-15
Original file line numberDiff line numberDiff line change
@@ -128,21 +128,21 @@ jobs:
128128

129129
# The TruffleHog OSS Github Action can be used to scan a range of commits for leaked credentials. The action will fail if any results are found.
130130
# More see: https://github.com/marketplace/actions/trufflehog-oss
131-
SecretScan:
132-
name: Secret Scan
133-
runs-on: ubuntu-latest
134-
steps:
135-
- name: Checkout
136-
uses: actions/checkout@v3
137-
with:
138-
fetch-depth: 0
139-
- name: TruffleHog OSS
140-
uses: trufflesecurity/trufflehog@main
141-
with:
142-
path: ./
143-
base: ${{ github.event.repository.default_branch }}
144-
head: HEAD
145-
extra_args: --debug --json
131+
# SecretScan:
132+
# name: Secret Scan
133+
# runs-on: ubuntu-latest
134+
# steps:
135+
# - name: Checkout
136+
# uses: actions/checkout@v3
137+
# with:
138+
# fetch-depth: 0
139+
# - name: TruffleHog OSS
140+
# uses: trufflesecurity/trufflehog@main
141+
# with:
142+
# #path: ./
143+
# #base: ${{ github.event.repository.default_branch }}
144+
# #head: HEAD
145+
# extra_args: --debug --json --only-verified
146146

147147
# TODO: Uncomment when the repository is publicly.
148148
# DependencyReview:

.github/workflows/cla.yaml

+39
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
name: "CLA Assistant"
2+
on:
3+
issue_comment:
4+
types: [created]
5+
pull_request_target:
6+
types: [opened,closed,synchronize]
7+
8+
jobs:
9+
CLAssistant:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: "CLA Assistant"
13+
if: (github.event.comment.body == 'recheck' || github.event.comment.body == 'I have read the CLA Document and I hereby sign the CLA') || github.event_name == 'pull_request_target'
14+
uses: contributor-assistant/[email protected]
15+
env:
16+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
17+
# the below token should have repo scope and must be manually added by you in the repository's secret
18+
PERSONAL_ACCESS_TOKEN : ${{ secrets.KUSIONSTACK_BOT_TOKEN }}
19+
with:
20+
path-to-document: 'https://github.com/KusionStack/.github/blob/main/CLA.md' # e.g. a CLA or a DCO document
21+
22+
# branch should not be protected
23+
lock-pullrequest-aftermerge: True
24+
path-to-signatures: 'signatures/version1/cla.json'
25+
remote-organization-name: KusionStack
26+
remote-repository-name: cla.db
27+
branch: 'main'
28+
allowlist: bot*
29+
30+
#below are the optional inputs - If the optional inputs are not given, then default values will be taken
31+
#remote-organization-name: enter the remote organization name where the signatures should be stored (Default is storing the signatures in the same repository)
32+
#remote-repository-name: enter the remote repository name where the signatures should be stored (Default is storing the signatures in the same repository)
33+
#create-file-commit-message: 'For example: Creating file for storing CLA Signatures'
34+
#signed-commit-message: 'For example: $contributorName has signed the CLA in #$pullRequestNo'
35+
#custom-notsigned-prcomment: 'pull request comment with Introductory message to ask new contributors to sign'
36+
#custom-pr-sign-comment: 'The signature to be committed in order to sign the CLA'
37+
#custom-allsigned-prcomment: 'pull request comment when all contributors has signed, defaults to **CLA Assistant Lite bot** All Contributors have signed the CLA.'
38+
#lock-pullrequest-aftermerge: false - if you don't want this bot to automatically lock the pull request after merging (default - true)
39+
#use-dco-flag: true - If you are using DCO instead of CLA

buf.gen.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@ version: v1
55
# default: github.com/kusionstack/kridge/api/gen
66
plugins:
77
# Remote plugins
8-
- plugin: buf.build/protocolbuffers/go
8+
- plugin: buf.build/protocolbuffers/go:v1.32.0
99
out: .
1010
opt: paths=source_relative
11-
- plugin: buf.build/connectrpc/go
11+
- plugin: buf.build/connectrpc/go:v1.14.0
1212
out: .
1313
opt: paths=source_relative
1414
# Local plugins:

go.mod

+3-3
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ module github.com/KusionStack/controller-mesh
33
go 1.20
44

55
require (
6-
connectrpc.com/connect v1.13.0
6+
connectrpc.com/connect v1.14.0
77
github.com/go-logr/zapr v1.2.3
88
github.com/onsi/ginkgo v1.16.5
99
github.com/onsi/gomega v1.24.1
@@ -14,8 +14,9 @@ require (
1414
golang.org/x/sync v0.1.0
1515
golang.org/x/time v0.3.0
1616
gomodules.xyz/jsonpatch/v2 v2.2.0
17+
google.golang.org/genproto v0.0.0-20220502173005-c8bf987b8c21
1718
google.golang.org/grpc v1.49.0
18-
google.golang.org/protobuf v1.31.0
19+
google.golang.org/protobuf v1.32.0
1920
gopkg.in/natefinch/lumberjack.v2 v2.0.0
2021
k8s.io/api v0.26.1
2122
k8s.io/apimachinery v0.26.1
@@ -102,7 +103,6 @@ require (
102103
golang.org/x/text v0.13.0 // indirect
103104
golang.org/x/tools v0.6.0 // indirect
104105
google.golang.org/appengine v1.6.7 // indirect
105-
google.golang.org/genproto v0.0.0-20220502173005-c8bf987b8c21 // indirect
106106
gopkg.in/inf.v0 v0.9.1 // indirect
107107
gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 // indirect
108108
gopkg.in/yaml.v2 v2.4.0 // indirect

go.sum

+4-6
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,8 @@ cloud.google.com/go/storage v1.5.0/go.mod h1:tpKbwo567HUNpVclU5sGELwQWBDZ8gh0Zeo
3131
cloud.google.com/go/storage v1.6.0/go.mod h1:N7U0C8pVQ/+NIKOBQyamJIeKQKkZ+mxpohlUTyfDhBk=
3232
cloud.google.com/go/storage v1.8.0/go.mod h1:Wv1Oy7z6Yz3DshWRJFhqM/UCfaWIRTdp0RXyy7KQOVs=
3333
cloud.google.com/go/storage v1.10.0/go.mod h1:FLPqc6j+Ki4BU591ie1oL6qBQGu2Bl/tZ9ullr3+Kg0=
34-
connectrpc.com/connect v1.11.1 h1:dqRwblixqkVh+OFBOOL1yIf1jS/yP0MSJLijRj29bFg=
35-
connectrpc.com/connect v1.11.1/go.mod h1:3AGaO6RRGMx5IKFfqbe3hvK1NqLosFNP2BxDYTPmNPo=
36-
connectrpc.com/connect v1.13.0 h1:lGs5maZZzWOOD+PFFiOt5OncKmMsk9ZdPwpy5jcmaYg=
37-
connectrpc.com/connect v1.13.0/go.mod h1:uHAFHtYgeSZJxXrkN1IunDpKghnTXhYbVh0wW4StPW0=
34+
connectrpc.com/connect v1.14.0 h1:PDS+J7uoz5Oui2VEOMcfz6Qft7opQM9hPiKvtGC01pA=
35+
connectrpc.com/connect v1.14.0/go.mod h1:uoAq5bmhhn43TwhaKdGKN/bZcGtzPW1v+ngDTn5u+8s=
3836
dmitri.shuralyov.com/gpu/mtl v0.0.0-20190408044501-666a987793e9/go.mod h1:H6x//7gZCb22OMCxBHrMx7a5I7Hp++hsVxbQ4BYO7hU=
3937
github.com/BurntSushi/toml v0.3.1 h1:WXkYYl6Yr3qBf1K79EBnL4mak0OimBfB0XUf9Vl28OQ=
4038
github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU=
@@ -727,8 +725,8 @@ google.golang.org/protobuf v1.26.0-rc.1/go.mod h1:jlhhOSvTdKEhbULTjvd4ARK9grFBp0
727725
google.golang.org/protobuf v1.26.0/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQnmE0givc=
728726
google.golang.org/protobuf v1.27.1/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQnmE0givc=
729727
google.golang.org/protobuf v1.28.0/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I=
730-
google.golang.org/protobuf v1.31.0 h1:g0LDEJHgrBl9N9r17Ru3sqWhkIx2NB67okBHPwC7hs8=
731-
google.golang.org/protobuf v1.31.0/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I=
728+
google.golang.org/protobuf v1.32.0 h1:pPC6BG5ex8PDFnkbrGU3EixyhKcQ2aDuBS36lqK/C7I=
729+
google.golang.org/protobuf v1.32.0/go.mod h1:c6P6GXX6sHbq/GpV6MGZEdwhWPcYBgnhAHhKbcUYpos=
732730
gopkg.in/alecthomas/kingpin.v2 v2.2.6/go.mod h1:FMv+mEhP44yOT+4EoQTLFTRgOQ1FBLkstjWtayDeSgw=
733731
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
734732
gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=

vendor/connectrpc.com/connect/connect.go

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/connectrpc.com/connect/error_writer.go

+55-23
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/connectrpc.com/connect/internal/gen/connectext/grpc/status/v1/status.pb.go

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/google.golang.org/protobuf/compiler/protogen/protogen.go

+13-13
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)