suite: actions template | consistency checks release: name: gitea-unittests namespace: testing templates: - templates/01-consistency-checks.yaml tests: - it: fails when provisioning is enabled BUT persistence is completely disabled set: persistence: enabled: false enabled: true provisioning: enabled: true asserts: - failedTemplate: errorMessage: "persistence.enabled and persistence.mount are required when provisioning is enabled" - it: fails when provisioning is enabled BUT mount is disabled, although persistence is enabled set: persistence: enabled: true mount: false enabled: true provisioning: enabled: true asserts: - failedTemplate: errorMessage: "persistence.enabled and persistence.mount are required when provisioning is enabled" - it: fails when provisioning is enabled AND existingSecret is given set: enabled: true provisioning: enabled: true existingSecret: "secret-reference" asserts: - failedTemplate: errorMessage: "Can't specify both actions.provisioning.enabled and actions.existingSecret" - it: fails when provisioning is disabled BUT existingSecret and existingSecretKey are missing set: enabled: true provisioning: enabled: false asserts: - failedTemplate: errorMessage: "existingSecret and existingSecretKey are required when provisioning is disabled" - it: fails when provisioning is disabled BUT existingSecretKey is missing set: enabled: true provisioning: enabled: false existingSecret: "my-secret" asserts: - failedTemplate: errorMessage: "existingSecret and existingSecretKey are required when provisioning is disabled" - it: fails when provisioning is disabled BUT existingSecret is missing set: enabled: true provisioning: enabled: false existingSecretKey: "my-secret-key" asserts: - failedTemplate: errorMessage: "existingSecret and existingSecretKey are required when provisioning is disabled" - it: fails when LOCAL_ROOT_URL is missing set: enabled: true provisioning: enabled: false existingSecret: "my-secret" existingSecretKey: "my-secret-key" asserts: - failedTemplate: errorMessage: "giteaRootURL is required"