Skip to content

Commit

Permalink
Add Flux sync manifests
Browse files Browse the repository at this point in the history
  • Loading branch information
Flux authored and Smana committed Jul 2, 2024
1 parent 1282e9c commit 4c5685c
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 1 deletion.
27 changes: 27 additions & 0 deletions clusters/mycluster-0/flux-system/gotk-sync.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# This manifest was generated by flux. DO NOT EDIT.
---
apiVersion: source.toolkit.fluxcd.io/v1
kind: GitRepository
metadata:
name: flux-system
namespace: flux-system
spec:
interval: 1m0s
ref:
branch: feat_incluster_dagger_cache
secretRef:
name: flux-system
url: ssh://[email protected]/Smana/demo-cloud-native-ref.git
---
apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization
metadata:
name: flux-system
namespace: flux-system
spec:
interval: 10m0s
path: ./clusters/mycluster-0
prune: true
sourceRef:
kind: GitRepository
name: flux-system
5 changes: 5 additions & 0 deletions clusters/mycluster-0/flux-system/kustomization.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- gotk-components.yaml
- gotk-sync.yaml
2 changes: 1 addition & 1 deletion tooling/base/dagger-engine/network-policy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ spec:
description: "Allow internal traffic to the Dagger Engine service."
endpointSelector:
matchLabels:
k8s:actions.github.com/scale-set-name: dagger-engine
k8s:app.kubernetes.io/name: dagger-engine
egress:
- toEndpoints:
- matchLabels:
Expand Down

0 comments on commit 4c5685c

Please sign in to comment.