Compare commits
26 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 216b69657e | |||
| 2ac7f83391 | |||
| d19eeb9927 | |||
| 31b09073d4 | |||
| 88a8956d5c | |||
| 5ada87d95d | |||
| e6cfe13c94 | |||
| 4781ddbdfd | |||
| d5a142b69c | |||
| c9b13818ce | |||
| 4ad8185622 | |||
| f061a96a1f | |||
| fb2271b078 | |||
| b011b6a952 | |||
| 95bf0678ea | |||
| a8a336001e | |||
| 4cd41a936f | |||
| 90b95222a0 | |||
| 224307ce58 | |||
| 8b4bd57048 | |||
| 2aadba7822 | |||
| 599a4d26d5 | |||
| 59ab88cdea | |||
| 604a805374 | |||
| 659b062551 | |||
| d520cea264 |
@@ -81,7 +81,7 @@ spec:
|
|||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- name: api
|
- name: api
|
||||||
image: marcin00.azurecr.io/user-microservice:d855e795e2706e235b397a73ca5f0e068ee8eec4
|
image: marcin00.azurecr.io/user-microservice:33fc7f66f964b58ffe8d62d064b3cf21109b1c6f
|
||||||
ports:
|
ports:
|
||||||
- containerPort: 80
|
- containerPort: 80
|
||||||
env:
|
env:
|
||||||
|
|||||||
@@ -1,14 +1,17 @@
|
|||||||
apiVersion: notification.toolkit.fluxcd.io/v1beta2
|
apiVersion: notification.toolkit.fluxcd.io/v1
|
||||||
kind: Receiver
|
kind: Receiver
|
||||||
metadata:
|
metadata:
|
||||||
name: gitea-receiver
|
name: gitea-receiver
|
||||||
namespace: flux-system
|
namespace: flux-system
|
||||||
spec:
|
spec:
|
||||||
type: git
|
type: github
|
||||||
events:
|
events:
|
||||||
- push
|
- "ping"
|
||||||
resources:
|
- "push"
|
||||||
- kind: GitRepository
|
|
||||||
name: user-microservice-repo
|
|
||||||
secretRef:
|
secretRef:
|
||||||
name: webhook-token
|
name: webhook-token
|
||||||
|
resources:
|
||||||
|
- apiVersion: source.toolkit.fluxcd.io/v1
|
||||||
|
kind: GitRepository
|
||||||
|
name: user-microservice-repo
|
||||||
|
namespace: flux-system
|
||||||
|
|||||||
@@ -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
|
||||||
|
|
||||||
Reference in New Issue
Block a user