https://github.com/erda-project/erda-sourcecov
https://github.com/erda-project/erda-sourcecov
Last synced: 8 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/erda-project/erda-sourcecov
- Owner: erda-project
- License: apache-2.0
- Created: 2021-10-21T08:16:26.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2023-03-07T02:06:26.000Z (over 3 years ago)
- Last Synced: 2024-06-19T23:55:03.592Z (almost 2 years ago)
- Language: Go
- Size: 660 KB
- Stars: 0
- Watchers: 12
- Forks: 4
- Open Issues: 2
-
Metadata Files:
- Readme: Readme.md
- License: LICENSE
Awesome Lists containing this project
README
# Sourcecov
Sourcecov is a Kubernetes operator to manage Sourcecov Agent which collected coverage data from application during e2e test.
It requires the following edit permissions in k8s:
- role.authorization.k8s.io
- rolebinding.rbac.authorization.k8s.io
- serviceAccounts
- pods
- pods/exec
- statefulset.apps
### Generate manifests
`make print-manifests`
### Sample CR
A sample cr:
```yaml
apiVersion: sourcecov.erda.cloud/v1alpha1
kind: Agent
metadata:
name: agent-sample
spec:
image: nginx:stable
env:
- name: KEY
value: value
storageClassName: alicloud-disk-efficiency
storageSize: 20Gi
resources:
limits:
cpu: "0.1"
memory: "256Mi"
requests:
cpu: "0.1"
memory: "256Mi"
```