erda-sourcecov

command module
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 21, 2021 License: Apache-2.0 Imports: 11 Imported by: 0

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:

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"

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
agent module
api
v1alpha1
Package v1alpha1 contains API Schema definitions for the sourcecov v1alpha1 API group +kubebuilder:object:generate=true +groupName=sourcecov.erda.cloud
Package v1alpha1 contains API Schema definitions for the sourcecov v1alpha1 API group +kubebuilder:object:generate=true +groupName=sourcecov.erda.cloud

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL