logseq-syncthing chart
This commit is contained in:
44
logseq-syncthing-chart/templates/deployment.yaml
Normal file
44
logseq-syncthing-chart/templates/deployment.yaml
Normal file
@@ -0,0 +1,44 @@
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: {{ include "logseq-syncthing-chart.fullname" . }}
|
||||
labels:
|
||||
app: {{ include "logseq-syncthing-chart.name" . }}
|
||||
spec:
|
||||
replicas: {{ .Values.replicaCount }}
|
||||
selector:
|
||||
matchLabels:
|
||||
app: {{ include "logseq-syncthing-chart.name" . }}
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: {{ include "logseq-syncthing-chart.name" . }}
|
||||
spec:
|
||||
containers:
|
||||
- name: logseq
|
||||
image: "{{ .Values.image.logseq.repository }}:{{ .Values.image.logseq.tag }}"
|
||||
imagePullPolicy: {{ .Values.image.logseq.pullPolicy }}
|
||||
ports:
|
||||
- containerPort: 80
|
||||
volumeMounts:
|
||||
- name: logseq-vault
|
||||
mountPath: /vault
|
||||
- name: syncthing
|
||||
image: "{{ .Values.image.syncthing.repository }}:{{ .Values.image.syncthing.tag }}"
|
||||
imagePullPolicy: {{ .Values.image.syncthing.pullPolicy }}
|
||||
ports:
|
||||
- containerPort: 8384
|
||||
volumeMounts:
|
||||
- name: logseq-vault
|
||||
mountPath: /vault
|
||||
- name: syncthing-config
|
||||
mountPath: /config
|
||||
|
||||
volumes:
|
||||
- name: logseq-vault
|
||||
persistentVolumeClaim:
|
||||
claimName: logseq-vault-pvc
|
||||
- name: syncthing-config
|
||||
persistentVolumeClaim:
|
||||
claimName: syncthing-config-pvc
|
||||
|
||||
Reference in New Issue
Block a user