Skip to content

Commit

Permalink
k8s
Browse files Browse the repository at this point in the history
  • Loading branch information
Jon Latorre committed Feb 18, 2025
1 parent 3fc9220 commit 00d7728
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
k8s/secret.yaml
21 changes: 21 additions & 0 deletions k8s/cronjob.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
apiVersion: batch/v1
kind: CronJob
metadata:
name: pbs-exporter
namespace: pbs-exporter
spec:
schedule: "*/30 * * * *"
jobTemplate:
spec:
template:
metadata:
labels:
app: pbs-exporter
spec:
containers:
- name: pbs-exporter
image: ghcr.io/irontec/pbs-exporter:latest
envFrom:
- secretRef:
name: pbs-exporter-secret
restartPolicy: OnFailure

0 comments on commit 00d7728

Please sign in to comment.