4 Commits

3 changed files with 28 additions and 1 deletions

View File

@ -6,7 +6,8 @@ metadata:
spec:
type: github
events:
- push
- "ping"
- "push"
secretRef:
name: webhook-token
resources:

View File

@ -0,0 +1,14 @@
apiVersion: v1
kind: Service
metadata:
name: receiver
namespace: flux-system
spec:
type: LoadBalancer
selector:
app: notification-controller
ports:
- name: http
port: 80
protocol: TCP
targetPort: 9292

View File

@ -0,0 +1,12 @@
apiVersion: networking.k8s.io/v1
kind: NetworkPolicy
metadata:
name: allow-all-to-flux
namespace: flux-system
spec:
podSelector: {}
ingress:
- {}
policyTypes:
- Ingress