Files
helm-gitea/unittests/helm/deployment/signing-disabled.yaml
Markus Pesch 6a2a93c780 refac(structure): remove leading gitea directory
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.
2025-09-30 21:17:52 +02:00

41 lines
1.1 KiB
YAML

suite: deployment template (signing disabled)
release:
name: gitea-unittests
namespace: testing
templates:
- templates/deployment.yaml
- templates/config.yaml
tests:
- it: skips gpg init container
template: templates/deployment.yaml
asserts:
- notContains:
path: spec.template.spec.initContainers
any: true
content:
name: configure-gpg
- it: skips gpg env in `init-directories` init container
template: templates/deployment.yaml
set:
signing.enabled: false
asserts:
- notContains:
path: spec.template.spec.initContainers[0].env
content:
name: GNUPGHOME
value: /data/git/.gnupg
- it: skips gpg env in runtime container
template: templates/deployment.yaml
asserts:
- notContains:
path: spec.template.spec.containers[0].env
content:
name: GNUPGHOME
- it: skips gpg volume spec
template: templates/deployment.yaml
asserts:
- notContains:
path: spec.template.spec.volumes
content:
name: gpg-private-key