updated displayed resources, package.json and docs

This commit is contained in:
Felix Kunde 2020-01-29 18:22:10 +01:00
parent 0a421995c8
commit a7421184b5
3 changed files with 9 additions and 8 deletions

View File

@ -514,8 +514,9 @@ kubectl apply -f ui/manifests
Make sure the pods for the operator and the UI are both running. For local
testing you need to apply proxying and port forwarding so that the UI can talk
to the K8s and Postgres Operator REST API. You can use the provided
`run_local.sh` script for this. Make sure it uses the correct URL to your K8s
API server, e.g. for minikube it would be `https://192.168.99.100:8443`.
`run_local.sh` script for this. Make sure Python dependencies are installed on
you machine and the correct URL to your K8s API server is used, e.g. for
minikube it would usually be `https://192.168.99.100:8443`.
```bash
./run_local.sh

View File

@ -1,6 +1,6 @@
{
"name": "postgres-operator-ui",
"version": "1.0.0",
"version": "1.3.0",
"description": "PostgreSQL Operator UI",
"main": "src/app.js",
"config": {

View File

@ -408,7 +408,7 @@ new
ref='cpuLimit'
type='number'
placeholder='{ cpu.state.limit.initialValue }'
min='1'
min='256'
required
value='{ cpu.state.limit.state }'
onchange='{ cpu.state.limit.edit }'
@ -427,7 +427,7 @@ new
ref='memoryRequest'
type='number'
placeholder='{ memory.state.request.initialValue }'
min='100'
min='1'
required
value='{ memory.state.request.state }'
onchange='{ memory.state.request.edit }'
@ -442,7 +442,7 @@ new
ref='memoryLimit'
type='number'
placeholder='{ memory.state.limit.initialValue }'
min='200'
min='256'
required
value='{ memory.state.limit.state }'
onchange='{ memory.state.limit.edit }'
@ -786,8 +786,8 @@ new
return instance
}
this.cpu = DynamicResource({ request: 100, limit: 1000 })
this.memory = DynamicResource({ request: 1, limit: 1 })
this.cpu = DynamicResource({ request: 100, limit: 500 })
this.memory = DynamicResource({ request: 100, limit: 500 })
this.backup = DynamicSet({
type: () => 'empty',