feat: usage example

This commit is contained in:
2023-04-28 19:58:02 +02:00
parent f87954b0c0
commit ef50125879
2 changed files with 26 additions and 1 deletions

View File

@@ -1,3 +1,5 @@
# seedsidecar # seedsidecar
Sidecar container to be used in Kubernetes to seed data sources or interact with data. Sidecar container to be used in Kubernetes to seed data sources or interact with data.
For usage, check the [example_deployment.yaml](./example_deployment.yaml)

23
example_deployment.yaml Normal file
View File

@@ -0,0 +1,23 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: seed-sidecar
spec:
selector:
matchLabels:
app: seed-sidecar
template:
metadata:
labels:
app: seed-sidecar
spec:
containers:
- name: seed-sidecar
image: gitea.t000-n.de/t.behrendt/seedsidecar:latest
volumeMounts:
- mountPath: /mnt/data
name: data
volumes:
- name: data
persistentVolumeClaim:
claimName: data