fix env var in UI chart (#967)
* fix env var in UI chart * re-include 1.4.0 in helm chart index * fix import in UI main.py and updated images
This commit is contained in:
parent
bb3d2fa678
commit
62bde6faa2
|
|
@ -3,10 +3,10 @@ entries:
|
||||||
postgres-operator-ui:
|
postgres-operator-ui:
|
||||||
- apiVersion: v1
|
- apiVersion: v1
|
||||||
appVersion: 1.5.0
|
appVersion: 1.5.0
|
||||||
created: "2020-05-04T16:36:04.770110276+02:00"
|
created: "2020-05-08T12:07:31.651762139+02:00"
|
||||||
description: Postgres Operator UI provides a graphical interface for a convenient
|
description: Postgres Operator UI provides a graphical interface for a convenient
|
||||||
database-as-a-service user experience
|
database-as-a-service user experience
|
||||||
digest: ff373185f9d125f918935b226eaed0a245cc4dd561f884424d92f094b279afe9
|
digest: d7a36de8a3716f7b7954e2e51ed07863ea764dbb129a2fd3ac6a453f9e98a115
|
||||||
home: https://github.com/zalando/postgres-operator
|
home: https://github.com/zalando/postgres-operator
|
||||||
keywords:
|
keywords:
|
||||||
- postgres
|
- postgres
|
||||||
|
|
@ -26,7 +26,7 @@ entries:
|
||||||
version: 1.5.0
|
version: 1.5.0
|
||||||
- apiVersion: v1
|
- apiVersion: v1
|
||||||
appVersion: 1.4.0
|
appVersion: 1.4.0
|
||||||
created: "2020-05-04T16:36:04.769604808+02:00"
|
created: "2020-05-08T12:07:31.651223951+02:00"
|
||||||
description: Postgres Operator UI provides a graphical interface for a convenient
|
description: Postgres Operator UI provides a graphical interface for a convenient
|
||||||
database-as-a-service user experience
|
database-as-a-service user experience
|
||||||
digest: 00e0eff7056d56467cd5c975657fbb76c8d01accd25a4b7aca81bc42aeac961d
|
digest: 00e0eff7056d56467cd5c975657fbb76c8d01accd25a4b7aca81bc42aeac961d
|
||||||
|
|
@ -49,4 +49,4 @@ entries:
|
||||||
urls:
|
urls:
|
||||||
- postgres-operator-ui-1.4.0.tgz
|
- postgres-operator-ui-1.4.0.tgz
|
||||||
version: 1.4.0
|
version: 1.4.0
|
||||||
generated: "2020-05-04T16:36:04.768922456+02:00"
|
generated: "2020-05-08T12:07:31.650495247+02:00"
|
||||||
|
|
|
||||||
Binary file not shown.
|
|
@ -38,6 +38,7 @@ rules:
|
||||||
- apiGroups:
|
- apiGroups:
|
||||||
- apps
|
- apps
|
||||||
resources:
|
resources:
|
||||||
|
- deployments
|
||||||
- statefulsets
|
- statefulsets
|
||||||
verbs:
|
verbs:
|
||||||
- get
|
- get
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
apiVersion: "apps/v1"
|
apiVersion: apps/v1
|
||||||
kind: "Deployment"
|
kind: Deployment
|
||||||
metadata:
|
metadata:
|
||||||
labels:
|
labels:
|
||||||
app.kubernetes.io/name: {{ template "postgres-operator-ui.name" . }}
|
app.kubernetes.io/name: {{ template "postgres-operator-ui.name" . }}
|
||||||
|
|
@ -44,7 +44,7 @@ spec:
|
||||||
- name: "OPERATOR_CLUSTER_NAME_LABEL"
|
- name: "OPERATOR_CLUSTER_NAME_LABEL"
|
||||||
value: {{ .Values.envs.operatorClusterNameLabel }}
|
value: {{ .Values.envs.operatorClusterNameLabel }}
|
||||||
- name: "RESOURCES_VISIBLE"
|
- name: "RESOURCES_VISIBLE"
|
||||||
value: {{ .Values.envs.resourcesVisible }}
|
value: "{{ .Values.envs.resourcesVisible }}"
|
||||||
- name: "TARGET_NAMESPACE"
|
- name: "TARGET_NAMESPACE"
|
||||||
value: {{ .Values.envs.targetNamespace }}
|
value: {{ .Values.envs.targetNamespace }}
|
||||||
- name: "TEAMS"
|
- name: "TEAMS"
|
||||||
|
|
|
||||||
|
|
@ -8,7 +8,7 @@ replicaCount: 1
|
||||||
image:
|
image:
|
||||||
registry: registry.opensource.zalan.do
|
registry: registry.opensource.zalan.do
|
||||||
repository: acid/postgres-operator-ui
|
repository: acid/postgres-operator-ui
|
||||||
tag: v1.5.0
|
tag: v1.5.0-dirty
|
||||||
pullPolicy: "IfNotPresent"
|
pullPolicy: "IfNotPresent"
|
||||||
|
|
||||||
rbac:
|
rbac:
|
||||||
|
|
|
||||||
|
|
@ -20,7 +20,7 @@ spec:
|
||||||
serviceAccountName: postgres-operator-ui
|
serviceAccountName: postgres-operator-ui
|
||||||
containers:
|
containers:
|
||||||
- name: "service"
|
- name: "service"
|
||||||
image: registry.opensource.zalan.do/acid/postgres-operator-ui:v1.5.0
|
image: registry.opensource.zalan.do/acid/postgres-operator-ui:v1.5.0-dirty
|
||||||
ports:
|
ports:
|
||||||
- containerPort: 8081
|
- containerPort: 8081
|
||||||
protocol: "TCP"
|
protocol: "TCP"
|
||||||
|
|
|
||||||
|
|
@ -7,6 +7,7 @@ gevent.monkey.patch_all()
|
||||||
|
|
||||||
import requests
|
import requests
|
||||||
import tokens
|
import tokens
|
||||||
|
import sys
|
||||||
|
|
||||||
from backoff import expo, on_exception
|
from backoff import expo, on_exception
|
||||||
from click import ParamType, command, echo, option
|
from click import ParamType, command, echo, option
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue