3 Commits

Author SHA1 Message Date
2b8ae6ed2c Removed unused load balancer and network policy 2025-07-27 15:22:12 +02:00
60175f3f2c Added ingress 2025-07-27 15:22:12 +02:00
d92dceccac Updated repo branch 2025-07-27 15:22:12 +02:00
4 changed files with 21 additions and 27 deletions

View File

@ -0,0 +1,20 @@
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: flux-receiver
namespace: flux-system
annotations:
nginx.ingress.kubernetes.io/backend-protocol: "HTTP"
spec:
ingressClassName: nginx
rules:
- host: flux-webhook.marcin00.pl
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: notification-controller
port:
number: 80

View File

@ -1,14 +0,0 @@
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

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

View File

@ -7,4 +7,4 @@ spec:
interval: 1m
url: https://gitea.marcin00.pl/pikram/user-microservice-deploy.git
ref:
branch: fluxcd
branch: woodpecker-fluxcd-deploy