Compare commits
20 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 216b69657e | |||
| 2ac7f83391 | |||
| d19eeb9927 | |||
| 31b09073d4 | |||
| 88a8956d5c | |||
| 5ada87d95d | |||
| e6cfe13c94 | |||
| 4781ddbdfd | |||
| d5a142b69c | |||
| c9b13818ce | |||
| 4ad8185622 | |||
| f061a96a1f | |||
| fb2271b078 | |||
| b011b6a952 | |||
| 95bf0678ea | |||
| a8a336001e | |||
| 4cd41a936f | |||
| 90b95222a0 | |||
| 224307ce58 | |||
| 8b4bd57048 |
@@ -81,7 +81,7 @@ spec:
|
|||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- name: api
|
- name: api
|
||||||
image: marcin00.azurecr.io/user-microservice:d6ade884cfba565e3a4c96219d9b2c2dd4998488
|
image: marcin00.azurecr.io/user-microservice:33fc7f66f964b58ffe8d62d064b3cf21109b1c6f
|
||||||
ports:
|
ports:
|
||||||
- containerPort: 80
|
- containerPort: 80
|
||||||
env:
|
env:
|
||||||
|
|||||||
@@ -1,20 +0,0 @@
|
|||||||
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.marcin00.pl
|
|
||||||
http:
|
|
||||||
paths:
|
|
||||||
- path: /
|
|
||||||
pathType: Prefix
|
|
||||||
backend:
|
|
||||||
service:
|
|
||||||
name: notification-controller
|
|
||||||
port:
|
|
||||||
number: 80
|
|
||||||
@@ -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
|
||||||
@@ -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
|
||||||
|
|
||||||
@@ -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: woodpecker-fluxcd-deploy
|
branch: fluxcd
|
||||||
Reference in New Issue
Block a user