4 Commits

Author SHA1 Message Date
Marcin-Ramotowski
2b8ae6ed2c Removed unused load balancer and network policy 2025-07-27 15:22:12 +02:00
Marcin-Ramotowski
60175f3f2c Added ingress 2025-07-27 15:22:12 +02:00
Marcin-Ramotowski
d92dceccac Updated repo branch 2025-07-27 15:22:12 +02:00
woodpecker[bot]
c814cf80e2 WOODPECKER: Changed deployed version to fca0219235129d77b82de8ef3a582893da304aff 2025-07-27 13:01:18 +00:00
5 changed files with 22 additions and 28 deletions

View File

@@ -81,7 +81,7 @@ spec:
spec: spec:
containers: containers:
- name: api - name: api
image: marcin00.azurecr.io/user-microservice:33fc7f66f964b58ffe8d62d064b3cf21109b1c6f image: marcin00.azurecr.io/user-microservice:fca0219235129d77b82de8ef3a582893da304aff
ports: ports:
- containerPort: 80 - containerPort: 80
env: env:

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 interval: 1m
url: https://gitea.marcin00.pl/pikram/user-microservice-deploy.git url: https://gitea.marcin00.pl/pikram/user-microservice-deploy.git
ref: ref:
branch: fluxcd branch: woodpecker-fluxcd-deploy