Skip to content

Commit

Permalink
change test job to run in same namespace as nextcloud and changed tru…
Browse files Browse the repository at this point in the history
…sted domains to * instead of '*'

Signed-off-by: jessebot <[email protected]>
  • Loading branch information
jessebot committed Jul 25, 2024
1 parent a5f81e1 commit 09d7630
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/test_upload_job.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ apiVersion: batch/v1
kind: Job
metadata:
name: create-nextcloud-file
namespace: nextcloud
spec:
template:
metadata:
Expand All @@ -20,6 +21,6 @@ spec:
-w "%{http_code}" \
-u nextcloud:changeme \
-T test_upload.txt \
"http://nextcloud.nextcloud.svc.cluster.local:8080/nextcloud/remote.php/dav/files/nextcloud/test_upload.txt" && \
"http://nextcloud:8080/nextcloud/remote.php/dav/files/nextcloud/test_upload.txt" && \
echo -e "\nTried to uploaded a file, test_upload.txt, to Nextcloud."
restartPolicy: Never
2 changes: 1 addition & 1 deletion .github/workflows/lint-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ jobs:
- name: S3 Enabled as Primary Storage
# we need to skip the clean up so we can test adding a file
helm_args: |
--namespace nextcloud --skip-clean-up --helm-extra-set-args "--set=fullnameOverride=nextcloud --set=nextcloud.objectStore.s3.enabled=true --set=nextcloud.objectStore.s3.accessKey=nextcloud --set=nextcloud.objectStore.s3.secretKey=rootpass123 --set=nextcloud.objectStore.s3.host=minio.minio.svc.cluster.local --set=nextcloud.objectStore.s3.port=9000 --set=nextcloud.objectStore.s3.bucket=nextcloud --set=nextcloud.trustedDomains[0]='*'"
--namespace nextcloud --skip-clean-up --helm-extra-set-args "--set=fullnameOverride=nextcloud --set=nextcloud.objectStore.s3.enabled=true --set=nextcloud.objectStore.s3.accessKey=nextcloud --set=nextcloud.objectStore.s3.secretKey=rootpass123 --set=nextcloud.objectStore.s3.host=minio.minio.svc.cluster.local --set=nextcloud.objectStore.s3.port=9000 --set=nextcloud.objectStore.s3.bucket=nextcloud --set=nextcloud.trustedDomains[0]=*"
steps:
- name: Checkout
Expand Down

0 comments on commit 09d7630

Please sign in to comment.