Compare commits
3 Commits
c9a3b2bede
...
ee234edf42
| Author | SHA1 | Date | |
|---|---|---|---|
|
ee234edf42
|
|||
| 605b170072 | |||
| fc478400c6 |
@@ -1,24 +1,5 @@
|
||||
apiVersion: v1
|
||||
kind: PersistentVolumeClaim
|
||||
metadata:
|
||||
name: libation-config
|
||||
namespace: {{ .Release.Namespace }}
|
||||
labels:
|
||||
app.kubernetes.io/name: libation-config
|
||||
app.kubernetes.io/instance: {{ .Release.Name }}
|
||||
app.kubernetes.io/part-of: {{ .Release.Name }}
|
||||
spec:
|
||||
storageClassName: nfs-client
|
||||
accessModes:
|
||||
- ReadWriteOnce
|
||||
resources:
|
||||
requests:
|
||||
storage: 1Gi
|
||||
volumeMode: Filesystem
|
||||
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: PersistentVolumeClaim
|
||||
metadata:
|
||||
name: libation-nfs-storage
|
||||
namespace: {{ .Release.Namespace }}
|
||||
|
||||
@@ -45,7 +45,7 @@ libation:
|
||||
cpu: 10m
|
||||
memory: 32Mi
|
||||
persistence:
|
||||
config-new:
|
||||
config:
|
||||
forceRename: libation
|
||||
storageClass: ceph-block
|
||||
accessMode: ReadWriteOnce
|
||||
|
||||
@@ -14,9 +14,11 @@ data:
|
||||
echo "curl could not be found, installing";
|
||||
apk add curl;
|
||||
fi;
|
||||
echo ">> Setting port to random ...";
|
||||
curl -i -X POST --silent --write-out '%{http_code}' -d "json={\"random_port\": \"true\"}" "http://localhost:8080/api/v2/app/setPreferences";
|
||||
sleep 10
|
||||
echo "updating port with $1";
|
||||
echo ">> Sleeping for changes to take effect";
|
||||
sleep 10;
|
||||
echo ">> Updating port with $1 ...";
|
||||
curl -i -X POST --silent --write-out '%{http_code}' -d "json={\"listen_port\": \"${1}\"}" "http://localhost:8080/api/v2/app/setPreferences";
|
||||
|
||||
---
|
||||
|
||||
@@ -9,7 +9,7 @@ stalwart:
|
||||
main:
|
||||
image:
|
||||
repository: stalwartlabs/stalwart
|
||||
tag: v0.14.1
|
||||
tag: v0.15.0
|
||||
pullPolicy: IfNotPresent
|
||||
resources:
|
||||
requests:
|
||||
|
||||
Reference in New Issue
Block a user