format with prettier-fix

This commit is contained in:
alexandra catalina 2024-02-21 06:41:07 -08:00
parent 57f784d12a
commit c93fb8f986
6 changed files with 17 additions and 17 deletions

View file

@ -96,7 +96,7 @@ These dependencies are enabled by default:
Alternatively, the following non-HA replacements are available:
- PostgreSQL ([Bitnami PostgreSQL](postgresql](https://github.com/bitnami/charts/blob/main/bitnami/postgresql/Chart.yaml)))
- PostgreSQL ([Bitnami PostgreSQL](<postgresql](https://github.com/bitnami/charts/blob/main/bitnami/postgresql/Chart.yaml)>))
### Dependency Versioning

View file

@ -3,7 +3,7 @@ release:
name: gitea-unittests
namespace: testing
tests:
- it: "cache is configured correctly for redis-cluster"
- it: 'cache is configured correctly for redis-cluster'
template: templates/gitea/config.yaml
set:
redis-cluster:
@ -29,7 +29,7 @@ tests:
ADAPTER=memory
HOST=
- it: "cache can be customized when redis-cluster is disabled"
- it: 'cache can be customized when redis-cluster is disabled'
template: templates/gitea/config.yaml
set:
redis-cluster:

View file

@ -3,7 +3,7 @@ release:
name: gitea-unittests
namespace: testing
tests:
- it: "queue is configured correctly for redis-cluster"
- it: 'queue is configured correctly for redis-cluster'
template: templates/gitea/config.yaml
set:
redis-cluster:
@ -29,7 +29,7 @@ tests:
CONN_STR=
TYPE=level
- it: "queue can be customized when redis-cluster is disabled"
- it: 'queue can be customized when redis-cluster is disabled'
template: templates/gitea/config.yaml
set:
redis-cluster:

View file

@ -3,7 +3,7 @@ release:
name: gitea-unittests
namespace: testing
tests:
- it: "session is configured correctly for redis-cluster"
- it: 'session is configured correctly for redis-cluster'
template: templates/gitea/config.yaml
set:
redis-cluster:
@ -29,7 +29,7 @@ tests:
PROVIDER=memory
PROVIDER_CONFIG=
- it: "session can be customized when redis-cluster is disabled"
- it: 'session can be customized when redis-cluster is disabled'
template: templates/gitea/config.yaml
set:
redis-cluster:

View file

@ -13,27 +13,27 @@ tests:
- it: should set storageClassName when persistence.storageClass is defined
template: templates/gitea/pvc.yaml
set:
persistence.storageClass: "my-storage-class"
persistence.storageClass: 'my-storage-class'
asserts:
- equal:
path: "spec.storageClassName"
value: "my-storage-class"
path: 'spec.storageClassName'
value: 'my-storage-class'
- it: should set global.storageClass when persistence.storageClass is not defined
template: templates/gitea/pvc.yaml
set:
global.storageClass: "default-storage-class"
global.storageClass: 'default-storage-class'
asserts:
- equal:
path: spec.storageClassName
value: "default-storage-class"
value: 'default-storage-class'
- it: should set storageClassName when persistence.storageClass is defined and global.storageClass is defined
template: templates/gitea/pvc.yaml
set:
global.storageClass: "default-storage-class"
persistence.storageClass: "my-storage-class"
global.storageClass: 'default-storage-class'
persistence.storageClass: 'my-storage-class'
asserts:
- equal:
path: spec.storageClassName
value: "my-storage-class"
value: 'my-storage-class'

View file

@ -16,7 +16,7 @@ tests:
asserts:
- equal:
path: metadata.labels["gitea/testkey"]
value: "testvalue"
value: 'testvalue'
- it: keeps existing labels (ssh)
template: templates/gitea/ssh-svc.yaml
@ -38,7 +38,7 @@ tests:
asserts:
- equal:
path: metadata.labels["gitea/testkey"]
value: "testvalue"
value: 'testvalue'
- it: keeps existing labels (http)
template: templates/gitea/http-svc.yaml