use notifications
This commit is contained in:
parent
412a0cdc64
commit
bbf84a1fd2
@ -1,4 +1,17 @@
|
||||
# This manifest was generated by flux. DO NOT EDIT.
|
||||
# ---
|
||||
# apiVersion: source.toolkit.fluxcd.io/v1
|
||||
# kind: GitRepository
|
||||
# metadata:
|
||||
# name: flux-system
|
||||
# namespace: flux-system
|
||||
# spec:
|
||||
# interval: 1m0s
|
||||
# ref:
|
||||
# branch: master
|
||||
# secretRef:
|
||||
# name: flux-system
|
||||
# url: https://git.fascinated.cc/fascinated/homelab.git
|
||||
---
|
||||
apiVersion: source.toolkit.fluxcd.io/v1
|
||||
kind: GitRepository
|
||||
@ -6,12 +19,10 @@ metadata:
|
||||
name: flux-system
|
||||
namespace: flux-system
|
||||
spec:
|
||||
interval: 1m0s
|
||||
interval: 60m
|
||||
url: https://git.fascinated.cc/fascinated/homelab.git
|
||||
ref:
|
||||
branch: master
|
||||
secretRef:
|
||||
name: flux-system
|
||||
url: https://git.fascinated.cc/fascinated/homelab.git
|
||||
---
|
||||
apiVersion: kustomize.toolkit.fluxcd.io/v1
|
||||
kind: Kustomization
|
||||
|
@ -5,7 +5,7 @@ metadata:
|
||||
name: infrastructure
|
||||
namespace: flux-system
|
||||
spec:
|
||||
interval: 10m0s
|
||||
interval: 60m0s
|
||||
sourceRef:
|
||||
kind: GitRepository
|
||||
name: flux-system
|
||||
|
7
kubernetes/infrastructure/fluxci/kustomization.yaml
Normal file
7
kubernetes/infrastructure/fluxci/kustomization.yaml
Normal file
@ -0,0 +1,7 @@
|
||||
---
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
namespace: flux-system
|
||||
resources:
|
||||
- ./notification/secret.yaml
|
||||
- ./notification/ingress.yaml
|
22
kubernetes/infrastructure/fluxci/notification/ingress.yaml
Normal file
22
kubernetes/infrastructure/fluxci/notification/ingress.yaml
Normal file
@ -0,0 +1,22 @@
|
||||
---
|
||||
apiVersion: traefik.io/v1alpha1
|
||||
kind: IngressRoute
|
||||
metadata:
|
||||
name: flux-notifications-ingress
|
||||
namespace: flux-system
|
||||
annotations:
|
||||
kubernetes.io/ingress.class: traefik-external
|
||||
spec:
|
||||
entryPoints:
|
||||
- websecure
|
||||
routes:
|
||||
- match: Host(`flux-notifications.local.fascinated.cc`)
|
||||
kind: Rule
|
||||
middlewares:
|
||||
- name: default-headers
|
||||
namespace: traefik
|
||||
services:
|
||||
- name: notification-controller
|
||||
port: 80
|
||||
tls:
|
||||
secretName: fascinated-cc
|
16
kubernetes/infrastructure/fluxci/notification/reciever.yaml
Normal file
16
kubernetes/infrastructure/fluxci/notification/reciever.yaml
Normal file
@ -0,0 +1,16 @@
|
||||
---
|
||||
apiVersion: notification.toolkit.fluxcd.io/v1
|
||||
kind: Receiver
|
||||
metadata:
|
||||
name: webapp
|
||||
namespace: flux-system
|
||||
spec:
|
||||
type: github
|
||||
events:
|
||||
- "ping"
|
||||
- "push"
|
||||
secretRef:
|
||||
name: notification-secret
|
||||
resources:
|
||||
- kind: GitRepository
|
||||
name: webapp
|
@ -0,0 +1,16 @@
|
||||
---
|
||||
apiVersion: bitnami.com/v1alpha1
|
||||
kind: SealedSecret
|
||||
metadata:
|
||||
creationTimestamp: null
|
||||
name: notification-secret
|
||||
namespace: flux-system
|
||||
spec:
|
||||
encryptedData:
|
||||
token: AgB9gxfRBYdK3njhBAyXkKsFDSxncYLfO33bvV4Rq7hu4H6OM43xseXveMoSN5+Bw9gvjoaIkn/2Z7pUXNCIUwzG+JAtkDDyY25Xkmu53FN96f3ZUFBQyvtPcB3WTai3spki8GABqLUUkRFX3j7j+hBKLLdryKpkv77OSs/rh0K6V+LhtDjedSW+dKaywPA2kwf1jaX4T675fZpe0h5xpiV1KWO+mHyAmF03CgCC2LvnpCze1/6ZToU6EC+hETe2W6r3fDMxffnkggDgDO0hGy6py4ID00TFXd23dMHu/72caUUgFZGgKTkCF5/+AvOPNoVAaZSrs1V9xPPljYyCzDTucV8O7TfrG6tvsyPG74wU+y9R1OAbq/ZWBh8grMB8zfRHNKMbpGnCphcnB98vkZLQXAnlWYpCJOmerkQYBxiMs3l6XBbDPURuyO2/xOJe70XXDQ7BPA7ZsCilNQNSm+xY9U0Uf8g9oycNBhFoy96+b3VMy7VvAl0smsBPu4VuUwGxAJTftAmqT6lBFoordynEcUiL+q/xph7gKEZj6JQtNibrw5p8k1V8MreoWZe2DmeelgDvZcT7QpPgrHDvbCKNeHM2xFlOzgemBK8+/+Qcr9gZAJGQKE8ppUssD5zDECzk76A2mZ7/tJkGQFaFrC5zh7WDnpMfdXDkQac5e6hKFDAvuBckfgcLok8AAMlCeQgDcdwjlnrGXs1ZFYbvf73gIoAJknB9WZ44tM0I7Um3nzlqGXn5GF2S
|
||||
template:
|
||||
metadata:
|
||||
creationTimestamp: null
|
||||
name: notification-secret
|
||||
namespace: flux-system
|
||||
type: Opaque
|
@ -7,6 +7,7 @@ resources:
|
||||
- cert-manager
|
||||
- crds
|
||||
- metallb
|
||||
- fluxci
|
||||
- nfs
|
||||
- traefik
|
||||
- capacitor
|
||||
|
Reference in New Issue
Block a user