initial commit

This commit is contained in:
2026-05-24 11:31:32 -04:00
commit 0d35eaec4c
5 changed files with 58 additions and 0 deletions
+14
View File
@@ -0,0 +1,14 @@
apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization
metadata:
name: xmrig
namespace: xmrig
spec:
interval: 1h # reconciliation interval
timeout: 15m # if not set, this defaults to interval duration, which is 1h
prune: true # remove any elements later removed from the above path
suspend: false # suspend reconciliation of this kustomization
targetNamespace: xmrig
sourceRef:
kind: GitRepository
name: xmrig
+13
View File
@@ -0,0 +1,13 @@
apiVersion: source.toolkit.fluxcd.io/v1
kind: GitRepository
metadata:
name: xmrig
namespace: xmrig
spec:
interval: 15m
provider: github
url: https://github.com/cpfarhood/xmrig
ref:
branch: main
secretRef:
name: github-app-auth
+9
View File
@@ -0,0 +1,9 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- namespace.yaml
# - gitrepository.yaml
# - sealedsecrets.yaml
# - configmap.yaml
# - receiver.yaml
# - application.yaml
+6
View File
@@ -0,0 +1,6 @@
apiVersion: v1
kind: Namespace
metadata:
name: xmrig
annotations:
policy.cilium.io/proxy-visibility: <Ingress/80/TCP/HTTP>,<Egress/53/UDP/DNS>
+16
View File
@@ -0,0 +1,16 @@
apiVersion: notification.toolkit.fluxcd.io/v1
kind: Receiver
metadata:
name: xmrig
namespace: xmrig
spec:
type: github
events:
- "ping"
- "push"
secretRef:
name: webhook-token
resources:
- kind: GitRepository
name: xmrig
namespace: xmrig