argo-cd/resource_customizations/apps/StatefulSet/actions/action_test.yaml

15 lines
449 B
YAML
Raw Normal View History

actionTests:
- action: restart
inputPath: testdata/statefulset.yaml
expectedOutputPath: testdata/statefulset-restarted.yaml
- action: scale
inputPath: testdata/statefulset.yaml
expectedOutputPath: testdata/statefulset-scaled.yaml
parameters:
replicas: '6'
- action: scale
inputPath: testdata/statefulset.yaml
expectedErrorMessage: 'invalid number: not_a_number'
parameters:
replicas: 'not_a_number'