38 lines
848 B
YAML
38 lines
848 B
YAML
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
name: attic
|
|
spec:
|
|
replicas: 1
|
|
selector:
|
|
matchLabels:
|
|
app: attic
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app: attic
|
|
spec:
|
|
containers:
|
|
- name: attic
|
|
image: ghcr.io/zhaofengli/attic:c4ffb5e86e928572e867bd3f81545293313e0a08
|
|
envFrom:
|
|
- secretRef:
|
|
name: attic-secret
|
|
- secretRef:
|
|
name: attic-bucket
|
|
volumeMounts:
|
|
- name: attic-pvc
|
|
mountPath: /var/empty/
|
|
resources:
|
|
limits:
|
|
memory: "2Gi"
|
|
cpu: "500m"
|
|
- name: multitool
|
|
image: wbitt/network-multitool
|
|
volumeMounts:
|
|
- name: attic-pvc
|
|
mountPath: /var/empty/
|
|
volumes:
|
|
- name: attic-pvc
|
|
persistentVolumeClaim:
|
|
claimName: attic-pvc |