-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
239 changed files
with
5,409 additions
and
8,148 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,7 +19,7 @@ jobs: | |
- name: Setup Go | ||
uses: actions/setup-go@v5 | ||
with: | ||
go-version: '1.22' | ||
go-version-file: ./go.mod | ||
- name: Setup goimports | ||
run: go install golang.org/x/tools/cmd/[email protected] | ||
- name: Check go.mod and go.sum | ||
|
@@ -31,27 +31,24 @@ jobs: | |
- name: Run vet check | ||
run: go vet ./... | ||
- name: Run linters | ||
uses: golangci/golangci-lint-action@v5 | ||
uses: golangci/golangci-lint-action@v6 | ||
with: | ||
version: v1.54.2 | ||
skip-pkg-cache: true | ||
|
||
unit-tests: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
go: ['1.22'] | ||
steps: | ||
- name: set up go 1.x | ||
uses: actions/setup-go@v5 | ||
with: | ||
go-version: ${{ matrix.go }} | ||
- name: setup tparse | ||
run: go install github.com/mfridman/tparse@latest | ||
- name: checkout | ||
uses: actions/checkout@v4 | ||
with: | ||
fetch-tags: true | ||
- name: set up go | ||
uses: actions/setup-go@v5 | ||
with: | ||
go-version-file: ./go.mod | ||
- name: setup tparse | ||
run: go install github.com/mfridman/tparse@latest | ||
- name: run build | ||
run: make build | ||
- name: run unit tests | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,9 +8,6 @@ on: | |
jobs: | ||
e2e-connectivity-test: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
go: ['1.22'] | ||
|
||
steps: | ||
- name: checkout | ||
|
@@ -20,7 +17,7 @@ jobs: | |
- name: Set up Go | ||
uses: actions/setup-go@v5 | ||
with: | ||
go-version: ${{ matrix.go }} | ||
go-version-file: ./go.mod | ||
- name: Install kind | ||
uses: helm/[email protected] | ||
with: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -46,7 +46,7 @@ linters: | |
- nakedret | ||
- nestif | ||
- nilerr | ||
# - nilnil | ||
- nilnil | ||
# - noctx | ||
- nolintlint | ||
- nonamedreturns | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
# Security policy | ||
|
||
Thank you for your interest in the security of the ClusterLink project. | ||
We created this project with security in mind - enabling simple, performant | ||
**and** secure communication across boundaries in the hybrid cloud. | ||
|
||
We are in the **alpha** phase of this project and do not yet recommend using | ||
ClusterLink in production. However, we would welcome your contributions to the | ||
code base and/or documentation including pointing out potential security issues | ||
so that collectively we can create a solid, robust solution that continuously | ||
improves. | ||
|
||
## Security bulletins | ||
|
||
For information regarding the security of this project please join the | ||
[users mailing list][]. | ||
|
||
## Reporting a vulnerability | ||
|
||
We're extremely grateful for security researchers and users that report | ||
vulnerabilities to the ClusterLink Open Source Community. All reports | ||
are thoroughly investigated by a set of community volunteers. | ||
|
||
We use [GitHub private vulnerability reporting][] for ClusterLink. Private vulnerability | ||
reporting provides an easy way for vulnerability reporters to privately disclose | ||
security risks to repository maintainers, within GitHub, and in a way that immediately | ||
notifies the repository maintainers of the issue. | ||
|
||
You will receive a reply from one of the maintainers within a week, acknowledging receipt | ||
of the vulnerability report. You may be contacted to discuss the reported item further. | ||
Please bear with us as we seek to understand the breadth and scope of the reported | ||
problem, recreate it, and confirm if there is a vulnerability present. | ||
|
||
### When Should I Report a Vulnerability? | ||
|
||
- You think you discovered a potential security vulnerability in ClusterLink | ||
components or features | ||
- You are unsure how a vulnerability affects ClusterLink | ||
- You think you discovered a vulnerability in another project that ClusterLink | ||
depends on. For projects with their own vulnerability reporting and disclosure | ||
process, please report the vulnerability directly there. | ||
|
||
### When Should I NOT Report a Vulnerability? | ||
|
||
- You need help tuning ClusterLink components for security (e.g., advice and help | ||
on setting access control policies for specific use cases) | ||
- You need help applying security related updates | ||
- Your issue is not security related | ||
|
||
[users mailing list]: https://groups.google.com/g/clusterlink-users | ||
[GitHub private vulnerability reporting]: https://github.com/clusterlink-net/clusterlink/security/advisories/new |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.