feat: addon rss forwarder (#876)
Co-authored-by: Devin Buhl <onedr0p@users.noreply.github.com>
This commit is contained in:
1 parent
0cc281e7c9
commit
3af392c008
8 files changed
+152
No files matched your search
@@ -0,0 +1,55 @@
|
||||
---
|
||||
apiVersion: helm.toolkit.fluxcd.io/v2beta1
|
||||
kind: HelmRelease
|
||||
metadata:
|
||||
name: discord-template-notifier
|
||||
namespace: default
|
||||
spec:
|
||||
interval: 15m
|
||||
chart:
|
||||
spec:
|
||||
chart: app-template
|
||||
version: 1.5.1
|
||||
interval: 30m
|
||||
sourceRef:
|
||||
kind: HelmRepository
|
||||
name: bjw-s
|
||||
namespace: flux-system
|
||||
maxHistory: 2
|
||||
install:
|
||||
createNamespace: true
|
||||
remediation:
|
||||
retries: 3
|
||||
upgrade:
|
||||
cleanupOnFail: true
|
||||
remediation:
|
||||
retries: 3
|
||||
uninstall:
|
||||
keepHistory: false
|
||||
values:
|
||||
image:
|
||||
repository: ghcr.io/morphy2k/rss-forwarder
|
||||
tag: 0.6.1
|
||||
env:
|
||||
TZ: "${TIMEZONE}"
|
||||
service:
|
||||
main: &disableSvc
|
||||
enabled: false
|
||||
ingress:
|
||||
main: *disableSvc
|
||||
probes:
|
||||
liveness: *disableSvc
|
||||
readiness: *disableSvc
|
||||
startup: *disableSvc
|
||||
persistence:
|
||||
data:
|
||||
enabled: true
|
||||
type: secret
|
||||
name: discord-template-notifier-secret
|
||||
resources:
|
||||
requests:
|
||||
cpu: 15m
|
||||
memory: 110M
|
||||
limits:
|
||||
cpu: 15m
|
||||
memory: 110M
|
||||
@@ -0,0 +1,7 @@
|
||||
---
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
namespace: default
|
||||
resources:
|
||||
- ./secret.sops.yaml
|
||||
- ./helmrelease.yaml
|
||||
@@ -0,0 +1,15 @@
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Secret
|
||||
metadata:
|
||||
name: discord-template-notifier-secret
|
||||
namespace: default
|
||||
type: Opaque
|
||||
stringData:
|
||||
config.toml: |-
|
||||
[feeds.github-template]
|
||||
url = "https://github.com/onedr0p/flux-cluster-template/commits/main/.atom"
|
||||
interval = "10m"
|
||||
retry_limit = 5
|
||||
sink.type = "discord"
|
||||
sink.url = "{{ discord_template_notifier.webhook_url }}"
|
||||
@@ -0,0 +1,16 @@
|
||||
---
|
||||
apiVersion: kustomize.toolkit.fluxcd.io/v1
|
||||
kind: Kustomization
|
||||
metadata:
|
||||
name: cluster-apps-discord-template-notifier
|
||||
namespace: flux-system
|
||||
spec:
|
||||
path: ./kubernetes/apps/default/discord-template-notifier/app
|
||||
prune: true
|
||||
sourceRef:
|
||||
kind: GitRepository
|
||||
name: home-kubernetes
|
||||
wait: false
|
||||
interval: 30m
|
||||
retryInterval: 1m
|
||||
timeout: 5m
|
||||
@@ -7,3 +7,6 @@ resources:
|
||||
{% if hajimari.enabled | default(false) %}
|
||||
- ./hajimari/ks.yaml
|
||||
{% endif %}
|
||||
{% if discord_template_notifier.enabled | default(false) %}
|
||||
- ./discord-template-notifier/ks.yaml
|
||||
{% endif %}
|
||||
Reference in new issue
Block a user