TestSource
tests.testkube.io / v1
apiVersion: tests.testkube.io/v1
kind: TestSource
metadata:
name: example
apiVersion
string
APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
kind
string
Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
metadata
object
spec object
TestSourceSpec defines the desired state of TestSource
data
string
test content body
repository object
repository of test content
authType
string
auth type for git requests
enum:
basic, header
branch
string
branch/tag name for checkout
certificateSecret
string
git auth certificate secret for private repositories
commit
string
commit id (sha) for checkout
path
string
If specified, does a sparse checkout of the repository at the given path
tokenSecret object
SecretRef is the Testkube internal reference for secret storage in Kubernetes secrets
key
string required
object key
name
string required
object name
type
string required
VCS repository type
uri
string required
uri of content file or git directory
usernameSecret object
SecretRef is the Testkube internal reference for secret storage in Kubernetes secrets
key
string required
object key
name
string required
object name
workingDir
string
if provided we checkout the whole repository and run test from this directory
type
string
enum:
string, file-uri, git-file, git-dir, git
uri
string
uri of test content
status
object
TestSourceStatus defines the observed state of TestSource
No matches. Try .spec.data for an exact path