mirror of
https://github.com/matrix-org/dendrite
synced 2024-06-13 09:58:59 +02:00
d579ddb8e7
As discussed yesterday, a simplified version of [my helm](https://github.com/S7evinK/dendrite-helm) which deploys a monolith with internal NATS and an optionally enabled PostgreSQL server. If the PostgreSQL dependency is not enabled, a user specified connection string is constructed. Co-authored-by: kegsay <kegan@matrix.org>
18 lines
430 B
YAML
18 lines
430 B
YAML
---
|
|
apiVersion: v1
|
|
kind: Pod
|
|
metadata:
|
|
name: "{{ include "dendrite.fullname" . }}-test-version"
|
|
labels:
|
|
{{- include "dendrite.selectorLabels" . | nindent 4 }}
|
|
annotations:
|
|
"helm.sh/hook": test
|
|
spec:
|
|
containers:
|
|
- name: curl
|
|
image: curlimages/curl
|
|
imagePullPolicy: IfNotPresent
|
|
args:
|
|
- 'http://{{- include "dendrite.fullname" . -}}:8008/_matrix/client/versions'
|
|
restartPolicy: Never
|