chore: Update manifests after change
This commit is contained in:
@@ -51,8 +51,8 @@ spec:
|
||||
memory: 128Mi
|
||||
volumeMounts:
|
||||
- mountPath: /config
|
||||
name: config-new
|
||||
name: config
|
||||
volumes:
|
||||
- name: config-new
|
||||
- name: config
|
||||
persistentVolumeClaim:
|
||||
claimName: libation
|
||||
|
||||
@@ -46,8 +46,8 @@ spec:
|
||||
memory: 32Mi
|
||||
volumeMounts:
|
||||
- mountPath: /config
|
||||
name: config-new
|
||||
name: config
|
||||
volumes:
|
||||
- name: config-new
|
||||
- name: config
|
||||
persistentVolumeClaim:
|
||||
claimName: libation
|
||||
|
||||
@@ -1,17 +0,0 @@
|
||||
apiVersion: v1
|
||||
kind: PersistentVolumeClaim
|
||||
metadata:
|
||||
name: libation-config
|
||||
namespace: libation
|
||||
labels:
|
||||
app.kubernetes.io/name: libation-config
|
||||
app.kubernetes.io/instance: libation
|
||||
app.kubernetes.io/part-of: libation
|
||||
spec:
|
||||
storageClassName: nfs-client
|
||||
accessModes:
|
||||
- ReadWriteOnce
|
||||
resources:
|
||||
requests:
|
||||
storage: 1Gi
|
||||
volumeMode: Filesystem
|
||||
@@ -14,7 +14,9 @@ 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";
|
||||
|
||||
Reference in New Issue
Block a user