curl -L https://github.com/kubeshop/helm-charts/releases/download/testkube-1.13.15/testkube-1.13.15.tgz -o testkube-1.13.15.tgz
tar xvfz testkube-1.13.15.tgz
curl -L https://github.com/kubeshop/helm-charts/releases/download/testkube-operator-1.13.0/testkube-operator-1.13.0.tgz -o testkube-operator-1.13.0.tgz
tar xvfz testkube-operator-1.13.0.tgz
diff testkube/charts/testkube-operator/Chart.yaml testkube-operator/Chart.yaml
diff -r testkube-operator testkube/charts/testkube-operator
and here we are explaining to our bosses where all the time went today.
diff -r testkube-operator/Chart.lock testkube/charts/testkube-operator/Chart.lock
6c6
< generated: "2023-07-07T09:45:22.604201587Z"
---
> generated: "2023-07-25T13:52:21.978016984Z"
diff -r testkube-operator/templates/deployment.yaml testkube/charts/testkube-operator/templates/deployment.yaml
25a26,32
> {{- if .Values.global.labels }}
> {{- include "global.tplvalues.render" ( dict "value" .Values.global.labels "context" $ ) | nindent 8 }}
> {{- end }}
> {{- with .Values.podAnnotations }}
> annotations:
> {{- toYaml . | nindent 8 }}
> {{- end }}
diff -r testkube-operator/templates/executor.testkube.io_webhooks.yaml testkube/charts/testkube-operator/templates/executor.testkube.io_webhooks.yaml
53a54,58
> headers:
> additionalProperties:
> type: string
> description: webhook headers
> type: object
56a62,64
> type: string
> payloadTemplate:
> description: golang based template for notification payload
diff -r testkube-operator/templates/pre-upgrade-sa.yaml testkube/charts/testkube-operator/templates/pre-upgrade-sa.yaml
13d12
< ---
14a14
> ---
29d28
< ---
30a30
> ---
diff -r testkube-operator/templates/role.yaml testkube/charts/testkube-operator/templates/role.yaml
324,325d323
< ---
<
326a325
> ---
373c372
< {{- end -}}
\ No newline at end of file
---
> {{- end -}}
diff -r testkube-operator/templates/rolebinding.yaml testkube/charts/testkube-operator/templates/rolebinding.yaml
94,95d93
< ---
<
96a95
> ---
124,125c123
< {{- end -}}
<
---
> {{- end -}}
diff -r testkube-operator/templates/serviceaccount.yaml testkube/charts/testkube-operator/templates/serviceaccount.yaml
20d19
< ---
22a22
> ---
44c44
< {{- end }}
---
> {{- end }}
diff -r testkube-operator/templates/tests.testkube.io_tests.yaml testkube/charts/testkube-operator/templates/tests.testkube.io_tests.yaml
391,393d390
< namespace:
< description: object kubernetes namespace
< type: string
418,420d414
< namespace:
< description: object kubernetes namespace
< type: string
431c425,431
< description: test type
---
> description: |
> type of sources a runner can get data from.
> string: String content (e.g. Postman JSON file).
> file-uri: content stored on the webserver.
> git-file: the file stored in the Git repo in the given repository.path field.
> git-dir: the entire git repo or git subdirectory depending on the repository.path field (Testkube does a shadow clone and sparse checkout to limit IOs in the case of monorepos)
> git: automatically provisions either a file, directory or whole git repository depending on the repository.path field
592a593,595
> postRunScript:
> description: script to run after test execution
> type: string
595c598
< type: string
---
> type: string
diff -r testkube-operator/templates/tests.testkube.io_testsources.yaml testkube/charts/testkube-operator/templates/tests.testkube.io_testsources.yaml
70,72d69
< namespace:
< description: object kubernetes namespace
< type: string
96,98d92
< type: string
< namespace:
< description: object kubernetes namespace
diff -r testkube-operator/templates/tests.testkube.io_testsuites.yaml testkube/charts/testkube-operator/templates/tests.testkube.io_testsuites.yaml
544a545,814
> storage: false
> subresources:
> status: {}
> - name: v3
> schema:
> openAPIV3Schema:
> description: TestSuite is the Schema for the testsuites API
> properties:
> apiVersion:
> description: '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'
> type: string
> kind:
> description: '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'
> type: string
> metadata:
> type: object
> spec:
> description: TestSuiteSpec defines the desired state of TestSuite
> properties:
> after:
> description: After batch steps is list of batch tests which will be
> sequentially orchestrated for parallel tests in each batch
> items:
> description: set of steps run in parallel
> properties:
> execute:
> items:
> description: TestSuiteStepSpec for particular type will have
> config for possible step types
> properties:
> delay:
> description: delay duration in time units
> format: duration
> type: string
> test:
> description: object name
> type: string
> type: object
> type: array
> stopOnFailure:
> type: boolean
> required:
> - stopOnFailure
> type: object
> type: array
> before:
> description: Before batch steps is list of batch tests which will
> be sequentially orchestrated for parallel tests in each batch
> items:
> description: set of steps run in parallel
> properties:
> execute:
> items:
> description: TestSuiteStepSpec for particular type will have
> config for possible step types
> properties:
> delay:
> description: delay duration in time units
> format: duration
> type: string
> test:
> description: object name
> type: string
> type: object
> type: array
> stopOnFailure:
> type: boolean
> required:
> - stopOnFailure
> type: object
> type: array
> description:
> type: string
> executionRequest:
> description: test suite execution request body
> properties:
> cronJobTemplate:
> description: cron job template extensions
> type: string
> executionLabels:
> additionalProperties:
> type: string
> description: execution labels
> type: object
> httpProxy:
> description: http proxy for executor containers
> type: string
> httpsProxy:
> description: https proxy for executor containers
> type: string
> labels:
> additionalProperties:
> type: string
> description: test suite labels
> type: object
> name:
> description: test execution custom name
> type: string
> namespace:
> description: test kubernetes namespace (\"testkube\" when not
> set)
> type: string
> secretUUID:
> description: secret uuid
> type: string
> sync:
> description: whether to start execution sync or async
> type: boolean
> timeout:
> description: timeout for test suite execution
> format: int32
> type: integer
> variables:
> additionalProperties:
> properties:
> name:
> description: variable name
> type: string
> type:
> description: variable type
> type: string
> value:
> description: variable string value
> type: string
> valueFrom:
> description: or load it from var source
> properties:
> configMapKeyRef:
> description: Selects a key of a ConfigMap.
> properties:
> key:
> description: The key to select.
> type: string
> name:
> description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
> TODO: Add other useful fields. apiVersion, kind,
> uid?'
> type: string
> optional:
> description: Specify whether the ConfigMap or its
> key must be defined
> type: boolean
> required:
> - key
> type: object
> fieldRef:
> description: 'Selects a field of the pod: supports metadata.name,
> metadata.namespace, `metadata.labels[''<KEY>'']`,
> `metadata.annotations[''<KEY>'']`, spec.nodeName,
> spec.serviceAccountName, status.hostIP, status.podIP,
> status.podIPs.'
> properties:
> apiVersion:
> description: Version of the schema the FieldPath
> is written in terms of, defaults to "v1".
> type: string
> fieldPath:
> description: Path of the field to select in the
> specified API version.
> type: string
> required:
> - fieldPath
> type: object
> resourceFieldRef:
> description: 'Selects a resource of the container: only
> resources limits and requests (limits.cpu, limits.memory,
> limits.ephemeral-storage, requests.cpu, requests.memory
> and requests.ephemeral-storage) are currently supported.'
> properties:
> containerName:
> description: 'Container name: required for volumes,
> optional for env vars'
> type: string
> divisor:
> anyOf:
> - type: integer
> - type: string
> description: Specifies the output format of the
> exposed resources, defaults to "1"
> pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
> x-kubernetes-int-or-string: true
> resource:
> description: 'Required: resource to select'
> type: string
> required:
> - resource
> type: object
> secretKeyRef:
> description: Selects a key of a secret in the pod's
> namespace
> properties:
> key:
> description: The key of the secret to select from. Must
> be a valid secret key.
> type: string
> name:
> description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
> TODO: Add other useful fields. apiVersion, kind,
> uid?'
> type: string
> optional:
> description: Specify whether the Secret or its key
> must be defined
> type: boolean
> required:
> - key
> type: object
> type: object
> type: object
> type: object
> type: object
> repeats:
> type: integer
> schedule:
> description: schedule in cron job format for scheduled test execution
> type: string
> steps:
> description: Batch steps is list of batch tests which will be sequentially
> orchestrated for parallel tests in each batch
> items:
> description: set of steps run in parallel
> properties:
> execute:
> items:
> description: TestSuiteStepSpec for particular type will have
> config for possible step types
> properties:
> delay:
> description: delay duration in time units
> format: duration
> type: string
> test:
> description: object name
> type: string
> type: object
> type: array
> stopOnFailure:
> type: boolean
> required:
> - stopOnFailure
> type: object
> type: array
> type: object
> status:
> description: TestSuiteStatus defines the observed state of TestSuite
> properties:
> latestExecution:
> description: latest execution result
> properties:
> endTime:
> description: test suite execution end time
> format: date-time
> type: string
> id:
> description: execution id
> type: string
> startTime:
> description: test suite execution start time
> format: date-time
> type: string
> status:
> type: string
> type: object
> type: object
> type: object
> served: true
diff -r testkube-operator/templates/tests.testkube.io_testtriggers.yaml testkube/charts/testkube-operator/templates/tests.testkube.io_testtriggers.yaml
89a90,94
> delay:
> description: duration in seconds the test trigger waits between
> condition check
> format: int32
> type: integer
118a124,166
> probeSpec:
> description: What resource probes should be matched
> properties:
> delay:
> description: duration in seconds the test trigger waits between
> probes
> format: int32
> type: integer
> probes:
> description: list of test trigger probes
> items:
> description: TestTriggerProbe is used for definition of the
> probe for test triggers
> properties:
> headers:
> additionalProperties:
> type: string
> description: test trigger condition probe headers to submit
> type: object
> host:
> description: test trigger condition probe host, default
> is pod ip or service name
> type: string
> path:
> description: test trigger condition probe path to check,
> default is /
> type: string
> port:
> description: test trigger condition probe port to connect
> format: int32
> type: integer
> scheme:
> description: test trigger condition probe scheme to connect
> to host, default is http
> type: string
> type: object
> type: array
> timeout:
> description: duration in seconds the test trigger waits for probes,
> until its stopped
> format: int32
> type: integer
> type: object
diff -r testkube-operator/values.yaml testkube/charts/testkube-operator/values.yaml
5a6
> ## Important! Please, note that this will override sub-chart image parameters.
26a28,30
> ## Additional pod annotations to Testkube Operator pod
> podAnnotations: {}
>
290c294
< registry: k8s.gcr.io
---
> registry: registry.k8s.io