Skip to content

Commit

Permalink
Add NAS
Browse files Browse the repository at this point in the history
  • Loading branch information
jveski committed Mar 12, 2024
1 parent 7983665 commit f9c9abc
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 0 deletions.
5 changes: 5 additions & 0 deletions kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,10 @@ images:
newName: docker.io/postgres
newTag: "15.3"

- name: samba
newName: docker.io/dperson/samba
newTag: latest # yolo

- name: wikijs
newName: docker.io/requarks/wiki
digest: sha256:56000cf6a1df13bb9087897c4722fe25f4fd76491f92e746560e509b67e28a58
Expand Down Expand Up @@ -79,6 +83,7 @@ resources:
- manifests/psql-reporting.yaml
- manifests/psql-wikijs.yaml
- manifests/redirects.yaml
- manifests/samba.yaml
- manifests/wikijs.yaml

patches:
Expand Down
31 changes: 31 additions & 0 deletions manifests/samba.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: samba
labels:
app: samba
spec:
replicas: 1
strategy:
type: Recreate
selector:
matchLabels:
app: samba
template:
metadata:
labels:
app: samba
spec:
hostNetwork: true
volumes:
- name: data
hostPath:
path: /opt/nas

containers:
- name: samba
image: samba
args: ["-p", "-r", "-s", "TheLabNAS;/share;yes;no;yes;all;all;all"]
resources:
limits:
memory: 512Mi

0 comments on commit f9c9abc

Please sign in to comment.