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:
parent
aebe5c6c67
commit
5eb8ab49bd
1 changed files with 3 additions and 2 deletions
5
.github/workflows/ci.yaml
vendored
5
.github/workflows/ci.yaml
vendored
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue