You've already forked helm-gitea
The following pull request removes the `gitea` directory. With regard to maintaining act_runners in a separate git repository or helm chart, this additional directory becomes redundant. Reviewed-on: https://gitea.com/gitea/helm-gitea/pulls/958 Reviewed-by: DaanSelen <daanselen@noreply.gitea.com> Co-authored-by: Markus Pesch <markus.pesch@cryptic.systems> Co-committed-by: Markus Pesch <markus.pesch@cryptic.systems>
40 lines
1.1 KiB
YAML
40 lines
1.1 KiB
YAML
# File: tests/gitea-storageclass-tests.yaml
|
|
|
|
suite: storage class configuration tests
|
|
|
|
release:
|
|
name: gitea-storageclass-tests
|
|
namespace: testing
|
|
|
|
templates:
|
|
- templates/pvc.yaml
|
|
|
|
tests:
|
|
- it: should set storageClassName when persistence.storageClass is defined
|
|
template: templates/pvc.yaml
|
|
set:
|
|
persistence.storageClass: "my-storage-class"
|
|
asserts:
|
|
- equal:
|
|
path: "spec.storageClassName"
|
|
value: "my-storage-class"
|
|
|
|
- it: should set global.storageClass when persistence.storageClass is not defined
|
|
template: templates/pvc.yaml
|
|
set:
|
|
global.storageClass: "default-storage-class"
|
|
asserts:
|
|
- equal:
|
|
path: spec.storageClassName
|
|
value: "default-storage-class"
|
|
|
|
- it: should set storageClassName when persistence.storageClass is defined and global.storageClass is defined
|
|
template: templates/pvc.yaml
|
|
set:
|
|
global.storageClass: "default-storage-class"
|
|
persistence.storageClass: "my-storage-class"
|
|
asserts:
|
|
- equal:
|
|
path: spec.storageClassName
|
|
value: "my-storage-class"
|