chore: Update manifests after change
This commit is contained in:
@@ -51,8 +51,8 @@ spec:
|
|||||||
memory: 128Mi
|
memory: 128Mi
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- mountPath: /config
|
- mountPath: /config
|
||||||
name: config-new
|
name: config
|
||||||
volumes:
|
volumes:
|
||||||
- name: config-new
|
- name: config
|
||||||
persistentVolumeClaim:
|
persistentVolumeClaim:
|
||||||
claimName: libation
|
claimName: libation
|
||||||
|
|||||||
@@ -46,8 +46,8 @@ spec:
|
|||||||
memory: 32Mi
|
memory: 32Mi
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- mountPath: /config
|
- mountPath: /config
|
||||||
name: config-new
|
name: config
|
||||||
volumes:
|
volumes:
|
||||||
- name: config-new
|
- name: config
|
||||||
persistentVolumeClaim:
|
persistentVolumeClaim:
|
||||||
claimName: libation
|
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";
|
echo "curl could not be found, installing";
|
||||||
apk add curl;
|
apk add curl;
|
||||||
fi;
|
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";
|
curl -i -X POST --silent --write-out '%{http_code}' -d "json={\"random_port\": \"true\"}" "http://localhost:8080/api/v2/app/setPreferences";
|
||||||
sleep 10
|
echo ">> Sleeping for changes to take effect";
|
||||||
echo "updating port with $1";
|
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";
|
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