Skip to content

Commit

Permalink
feat!: big brain operator
Browse files Browse the repository at this point in the history
Signed-off-by: Devin Buhl <[email protected]>
  • Loading branch information
onedr0p committed Jan 8, 2025
1 parent 46ada7b commit 7426587
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/flux-diff.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,34 @@ jobs:
ref: "${{ github.event.repository.default_branch }}"
path: default

- name: Create GitRepository
run: |
CONTENT=$(cat <<EOF
---
kind: GitRepository
metadata:
name: home-kubernetes
namespace: flux-system
spec:
interval: 30m
url: ssh://[email protected]/onedr0p/home-ops
ref:
branch: main
secretRef:
name: github-deploy-key
ignore: |
# exclude all
/*
# include dirs
!/kubernetes/main
!/kubernetes/shared
EOF
)
echo "${CONTENT}" | \
tee -a \
/github/workspace/pull/kubernetes/main/flux/config/cluster.yaml \
/github/workspace/default/kubernetes/main/flux/config/cluster.yaml
- name: Diff Resources
uses: docker://ghcr.io/allenporter/flux-local:v7.0.0@sha256:abf237e31d20de26f8a4b08e588cc927cb0a9f0ecf90d04bada00f393b919354
with:
Expand Down

0 comments on commit 7426587

Please sign in to comment.