Skip to content

Commit

Permalink
Add K8s config example
Browse files Browse the repository at this point in the history
  • Loading branch information
simar0at committed Oct 17, 2023
1 parent 18072f1 commit 3b4f9d8
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions k8s/cronjob.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
apiVersion: batch/v1
kind: CronJob
metadata:
name: transfer-vle-cache
namespace: dboe-annotation
spec:
jobTemplate:
metadata:
namespace: dboe-annotation
spec:
template:
spec:
containers:
- imagePullPolicy: Always
name: transfer-vle-cache
image: ghcr.io/acdh-oeaw/transfer-vle-cache/transfer-vle-cache:latest
envFrom:
- prefix: ''
secretRef:
name: transfer-vle-cache
optional: false
restartPolicy: Never
schedule: 0/15 * * * *
---
apiVersion: v1
kind: Secret
metadata:
name: transfer-vle-cache-test
namespace: dboe-annotation
type: Opaque
stringData:
DBOEANNOTATION_HOST: https://dboeannotation-test.acdh-dev.oeaw.ac.at
DBOEANNOTATION_USER: vle
DBOEANNOTATION_PASSWORD: look_me_up
VLESERVER_HOST: https://dboe-webtest.acdh-dev.oeaw.ac.at
VLESERVER_BASIC_AUTH_BASE64: <Basic auth encoded user:pass>

0 comments on commit 3b4f9d8

Please sign in to comment.