Abstract

API Documentation for the Argo Chart unit tests.

Unit tests for Helm Charts.#

This is the index for the API documentation for this chart’s unit tests.

hpa test#

suite

HPA Test Suite


Tests to validate the hpa configuration.

suite: test for hpa
release:
  name: argo-cd
values:
- ../values.yaml
tests

HPA Tests


Tests for Deployment Template

tests:
- it: should be an hpa
  set:
    autoscaling.enabled: true
  asserts:
  - isKind:
      of: HorizontalPodAutoscaler
  - equal:
      path: apiVersion
      value: autoscaling/v2
  - matchSnapshot:
      path: metadata

ingress test#

suite

Ingress Test Suite


Tests to validate the deployment of the Ingress.

suite: test for ingress
release:
  name: argocd
values:
- ../values.yaml
tests

Ingress Tests


Tests for Ingress Template

tests:
- it: should be a Ingress
  asserts:
  - isKind:
      of: Ingress
  - matchSnapshot: {}

pvc test#

suite

pvc Test Suite


Tests to validate the deployment of the described PVC.

suite: test for pvc
release:
  name: argo
values:
- ../values.yaml
tests

PVC Tests


Tests for PVC Template

tests:
- it: should be a PersistentVolumeClaim
  asserts:
  - isKind:
      of: PersistentVolumeClaim
  - matchSnapshot: {}

service test#

suite

service Test Suite


Tests to validate the service of the described service.

suite: test for service
release:
  name: argo
set:
  service:
    enabled:
      true
values:
- ../values.yaml
tests

service Tests


Tests for service Template

tests:
- it: should be a service
  asserts:
  - isKind:
      of: Service
  - matchSnapshot: {}

service account test#

suite

serviceaccount Test Suite


Tests to validate the serviceaccount of the described serviceaccount.

suite: test for serviceaccount
release:
  name: argo
values:
- ../values.yaml
tests

serviceaccount Tests


Tests for serviceaccount Template

tests:
- it: should be a serviceaccount
  asserts:
  - isKind:
      of: ServiceAccount
  - matchSnapshot: {}

statefulset test#

suite

StatefulSet Test Suite


Tests to validate the statefulset of the described StatefulSet.

suite: test for statefulset
release:
  name: argo
set:
  type: StatefulSet
values:
- ../values.yaml
tests

statefulset Tests


Tests for statefulset Template

tests:
- it: should be a statefulset
  asserts:
  - isKind:
      of: StatefulSet
  - matchSnapshot: {}