dotconfig/pods: add
This commit is contained in:
parent
679647542d
commit
2e05501c92
14 changed files with 755 additions and 0 deletions
34
dotconfig/pods/share/share-pod.yml
Normal file
34
dotconfig/pods/share/share-pod.yml
Normal file
|
@ -0,0 +1,34 @@
|
|||
apiversion: v1
|
||||
kind: Pod
|
||||
metadata:
|
||||
name: share-pod
|
||||
annotations:
|
||||
io.podman.annotations.infra.name: share-pod-infra
|
||||
spec:
|
||||
containers:
|
||||
- name: picoshare
|
||||
image: docker.io/mtlynch/picoshare:latest
|
||||
env:
|
||||
- name: PS_SHARED_SECRET
|
||||
value: ""
|
||||
- name: PORT
|
||||
value: 3000
|
||||
ports:
|
||||
- containerport: 3000
|
||||
hostport:
|
||||
protocol: TCP
|
||||
volumemounts:
|
||||
- name: picoshare-data
|
||||
mountpath: /data
|
||||
- name: localtime
|
||||
mountpath: /etc/localtime
|
||||
readonly: true
|
||||
|
||||
volumes:
|
||||
- name: picoshare-data
|
||||
persistentvolumeclaim:
|
||||
claimname: share-pod-picoshare-data
|
||||
- name: localtime
|
||||
hostpath:
|
||||
path: /etc/localtime
|
||||
type: File
|
7
dotconfig/pods/share/share-secrets.yml
Normal file
7
dotconfig/pods/share/share-secrets.yml
Normal file
|
@ -0,0 +1,7 @@
|
|||
apiversion: v1
|
||||
data:
|
||||
picoshare-password:
|
||||
kind: Secret
|
||||
metadata:
|
||||
creationtimestamp: null
|
||||
name: share-secrets
|
Loading…
Add table
Add a link
Reference in a new issue