Assume http instead of https
All checks were successful
changelog / changelog (push) Successful in 7s
check-and-test / check-and-test (push) Successful in 24s

This commit is contained in:
2025-07-23 15:40:21 +02:00
parent daf69e1ad7
commit c1ff110797
2 changed files with 11 additions and 11 deletions

View File

@@ -64,7 +64,7 @@ tests:
template: templates/job.yaml
set:
enabled: true
giteaRootURL: "https://git.example.com:8443"
giteaRootURL: "http://git.example.com:80"
provisioning:
enabled: true
persistence:
@@ -84,6 +84,6 @@ tests:
path: spec.template.spec.initContainers[0].command[2]
value: |
echo 'Waiting for gitea...'
while ! wget -qO- https://git.example.com:8443 > /dev/null; do
while ! wget -qO- http://git.example.com:80 > /dev/null; do
sleep 2
done

View File

@@ -73,7 +73,7 @@ tests:
- it: renders a StatefulSet http (with correct GITEA_INSTANCE_URL env from giteaRootURL)
template: templates/statefulset.yaml
set:
giteaRootURL: "https://git.example.com"
giteaRootURL: "http://git.example.com"
enabled: true
existingSecret: "my-secret"
existingSecretKey: "my-secret-key"
@@ -88,18 +88,18 @@ tests:
path: spec.template.spec.containers[0].env[4]
value:
name: GITEA_INSTANCE_URL
value: "https://git.example.com"
value: "http://git.example.com"
- equal:
path: spec.template.spec.initContainers[0].command[2]
value: |
echo 'Waiting for gitea...'
while ! wget -qO- https://git.example.com > /dev/null; do
while ! wget -qO- http://git.example.com > /dev/null; do
sleep 2
done
- it: renders a StatefulSet https (with correct GITEA_INSTANCE_URL env from giteaRootURL)
template: templates/statefulset.yaml
set:
giteaRootURL: "https://git.example.com"
giteaRootURL: "http://git.example.com"
enabled: true
existingSecret: "my-secret"
existingSecretKey: "my-secret-key"
@@ -114,18 +114,18 @@ tests:
path: spec.template.spec.containers[0].env[4]
value:
name: GITEA_INSTANCE_URL
value: "https://git.example.com"
value: "http://git.example.com"
- equal:
path: spec.template.spec.initContainers[0].command[2]
value: |
echo 'Waiting for gitea...'
while ! wget -qO- https://git.example.com > /dev/null; do
while ! wget -qO- http://git.example.com > /dev/null; do
sleep 2
done
- it: renders a StatefulSet https (with correct GITEA_INSTANCE_URL env from giteaRootURL)
template: templates/statefulset.yaml
set:
giteaRootURL: "https://git.example.com"
giteaRootURL: "http://git.example.com"
enabled: true
existingSecret: "my-secret"
existingSecretKey: "my-secret-key"
@@ -140,12 +140,12 @@ tests:
path: spec.template.spec.containers[0].env[4]
value:
name: GITEA_INSTANCE_URL
value: "https://git.example.com"
value: "http://git.example.com"
- equal:
path: spec.template.spec.initContainers[0].command[2]
value: |
echo 'Waiting for gitea...'
while ! wget -qO- https://git.example.com > /dev/null; do
while ! wget -qO- http://git.example.com > /dev/null; do
sleep 2
done
- it: allows adding custom environment variables to the docker-in-docker container