Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/shikanon/default-rules
一个简单k8s自定义管理规则,比如基于命名空间设置亲和性,资源分配,边车注入等
https://github.com/shikanon/default-rules
Last synced: 3 days ago
JSON representation
一个简单k8s自定义管理规则,比如基于命名空间设置亲和性,资源分配,边车注入等
- Host: GitHub
- URL: https://github.com/shikanon/default-rules
- Owner: shikanon
- License: apache-2.0
- Created: 2022-04-02T07:01:02.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2022-04-18T15:01:40.000Z (almost 3 years ago)
- Last Synced: 2024-11-22T13:16:52.548Z (2 months ago)
- Language: Go
- Size: 54.7 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README-DEV.md
- License: LICENSE
Awesome Lists containing this project
README
controller-gen:
```bash
controller-gen "crd:trivialVersions=true,preserveUnknownFields=false" rbac:roleName=manager-role webhook paths="./..." output:crd:artifacts:config=config/crd/bases
``````bash
controller-gen object:headerFile="hack\\boilerplate.go.txt" paths="./..."
```## 测试工具
安装
```bash
go get github.com/onsi/ginkgo/ginkgo
```第一次创建:
```bash
ginkgo bootstrap
```运行: