Simplify config options of conduit. Now only supports PV. Also change mount path to /var/local so that it matches the typical Talos Linux config. Bump version to 0.2.2
This commit is contained in:
parent
cf08130fba
commit
8d496bf93a
2 changed files with 5 additions and 11 deletions
|
@ -4,5 +4,5 @@ description: Conduit is a simple, fast and reliable chat server powered by Matri
|
|||
|
||||
type: application
|
||||
|
||||
version: 0.2.1
|
||||
version: 0.2.2
|
||||
appVersion: "0.6.0"
|
||||
|
|
|
@ -62,7 +62,7 @@ spec:
|
|||
- name: "CONDUIT_SERVER_NAME"
|
||||
value: {{ .Values.conduit.server_name | quote }}
|
||||
- name: "CONDUIT_DATABASE_PATH"
|
||||
value: "/var/lib/matrix-conduit"
|
||||
value: "/var/local/matrix-conduit"
|
||||
- name: "CONDUIT_DATABASE_BACKEND"
|
||||
value: "rocksdb"
|
||||
- name: "CONDUIT_ALLOW_CHECK_FOR_UPDATE"
|
||||
|
@ -93,13 +93,11 @@ spec:
|
|||
- name: "CONDUIT_REGISTRATION_TOKEN"
|
||||
value: {{ . | quote }}
|
||||
{{- end }}
|
||||
{{- with .Values.conduit.wellKnownClient }}
|
||||
- name: "CONDUIT_WELL_KNOWN_CLIENT"
|
||||
value: {{ . | quote }}
|
||||
{{- end }}
|
||||
value: false
|
||||
volumeMounts:
|
||||
- name: "data"
|
||||
mountPath: "/var/lib/matrix-conduit"
|
||||
mountPath: "/var/local/matrix-conduit"
|
||||
{{- with .Values.nodeSelector }}
|
||||
nodeSelector:
|
||||
{{- toYaml . | nindent 8 }}
|
||||
|
@ -114,11 +112,7 @@ spec:
|
|||
{{- end }}
|
||||
volumes:
|
||||
- name: "data"
|
||||
{{- if .Values.persistence.hostPath }}
|
||||
hostPath:
|
||||
type: Directory
|
||||
path: {{ .Values.persistence.hostPath | quote }}
|
||||
{{- else if .Values.persistence.enabled }}
|
||||
{{- if .Values.persistence.enabled }}
|
||||
persistentVolumeClaim:
|
||||
claimName: {{ if .Values.persistence.existingClaim }}{{ .Values.persistence.existingClaim }}{{- else }}{{ template "conduit.fullname" . }}{{- end }}
|
||||
{{- else }}
|
||||
|
|
Loading…
Reference in a new issue