Compare commits
31 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 | |||
| 0659708eab | |||
| 2140aaf047 | |||
| 6ad581cfd2 | |||
| 02579e25d4 | |||
| d8188dcfc8 |
@@ -81,7 +81,7 @@ spec:
|
|||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- name: api
|
- name: api
|
||||||
image: marcin00.azurecr.io/user-microservice:a79ae2d50f2fc3dfcf976eb2a8ebe32511ae4a33
|
image: marcin00.azurecr.io/user-microservice:33fc7f66f964b58ffe8d62d064b3cf21109b1c6f
|
||||||
ports:
|
ports:
|
||||||
- containerPort: 80
|
- containerPort: 80
|
||||||
env:
|
env:
|
||||||
|
|||||||
@@ -0,0 +1,17 @@
|
|||||||
|
apiVersion: notification.toolkit.fluxcd.io/v1
|
||||||
|
kind: Receiver
|
||||||
|
metadata:
|
||||||
|
name: gitea-receiver
|
||||||
|
namespace: flux-system
|
||||||
|
spec:
|
||||||
|
type: github
|
||||||
|
events:
|
||||||
|
- "ping"
|
||||||
|
- "push"
|
||||||
|
secretRef:
|
||||||
|
name: webhook-token
|
||||||
|
resources:
|
||||||
|
- apiVersion: source.toolkit.fluxcd.io/v1
|
||||||
|
kind: GitRepository
|
||||||
|
name: user-microservice-repo
|
||||||
|
namespace: flux-system
|
||||||
@@ -9,5 +9,5 @@ spec:
|
|||||||
prune: true
|
prune: true
|
||||||
sourceRef:
|
sourceRef:
|
||||||
kind: GitRepository
|
kind: GitRepository
|
||||||
name: flux-system
|
name: user-microservice-repo
|
||||||
targetNamespace: default
|
targetNamespace: user-microservice
|
||||||
|
|||||||
@@ -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
|
||||||
|
|
||||||
@@ -0,0 +1,10 @@
|
|||||||
|
apiVersion: source.toolkit.fluxcd.io/v1
|
||||||
|
kind: GitRepository
|
||||||
|
metadata:
|
||||||
|
name: user-microservice-repo
|
||||||
|
namespace: flux-system
|
||||||
|
spec:
|
||||||
|
interval: 1m
|
||||||
|
url: https://gitea.marcin00.pl/pikram/user-microservice-deploy.git
|
||||||
|
ref:
|
||||||
|
branch: fluxcd
|
||||||
Reference in New Issue
Block a user