1
0
Fork 0
mirror of https://github.com/imjasonh/git-k8s synced 2026-07-18 06:55:48 +00:00

Fix YAML document separator in e2e heredoc

The `---` between the Deployment and Service was indented inside
the heredoc, so kubectl didn't recognize it as a document separator.
Split into two separate kubectl apply calls.

https://claude.ai/code/session_01QfFzqKQUsxxBsiZUhuJ3pG
This commit is contained in:
Claude 2026-02-28 01:18:30 +00:00
parent aebe5c6c67
commit 5eb8ab49bd
No known key found for this signature in database

View file

@ -94,7 +94,7 @@ jobs:
- name: Deploy Gitea git server
run: |
cat <<'EOF' | kubectl apply -f -
kubectl apply -f - <<'EOF'
apiVersion: apps/v1
kind: Deployment
metadata:
@ -137,7 +137,8 @@ jobs:
volumes:
- name: data
emptyDir: {}
---
EOF
kubectl apply -f - <<'EOF'
apiVersion: v1
kind: Service
metadata: