-
Notifications
You must be signed in to change notification settings - Fork 85
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #7 from daemon1024/prep-release
Prepare for release
- Loading branch information
Showing
6 changed files
with
470 additions
and
3 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
name: goreleaser | ||
|
||
on: | ||
push: | ||
tags: | ||
- '*' | ||
|
||
permissions: | ||
contents: write | ||
|
||
jobs: | ||
goreleaser: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- | ||
name: Checkout | ||
uses: actions/checkout@v2 | ||
with: | ||
fetch-depth: 0 | ||
- | ||
name: Set up Go | ||
uses: actions/setup-go@v2 | ||
with: | ||
go-version: 1.17 | ||
- | ||
name: Run GoReleaser | ||
uses: goreleaser/goreleaser-action@v2 | ||
with: | ||
distribution: goreleaser | ||
version: latest | ||
args: release --rm-dist | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
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,14 @@ | ||
project_name: karmor | ||
|
||
builds: | ||
- binary: karmor | ||
goos: | ||
- darwin | ||
- linux | ||
- windows | ||
goarch: | ||
- amd64 | ||
- arm64 | ||
ldflags: -w -s -X github.com/kubearmor/kubearmor-client/version.BuildDate={{.Date}} -X github.com/kubearmor/kubearmor-client/version.GitSummary={{.Version}} | ||
env: | ||
- CGO_ENABLED=0 |
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 |
---|---|---|
@@ -1 +1,41 @@ | ||
# KubeArmor-Client | ||
# kArmor | ||
|
||
**kArmor** is a CLI client to help manage [KubeArmor](github.com/kubearmor/KubeArmor) | ||
|
||
KubeArmor is a container-aware runtime security enforcement system that | ||
restricts the behavior (such as process execution, file access, and networking | ||
operation) of containers at the system level. | ||
|
||
## Installation | ||
|
||
``` | ||
curl -sfL https://raw.githubusercontent.com/kubearmor/kubearmor-client/main/install.sh | sh | ||
``` | ||
|
||
To build and install, clone the repository and | ||
``` | ||
make install | ||
``` | ||
|
||
## Usage | ||
|
||
``` | ||
CLI Utility to help manage KubeArmor | ||
Usage: | ||
karmor [command] | ||
Available Commands: | ||
completion generate the autocompletion script for the specified shell | ||
get Display specified resources | ||
help Help about any command | ||
install Install KubeArmor in a Kubernetes Cluster | ||
log Observe Logs from KubeArmor | ||
uninstall Uninstall KubeArmor from a Kubernetes Cluster | ||
version Display version information | ||
Flags: | ||
-h, --help help for karmor | ||
Use "karmor [command] --help" for more information about a command. | ||
``` |
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.