commit 0d35eaec4c377b8d0b9e3e40511f225debf4560c Author: Chris Farhood Date: Sun May 24 11:31:32 2026 -0400 initial commit diff --git a/application.yaml b/application.yaml new file mode 100644 index 0000000..49a79e0 --- /dev/null +++ b/application.yaml @@ -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 \ No newline at end of file diff --git a/gitrepository.yaml b/gitrepository.yaml new file mode 100644 index 0000000..9c35f93 --- /dev/null +++ b/gitrepository.yaml @@ -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 \ No newline at end of file diff --git a/kustomization.yaml b/kustomization.yaml new file mode 100644 index 0000000..372f154 --- /dev/null +++ b/kustomization.yaml @@ -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 diff --git a/namespace.yaml b/namespace.yaml new file mode 100644 index 0000000..77addbe --- /dev/null +++ b/namespace.yaml @@ -0,0 +1,6 @@ +apiVersion: v1 +kind: Namespace +metadata: + name: xmrig + annotations: + policy.cilium.io/proxy-visibility: , diff --git a/receiver.yaml b/receiver.yaml new file mode 100644 index 0000000..97ba8f0 --- /dev/null +++ b/receiver.yaml @@ -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 \ No newline at end of file