Compare commits
6 Commits
ce5746b6dd
...
fluxcd
Author | SHA1 | Date | |
---|---|---|---|
2aadba7822 | |||
599a4d26d5 | |||
59ab88cdea | |||
604a805374 | |||
659b062551 | |||
d520cea264 |
@ -1,14 +1,17 @@
|
||||
apiVersion: notification.toolkit.fluxcd.io/v1beta2
|
||||
apiVersion: notification.toolkit.fluxcd.io/v1
|
||||
kind: Receiver
|
||||
metadata:
|
||||
name: gitea-receiver
|
||||
namespace: flux-system
|
||||
spec:
|
||||
type: git
|
||||
type: github
|
||||
events:
|
||||
- push
|
||||
resources:
|
||||
- kind: GitRepository
|
||||
name: user-microservice-repo
|
||||
- "ping"
|
||||
- "push"
|
||||
secretRef:
|
||||
name: webhook-token
|
||||
resources:
|
||||
- apiVersion: source.toolkit.fluxcd.io/v1
|
||||
kind: GitRepository
|
||||
name: user-microservice-repo
|
||||
namespace: flux-system
|
||||
|
14
clusters/prod/load-balancer.yaml
Normal file
14
clusters/prod/load-balancer.yaml
Normal file
@ -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
|
12
clusters/prod/network-policy.yaml
Normal file
12
clusters/prod/network-policy.yaml
Normal file
@ -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