initial commit
This commit is contained in:
@@ -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
|
||||||
@@ -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
|
||||||
@@ -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
|
||||||
@@ -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>
|
||||||
@@ -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
|
||||||
Reference in New Issue
Block a user