Correcting asserts matchRegex patterns

This commit is contained in:
212597596 2023-10-31 12:47:28 +02:00
parent 69d58ba606
commit 83ba8c260a

View File

@ -15,15 +15,18 @@ tests:
hosts:
- "{{ .Values.global.giteaHostName }}"
asserts:
- matchRegex:
path: metadata.name
pattern: -inline-config$
- matchRegex:
path: stringData.server
pattern: DOMAIN\: "gitea.example.com"
pattern: DOMAIN=gitea\.example\.com
documentIndex: 0
- matchRegex:
path: stringData.server
pattern: ROOT_URL\: "https://gitea.example.com"
pattern: ROOT_URL=https://gitea\.example\.com
documentIndex: 0
- matchRegex:
path: stringData.server
pattern: SSH_DOMAIN\: "gitea.example.com"
pattern: SSH_DOMAIN=gitea\.example\.com
documentIndex: 0