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.
24 lines
683 B
YAML
24 lines
683 B
YAML
suite: Metrics secret template (monitoring disabled)
|
|
release:
|
|
name: gitea-unittests
|
|
namespace: testing
|
|
templates:
|
|
- templates/metrics-secret.yaml
|
|
tests:
|
|
- it: renders nothing if monitoring disabled and gitea.metrics.token empty
|
|
set:
|
|
gitea.metrics.enabled: false
|
|
gitea.metrics.serviceMonitor.enabled: false
|
|
gitea.metrics.token: ""
|
|
asserts:
|
|
- hasDocuments:
|
|
count: 0
|
|
- it: renders nothing if monitoring disabled and gitea.metrics.token not empty
|
|
set:
|
|
gitea.metrics.enabled: false
|
|
gitea.metrics.serviceMonitor.enabled: false
|
|
gitea.metrics.token: "test-token"
|
|
asserts:
|
|
- hasDocuments:
|
|
count: 0
|