From e55f15328cd3fd181f9869424041ceab165fb8cb Mon Sep 17 00:00:00 2001 From: Jonny Ervine Date: Sun, 23 Jun 2024 16:02:01 +0800 Subject: [PATCH] Bump UI version --- postgres-operator-ui-1.10.1/.helmignore | 22 ++ postgres-operator-ui-1.10.1/Chart.yaml | 19 ++ postgres-operator-ui-1.10.1/index.yaml | 165 +++++++++++++++ .../templates/NOTES.txt | 3 + .../templates/_helpers.tpl | 39 ++++ .../templates/clusterrole.yaml | 53 +++++ .../templates/clusterrolebinding.yaml | 19 ++ .../templates/deployment.yaml | 96 +++++++++ .../templates/ingress.yaml | 60 ++++++ .../templates/service.yaml | 28 +++ .../templates/serviceaccount.yaml | 12 ++ .../values.home.yaml | 0 postgres-operator-ui-1.10.1/values.yaml | 112 ++++++++++ postgres-operator-ui/Chart.yaml | 4 +- postgres-operator-ui/index.yaml | 192 +++++++++--------- .../templates/deployment.yaml | 13 +- postgres-operator-ui/values.yaml | 22 +- 17 files changed, 756 insertions(+), 103 deletions(-) create mode 100644 postgres-operator-ui-1.10.1/.helmignore create mode 100644 postgres-operator-ui-1.10.1/Chart.yaml create mode 100644 postgres-operator-ui-1.10.1/index.yaml create mode 100644 postgres-operator-ui-1.10.1/templates/NOTES.txt create mode 100644 postgres-operator-ui-1.10.1/templates/_helpers.tpl create mode 100644 postgres-operator-ui-1.10.1/templates/clusterrole.yaml create mode 100644 postgres-operator-ui-1.10.1/templates/clusterrolebinding.yaml create mode 100644 postgres-operator-ui-1.10.1/templates/deployment.yaml create mode 100644 postgres-operator-ui-1.10.1/templates/ingress.yaml create mode 100644 postgres-operator-ui-1.10.1/templates/service.yaml create mode 100644 postgres-operator-ui-1.10.1/templates/serviceaccount.yaml rename {postgres-operator-ui => postgres-operator-ui-1.10.1}/values.home.yaml (100%) create mode 100644 postgres-operator-ui-1.10.1/values.yaml diff --git a/postgres-operator-ui-1.10.1/.helmignore b/postgres-operator-ui-1.10.1/.helmignore new file mode 100644 index 0000000..50af031 --- /dev/null +++ b/postgres-operator-ui-1.10.1/.helmignore @@ -0,0 +1,22 @@ +# Patterns to ignore when building packages. +# This supports shell glob matching, relative path matching, and +# negation (prefixed with !). Only one pattern per line. +.DS_Store +# Common VCS dirs +.git/ +.gitignore +.bzr/ +.bzrignore +.hg/ +.hgignore +.svn/ +# Common backup files +*.swp +*.bak +*.tmp +*~ +# Various IDEs +.project +.idea/ +*.tmproj +.vscode/ diff --git a/postgres-operator-ui-1.10.1/Chart.yaml b/postgres-operator-ui-1.10.1/Chart.yaml new file mode 100644 index 0000000..292ab60 --- /dev/null +++ b/postgres-operator-ui-1.10.1/Chart.yaml @@ -0,0 +1,19 @@ +apiVersion: v2 +appVersion: 1.10.1 +description: Postgres Operator UI provides a graphical interface for a convenient + database-as-a-service user experience +home: https://github.com/zalando/postgres-operator +keywords: +- postgres +- operator +- ui +- cloud-native +- patroni +- spilo +maintainers: +- email: opensource@zalando.de + name: Zalando +name: postgres-operator-ui +sources: +- https://github.com/zalando/postgres-operator +version: 1.10.1 diff --git a/postgres-operator-ui-1.10.1/index.yaml b/postgres-operator-ui-1.10.1/index.yaml new file mode 100644 index 0000000..8f62cee --- /dev/null +++ b/postgres-operator-ui-1.10.1/index.yaml @@ -0,0 +1,165 @@ +apiVersion: v1 +entries: + postgres-operator-ui: + - apiVersion: v2 + appVersion: 1.10.0 + created: "2023-04-20T17:43:19.406989589+02:00" + description: Postgres Operator UI provides a graphical interface for a convenient + database-as-a-service user experience + digest: 47413650e3188539ae778a601998efa2c4f80b8aa16e3668a2fc7b72e014b605 + home: https://github.com/zalando/postgres-operator + keywords: + - postgres + - operator + - ui + - cloud-native + - patroni + - spilo + maintainers: + - email: opensource@zalando.de + name: Zalando + name: postgres-operator-ui + sources: + - https://github.com/zalando/postgres-operator + urls: + - postgres-operator-ui-1.10.0.tgz + version: 1.10.0 + - apiVersion: v2 + appVersion: 1.9.0 + created: "2023-04-20T17:43:19.412696022+02:00" + description: Postgres Operator UI provides a graphical interface for a convenient + database-as-a-service user experience + digest: df434af6c8b697fe0631017ecc25e3c79e125361ae6622347cea41a545153bdc + home: https://github.com/zalando/postgres-operator + keywords: + - postgres + - operator + - ui + - cloud-native + - patroni + - spilo + maintainers: + - email: opensource@zalando.de + name: Zalando + name: postgres-operator-ui + sources: + - https://github.com/zalando/postgres-operator + urls: + - postgres-operator-ui-1.9.0.tgz + version: 1.9.0 + - apiVersion: v2 + appVersion: 1.8.2 + created: "2023-04-20T17:43:19.412121611+02:00" + description: Postgres Operator UI provides a graphical interface for a convenient + database-as-a-service user experience + digest: fbfc90fa8fd007a08a7c02e0ec9108bb8282cbb42b8c976d88f2193d6edff30c + home: https://github.com/zalando/postgres-operator + keywords: + - postgres + - operator + - ui + - cloud-native + - patroni + - spilo + maintainers: + - email: opensource@zalando.de + name: Zalando + name: postgres-operator-ui + sources: + - https://github.com/zalando/postgres-operator + urls: + - postgres-operator-ui-1.8.2.tgz + version: 1.8.2 + - apiVersion: v2 + appVersion: 1.8.1 + created: "2023-04-20T17:43:19.411558436+02:00" + description: Postgres Operator UI provides a graphical interface for a convenient + database-as-a-service user experience + digest: d26342e385ea51a0fbfbe23477999863e9489664ae803ea5c56da8897db84d24 + home: https://github.com/zalando/postgres-operator + keywords: + - postgres + - operator + - ui + - cloud-native + - patroni + - spilo + maintainers: + - email: opensource@zalando.de + name: Zalando + name: postgres-operator-ui + sources: + - https://github.com/zalando/postgres-operator + urls: + - postgres-operator-ui-1.8.1.tgz + version: 1.8.1 + - apiVersion: v1 + appVersion: 1.8.0 + created: "2023-04-20T17:43:19.41042838+02:00" + description: Postgres Operator UI provides a graphical interface for a convenient + database-as-a-service user experience + digest: d4a7b40c23fd167841cc28342afdbd5ecc809181913a5c31061c83139187f148 + home: https://github.com/zalando/postgres-operator + keywords: + - postgres + - operator + - ui + - cloud-native + - patroni + - spilo + maintainers: + - email: opensource@zalando.de + name: Zalando + name: postgres-operator-ui + sources: + - https://github.com/zalando/postgres-operator + urls: + - postgres-operator-ui-1.8.0.tgz + version: 1.8.0 + - apiVersion: v1 + appVersion: 1.7.1 + created: "2023-04-20T17:43:19.409317912+02:00" + description: Postgres Operator UI provides a graphical interface for a convenient + database-as-a-service user experience + digest: 97aed1a1d37cd5f8441eea9522f38e56cc829786ad2134c437a5e6a15c995869 + home: https://github.com/zalando/postgres-operator + keywords: + - postgres + - operator + - ui + - cloud-native + - patroni + - spilo + maintainers: + - email: opensource@zalando.de + name: Zalando + name: postgres-operator-ui + sources: + - https://github.com/zalando/postgres-operator + urls: + - postgres-operator-ui-1.7.1.tgz + version: 1.7.1 + - apiVersion: v1 + appVersion: 1.7.0 + created: "2023-04-20T17:43:19.40859522+02:00" + description: Postgres Operator UI provides a graphical interface for a convenient + database-as-a-service user experience + digest: 37fba1968347daad393dbd1c6ee6e5b6a24d1095f972c0102197531c62dcada8 + home: https://github.com/zalando/postgres-operator + keywords: + - postgres + - operator + - ui + - cloud-native + - patroni + - spilo + maintainers: + - email: opensource@zalando.de + name: Zalando + name: postgres-operator-ui + sources: + - https://github.com/zalando/postgres-operator + urls: + - postgres-operator-ui-1.7.0.tgz + version: 1.7.0 +generated: "2023-04-20T17:43:19.40598429+02:00" diff --git a/postgres-operator-ui-1.10.1/templates/NOTES.txt b/postgres-operator-ui-1.10.1/templates/NOTES.txt new file mode 100644 index 0000000..7e91428 --- /dev/null +++ b/postgres-operator-ui-1.10.1/templates/NOTES.txt @@ -0,0 +1,3 @@ +To verify that postgres-operator has started, run: + + kubectl --namespace={{ .Release.Namespace }} get pods -l "app.kubernetes.io/name={{ template "postgres-operator-ui.name" . }}" \ No newline at end of file diff --git a/postgres-operator-ui-1.10.1/templates/_helpers.tpl b/postgres-operator-ui-1.10.1/templates/_helpers.tpl new file mode 100644 index 0000000..d83b929 --- /dev/null +++ b/postgres-operator-ui-1.10.1/templates/_helpers.tpl @@ -0,0 +1,39 @@ +{{/* vim: set filetype=mustache: */}} +{{/* +Expand the name of the chart. +*/}} +{{- define "postgres-operator-ui.name" -}} +{{- default .Chart.Name .Values.nameOverride | trunc 63 | trimSuffix "-" -}} +{{- end -}} + +{{/* +Create a default fully qualified app name. +We truncate at 63 chars because some Kubernetes name fields are limited to this (by the DNS naming spec). +If release name contains chart name it will be used as a full name. +*/}} +{{- define "postgres-operator-ui.fullname" -}} +{{- if .Values.fullnameOverride -}} +{{- .Values.fullnameOverride | trunc 63 | trimSuffix "-" -}} +{{- else -}} +{{- $name := default .Chart.Name .Values.nameOverride -}} +{{- if contains $name .Release.Name -}} +{{- .Release.Name | trunc 63 | trimSuffix "-" -}} +{{- else -}} +{{- printf "%s-%s" .Release.Name $name | trunc 63 | trimSuffix "-" -}} +{{- end -}} +{{- end -}} +{{- end -}} + +{{/* +Create a service account name. +*/}} +{{- define "postgres-operator-ui.serviceAccountName" -}} +{{ default (include "postgres-operator-ui.fullname" .) .Values.serviceAccount.name }} +{{- end -}} + +{{/* +Create chart name and version as used by the chart label. +*/}} +{{- define "postgres-operator-ui.chart" -}} +{{- printf "%s-%s" .Chart.Name .Chart.Version | replace "+" "_" | trunc 63 | trimSuffix "-" -}} +{{- end -}} diff --git a/postgres-operator-ui-1.10.1/templates/clusterrole.yaml b/postgres-operator-ui-1.10.1/templates/clusterrole.yaml new file mode 100644 index 0000000..57a1a63 --- /dev/null +++ b/postgres-operator-ui-1.10.1/templates/clusterrole.yaml @@ -0,0 +1,53 @@ +{{ if .Values.rbac.create }} +apiVersion: rbac.authorization.k8s.io/v1 +kind: ClusterRole +metadata: + name: {{ include "postgres-operator-ui.serviceAccountName" . }} + labels: + app.kubernetes.io/name: {{ template "postgres-operator-ui.name" . }} + helm.sh/chart: {{ template "postgres-operator-ui.chart" . }} + app.kubernetes.io/managed-by: {{ .Release.Service }} + app.kubernetes.io/instance: {{ .Release.Name }} +rules: +- apiGroups: + - acid.zalan.do + resources: + - postgresqls + verbs: + - create + - delete + - get + - list + - patch + - update +- apiGroups: + - "" + resources: + - pods + verbs: + - get + - list + - watch +- apiGroups: + - "" + resources: + - services + verbs: + - get + - list +- apiGroups: + - apps + resources: + - deployments + - statefulsets + verbs: + - get + - list +- apiGroups: + - "" + resources: + - namespaces + verbs: + - get + - list +{{ end }} diff --git a/postgres-operator-ui-1.10.1/templates/clusterrolebinding.yaml b/postgres-operator-ui-1.10.1/templates/clusterrolebinding.yaml new file mode 100644 index 0000000..7c874d3 --- /dev/null +++ b/postgres-operator-ui-1.10.1/templates/clusterrolebinding.yaml @@ -0,0 +1,19 @@ +{{ if .Values.rbac.create }} +apiVersion: rbac.authorization.k8s.io/v1 +kind: ClusterRoleBinding +metadata: + name: {{ include "postgres-operator-ui.serviceAccountName" . }} + labels: + app.kubernetes.io/name: {{ template "postgres-operator-ui.name" . }} + helm.sh/chart: {{ template "postgres-operator-ui.chart" . }} + app.kubernetes.io/managed-by: {{ .Release.Service }} + app.kubernetes.io/instance: {{ .Release.Name }} +roleRef: + apiGroup: rbac.authorization.k8s.io + kind: ClusterRole + name: {{ include "postgres-operator-ui.serviceAccountName" . }} +subjects: +- kind: ServiceAccount + name: {{ include "postgres-operator-ui.serviceAccountName" . }} + namespace: {{ .Release.Namespace }} +{{ end }} diff --git a/postgres-operator-ui-1.10.1/templates/deployment.yaml b/postgres-operator-ui-1.10.1/templates/deployment.yaml new file mode 100644 index 0000000..5ae9e00 --- /dev/null +++ b/postgres-operator-ui-1.10.1/templates/deployment.yaml @@ -0,0 +1,96 @@ +apiVersion: apps/v1 +kind: Deployment +metadata: + labels: + app.kubernetes.io/name: {{ template "postgres-operator-ui.name" . }} + helm.sh/chart: {{ template "postgres-operator-ui.chart" . }} + app.kubernetes.io/managed-by: {{ .Release.Service }} + app.kubernetes.io/instance: {{ .Release.Name }} + name: {{ template "postgres-operator-ui.fullname" . }} + namespace: {{ .Release.Namespace }} +spec: + replicas: 1 + selector: + matchLabels: + app.kubernetes.io/name: {{ template "postgres-operator-ui.name" . }} + app.kubernetes.io/instance: {{ .Release.Name }} + template: + metadata: + labels: + app.kubernetes.io/name: {{ template "postgres-operator-ui.name" . }} + app.kubernetes.io/instance: {{ .Release.Name }} + {{- with .Values.podAnnotations }} + annotations: + {{- toYaml . | nindent 8 }} + {{- end }} + spec: + serviceAccountName: {{ include "postgres-operator-ui.serviceAccountName" . }} + {{- if .Values.imagePullSecrets }} + imagePullSecrets: + {{ toYaml .Values.imagePullSecrets | indent 8 }} + {{- end }} + containers: + - name: "service" + image: "{{ .Values.image.registry }}/{{ .Values.image.repository }}:{{ .Values.image.tag }}" + imagePullPolicy: {{ .Values.image.pullPolicy }} + ports: + - containerPort: 8081 + protocol: "TCP" + readinessProbe: + httpGet: + path: "/health" + port: 8081 + initialDelaySeconds: 5 + timeoutSeconds: 1 + resources: + {{- toYaml .Values.resources | nindent 12 }} + env: + - name: "APP_URL" + value: {{ .Values.envs.appUrl }} + - name: "OPERATOR_API_URL" + value: {{ .Values.envs.operatorApiUrl | quote }} + - name: "OPERATOR_CLUSTER_NAME_LABEL" + value: {{ .Values.envs.operatorClusterNameLabel | quote }} + - name: "RESOURCES_VISIBLE" + value: {{ .Values.envs.resourcesVisible | quote }} + - name: "TARGET_NAMESPACE" + value: {{ .Values.envs.targetNamespace | quote }} + - name: "TEAMS" + value: |- + [ + {{- range(initial .Values.envs.teams) }} + {{ . | quote }}, + {{- end }} + {{ last .Values.envs.teams | quote }} + ] + - name: "OPERATOR_UI_CONFIG" + value: |- + { + "docs_link":"https://postgres-operator.readthedocs.io/en/latest/", + "dns_format_string": "{0}.{1}", + "databases_visible": true, + "master_load_balancer_visible": true, + "nat_gateways_visible": false, + "replica_load_balancer_visible": true, + "resources_visible": true, + "users_visible": true, + "cost_ebs": 0.0952, + "cost_iops": 0.006, + "cost_throughput": 0.0476, + "cost_core": 0.0575, + "cost_memory": 0.014375, + "free_iops": 3000, + "free_throughput": 125, + "limit_iops": 16000, + "limit_throughput": 1000, + "postgresql_versions": [ + "15", + "14", + "13", + "12", + "11" + ] + } + {{- if .Values.extraEnvs }} + {{- .Values.extraEnvs | toYaml | nindent 12 }} + {{- end }} diff --git a/postgres-operator-ui-1.10.1/templates/ingress.yaml b/postgres-operator-ui-1.10.1/templates/ingress.yaml new file mode 100644 index 0000000..75bf790 --- /dev/null +++ b/postgres-operator-ui-1.10.1/templates/ingress.yaml @@ -0,0 +1,60 @@ +{{- if .Values.ingress.enabled -}} +{{- $fullName := include "postgres-operator-ui.fullname" . -}} +{{- $svcPort := .Values.service.port -}} + +{{- if semverCompare ">=1.19-0" .Capabilities.KubeVersion.GitVersion -}} +apiVersion: networking.k8s.io/v1 +{{- else if semverCompare ">=1.14-0" .Capabilities.KubeVersion.GitVersion -}} +apiVersion: networking.k8s.io/v1beta1 +{{- else -}} +apiVersion: extensions/v1beta1 +{{- end }} +kind: Ingress +metadata: + name: {{ $fullName }} + namespace: {{ .Release.Namespace }} + labels: + app.kubernetes.io/name: {{ template "postgres-operator-ui.name" . }} + helm.sh/chart: {{ template "postgres-operator-ui.chart" . }} + app.kubernetes.io/managed-by: {{ .Release.Service }} + app.kubernetes.io/instance: {{ .Release.Name }} + {{- with .Values.ingress.annotations }} + annotations: + {{- toYaml . | nindent 4 }} + {{- end }} +spec: +{{- if .Values.ingress.ingressClassName }} + ingressClassName: {{ .Values.ingress.ingressClassName }} +{{- end }} +{{- if .Values.ingress.tls }} + tls: + {{- range .Values.ingress.tls }} + - hosts: + {{- range .hosts }} + - {{ . | quote }} + {{- end }} + secretName: {{ .secretName }} + {{- end }} +{{- end }} + rules: + {{- range .Values.ingress.hosts }} + - host: {{ .host | quote }} + http: + paths: + {{- range .paths }} + - path: {{ . }} + {{ if semverCompare ">=1.19-0" $.Capabilities.KubeVersion.GitVersion -}} + pathType: Prefix + backend: + service: + name: {{ $fullName }} + port: + number: {{ $svcPort }} + {{- else -}} + backend: + serviceName: {{ $fullName }} + servicePort: {{ $svcPort }} + {{- end -}} + {{- end }} + {{- end }} +{{- end }} diff --git a/postgres-operator-ui-1.10.1/templates/service.yaml b/postgres-operator-ui-1.10.1/templates/service.yaml new file mode 100644 index 0000000..c93e076 --- /dev/null +++ b/postgres-operator-ui-1.10.1/templates/service.yaml @@ -0,0 +1,28 @@ +apiVersion: v1 +kind: Service +metadata: + labels: + app.kubernetes.io/name: {{ template "postgres-operator-ui.name" . }} + helm.sh/chart: {{ template "postgres-operator-ui.chart" . }} + app.kubernetes.io/managed-by: {{ .Release.Service }} + app.kubernetes.io/instance: {{ .Release.Name }} + {{- with .Values.service.annotations }} + annotations: + {{- toYaml . | nindent 4 }} + {{- end }} + name: {{ template "postgres-operator-ui.fullname" . }} + namespace: {{ .Release.Namespace }} +spec: + ports: + - port: {{ .Values.service.port }} + targetPort: 8081 + {{- if and (eq .Values.service.type "NodePort") .Values.service.nodePort }} + nodePort: {{ .Values.service.nodePort }} + {{- end }} + protocol: TCP + selector: + app.kubernetes.io/instance: {{ .Release.Name }} + app.kubernetes.io/name: {{ template "postgres-operator-ui.name" . }} + type: {{ .Values.service.type }} + + diff --git a/postgres-operator-ui-1.10.1/templates/serviceaccount.yaml b/postgres-operator-ui-1.10.1/templates/serviceaccount.yaml new file mode 100644 index 0000000..94a9ca5 --- /dev/null +++ b/postgres-operator-ui-1.10.1/templates/serviceaccount.yaml @@ -0,0 +1,12 @@ +{{ if .Values.serviceAccount.create }} +apiVersion: v1 +kind: ServiceAccount +metadata: + name: {{ include "postgres-operator-ui.serviceAccountName" . }} + namespace: {{ .Release.Namespace }} + labels: + app.kubernetes.io/name: {{ template "postgres-operator-ui.name" . }} + helm.sh/chart: {{ template "postgres-operator-ui.chart" . }} + app.kubernetes.io/managed-by: {{ .Release.Service }} + app.kubernetes.io/instance: {{ .Release.Name }} +{{ end }} diff --git a/postgres-operator-ui/values.home.yaml b/postgres-operator-ui-1.10.1/values.home.yaml similarity index 100% rename from postgres-operator-ui/values.home.yaml rename to postgres-operator-ui-1.10.1/values.home.yaml diff --git a/postgres-operator-ui-1.10.1/values.yaml b/postgres-operator-ui-1.10.1/values.yaml new file mode 100644 index 0000000..23eae0c --- /dev/null +++ b/postgres-operator-ui-1.10.1/values.yaml @@ -0,0 +1,112 @@ +# Default values for postgres-operator-ui. +# This is a YAML-formatted file. +# Declare variables to be passed into your templates. + +replicaCount: 1 + +# configure ui image +image: + registry: registry.opensource.zalan.do + repository: acid/postgres-operator-ui + tag: v1.10.1 + pullPolicy: "IfNotPresent" + +# Optionally specify an array of imagePullSecrets. +# Secrets must be manually created in the namespace. +# ref: https://kubernetes.io/docs/concepts/containers/images/#specifying-imagepullsecrets-on-a-pod +# imagePullSecrets: +# - name: + +rbac: + # Specifies whether RBAC resources should be created + create: true + +serviceAccount: + # Specifies whether a ServiceAccount should be created + create: true + # The name of the ServiceAccount to use. + # If not set and create is true, a name is generated using the fullname template + name: + +# configure UI pod resources +resources: + limits: + cpu: 200m + memory: 200Mi + requests: + cpu: 100m + memory: 100Mi + +# configure UI ENVs +envs: + # IMPORTANT: While operator chart and UI chart are independent, this is the interface between + # UI and operator API. Insert the service name of the operator API here! + appUrl: "http://localhost:8081" + operatorApiUrl: "http://postgres-operator:8080" + operatorClusterNameLabel: "cluster-name" + resourcesVisible: "False" + targetNamespace: "default" + teams: + - "acid" + +# Extra pod annotations +podAnnotations: + {} + +# configure extra UI ENVs +# Extra ENVs are writen in kubenertes format and added "as is" to the pod's env variables +# https://kubernetes.io/docs/tasks/inject-data-application/define-environment-variable-container/ +# https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/#environment-variables +# UI specific env variables can be found here: https://github.com/zalando/postgres-operator/blob/master/ui/operator_ui/main.py +extraEnvs: + [] + # Exemple of settings to make snapshot view working in the ui when using AWS + # - name: WALE_S3_ENDPOINT + # value: https+path://s3.us-east-1.amazonaws.com:443 + # - name: SPILO_S3_BACKUP_PREFIX + # value: spilo/ + # - name: AWS_ACCESS_KEY_ID + # valueFrom: + # secretKeyRef: + # name: + # key: AWS_ACCESS_KEY_ID + # - name: AWS_SECRET_ACCESS_KEY + # valueFrom: + # secretKeyRef: + # name: + # key: AWS_SECRET_ACCESS_KEY + # - name: AWS_DEFAULT_REGION + # valueFrom: + # secretKeyRef: + # name: + # key: AWS_DEFAULT_REGION + # - name: SPILO_S3_BACKUP_BUCKET + # value: + # - name: "USE_AWS_INSTANCE_PROFILE" + # value: "true" + +# configure UI service +service: + type: "ClusterIP" + port: "80" + # If the type of the service is NodePort a port can be specified using the nodePort field + # If the nodePort field is not specified, or if it has no value, then a random port is used + # nodePort: 32521 + annotations: + {} + +# configure UI ingress. If needed: "enabled: true" +ingress: + enabled: false + annotations: + {} + # kubernetes.io/ingress.class: nginx + # kubernetes.io/tls-acme: "true" + ingressClassName: "" + hosts: + - host: ui.example.org + paths: ["/"] + tls: [] + # - secretName: ui-tls + # hosts: + # - ui.exmaple.org diff --git a/postgres-operator-ui/Chart.yaml b/postgres-operator-ui/Chart.yaml index 292ab60..836aaae 100644 --- a/postgres-operator-ui/Chart.yaml +++ b/postgres-operator-ui/Chart.yaml @@ -1,5 +1,5 @@ apiVersion: v2 -appVersion: 1.10.1 +appVersion: 1.12.2 description: Postgres Operator UI provides a graphical interface for a convenient database-as-a-service user experience home: https://github.com/zalando/postgres-operator @@ -16,4 +16,4 @@ maintainers: name: postgres-operator-ui sources: - https://github.com/zalando/postgres-operator -version: 1.10.1 +version: 1.12.2 diff --git a/postgres-operator-ui/index.yaml b/postgres-operator-ui/index.yaml index 8f62cee..e498431 100644 --- a/postgres-operator-ui/index.yaml +++ b/postgres-operator-ui/index.yaml @@ -1,9 +1,101 @@ apiVersion: v1 entries: postgres-operator-ui: + - apiVersion: v2 + appVersion: 1.12.1 + created: "2024-06-10T12:33:32.731242273+02:00" + description: Postgres Operator UI provides a graphical interface for a convenient + database-as-a-service user experience + digest: da4142735e940860d2a72bf559d41fa19ff7c753aa642fe45e3c18b4fae149ad + home: https://github.com/zalando/postgres-operator + keywords: + - postgres + - operator + - ui + - cloud-native + - patroni + - spilo + maintainers: + - email: opensource@zalando.de + name: Zalando + name: postgres-operator-ui + sources: + - https://github.com/zalando/postgres-operator + urls: + - postgres-operator-ui-1.12.1.tgz + version: 1.12.1 + - apiVersion: v2 + appVersion: 1.12.0 + created: "2024-06-10T12:33:32.729316881+02:00" + description: Postgres Operator UI provides a graphical interface for a convenient + database-as-a-service user experience + digest: 498b8254dc0e24bc3cdc98e250a5640dc104b75e1dbba5d9fdb90a3b39e7eb8c + home: https://github.com/zalando/postgres-operator + keywords: + - postgres + - operator + - ui + - cloud-native + - patroni + - spilo + maintainers: + - email: opensource@zalando.de + name: Zalando + name: postgres-operator-ui + sources: + - https://github.com/zalando/postgres-operator + urls: + - postgres-operator-ui-1.12.0.tgz + version: 1.12.0 + - apiVersion: v2 + appVersion: 1.11.0 + created: "2024-06-10T12:33:32.727093777+02:00" + description: Postgres Operator UI provides a graphical interface for a convenient + database-as-a-service user experience + digest: a45f2284045c2a9a79750a36997386444f39b01ac722b17c84b431457577a3a2 + home: https://github.com/zalando/postgres-operator + keywords: + - postgres + - operator + - ui + - cloud-native + - patroni + - spilo + maintainers: + - email: opensource@zalando.de + name: Zalando + name: postgres-operator-ui + sources: + - https://github.com/zalando/postgres-operator + urls: + - postgres-operator-ui-1.11.0.tgz + version: 1.11.0 + - apiVersion: v2 + appVersion: 1.10.1 + created: "2024-06-10T12:33:32.725156907+02:00" + description: Postgres Operator UI provides a graphical interface for a convenient + database-as-a-service user experience + digest: 2e5e7a82aebee519ec57c6243eb8735124aa4585a3a19c66ffd69638fbeb11ce + home: https://github.com/zalando/postgres-operator + keywords: + - postgres + - operator + - ui + - cloud-native + - patroni + - spilo + maintainers: + - email: opensource@zalando.de + name: Zalando + name: postgres-operator-ui + sources: + - https://github.com/zalando/postgres-operator + urls: + - postgres-operator-ui-1.10.1.tgz + version: 1.10.1 - apiVersion: v2 appVersion: 1.10.0 - created: "2023-04-20T17:43:19.406989589+02:00" + created: "2024-06-10T12:33:32.719707841+02:00" description: Postgres Operator UI provides a graphical interface for a convenient database-as-a-service user experience digest: 47413650e3188539ae778a601998efa2c4f80b8aa16e3668a2fc7b72e014b605 @@ -26,7 +118,7 @@ entries: version: 1.10.0 - apiVersion: v2 appVersion: 1.9.0 - created: "2023-04-20T17:43:19.412696022+02:00" + created: "2024-06-10T12:33:32.737192609+02:00" description: Postgres Operator UI provides a graphical interface for a convenient database-as-a-service user experience digest: df434af6c8b697fe0631017ecc25e3c79e125361ae6622347cea41a545153bdc @@ -49,7 +141,7 @@ entries: version: 1.9.0 - apiVersion: v2 appVersion: 1.8.2 - created: "2023-04-20T17:43:19.412121611+02:00" + created: "2024-06-10T12:33:32.733885274+02:00" description: Postgres Operator UI provides a graphical interface for a convenient database-as-a-service user experience digest: fbfc90fa8fd007a08a7c02e0ec9108bb8282cbb42b8c976d88f2193d6edff30c @@ -70,96 +162,4 @@ entries: urls: - postgres-operator-ui-1.8.2.tgz version: 1.8.2 - - apiVersion: v2 - appVersion: 1.8.1 - created: "2023-04-20T17:43:19.411558436+02:00" - description: Postgres Operator UI provides a graphical interface for a convenient - database-as-a-service user experience - digest: d26342e385ea51a0fbfbe23477999863e9489664ae803ea5c56da8897db84d24 - home: https://github.com/zalando/postgres-operator - keywords: - - postgres - - operator - - ui - - cloud-native - - patroni - - spilo - maintainers: - - email: opensource@zalando.de - name: Zalando - name: postgres-operator-ui - sources: - - https://github.com/zalando/postgres-operator - urls: - - postgres-operator-ui-1.8.1.tgz - version: 1.8.1 - - apiVersion: v1 - appVersion: 1.8.0 - created: "2023-04-20T17:43:19.41042838+02:00" - description: Postgres Operator UI provides a graphical interface for a convenient - database-as-a-service user experience - digest: d4a7b40c23fd167841cc28342afdbd5ecc809181913a5c31061c83139187f148 - home: https://github.com/zalando/postgres-operator - keywords: - - postgres - - operator - - ui - - cloud-native - - patroni - - spilo - maintainers: - - email: opensource@zalando.de - name: Zalando - name: postgres-operator-ui - sources: - - https://github.com/zalando/postgres-operator - urls: - - postgres-operator-ui-1.8.0.tgz - version: 1.8.0 - - apiVersion: v1 - appVersion: 1.7.1 - created: "2023-04-20T17:43:19.409317912+02:00" - description: Postgres Operator UI provides a graphical interface for a convenient - database-as-a-service user experience - digest: 97aed1a1d37cd5f8441eea9522f38e56cc829786ad2134c437a5e6a15c995869 - home: https://github.com/zalando/postgres-operator - keywords: - - postgres - - operator - - ui - - cloud-native - - patroni - - spilo - maintainers: - - email: opensource@zalando.de - name: Zalando - name: postgres-operator-ui - sources: - - https://github.com/zalando/postgres-operator - urls: - - postgres-operator-ui-1.7.1.tgz - version: 1.7.1 - - apiVersion: v1 - appVersion: 1.7.0 - created: "2023-04-20T17:43:19.40859522+02:00" - description: Postgres Operator UI provides a graphical interface for a convenient - database-as-a-service user experience - digest: 37fba1968347daad393dbd1c6ee6e5b6a24d1095f972c0102197531c62dcada8 - home: https://github.com/zalando/postgres-operator - keywords: - - postgres - - operator - - ui - - cloud-native - - patroni - - spilo - maintainers: - - email: opensource@zalando.de - name: Zalando - name: postgres-operator-ui - sources: - - https://github.com/zalando/postgres-operator - urls: - - postgres-operator-ui-1.7.0.tgz - version: 1.7.0 -generated: "2023-04-20T17:43:19.40598429+02:00" +generated: "2024-06-10T12:33:32.717072704+02:00" diff --git a/postgres-operator-ui/templates/deployment.yaml b/postgres-operator-ui/templates/deployment.yaml index 5ae9e00..3161ae0 100644 --- a/postgres-operator-ui/templates/deployment.yaml +++ b/postgres-operator-ui/templates/deployment.yaml @@ -84,13 +84,22 @@ spec: "limit_iops": 16000, "limit_throughput": 1000, "postgresql_versions": [ + "16", "15", "14", "13", - "12", - "11" + "12" ] } {{- if .Values.extraEnvs }} {{- .Values.extraEnvs | toYaml | nindent 12 }} {{- end }} + affinity: +{{ toYaml .Values.affinity | indent 8 }} + nodeSelector: +{{ toYaml .Values.nodeSelector | indent 8 }} + tolerations: +{{ toYaml .Values.tolerations | indent 8 }} + {{- if .Values.priorityClassName }} + priorityClassName: {{ .Values.priorityClassName }} + {{- end }} \ No newline at end of file diff --git a/postgres-operator-ui/values.yaml b/postgres-operator-ui/values.yaml index 23eae0c..2342496 100644 --- a/postgres-operator-ui/values.yaml +++ b/postgres-operator-ui/values.yaml @@ -6,9 +6,9 @@ replicaCount: 1 # configure ui image image: - registry: registry.opensource.zalan.do - repository: acid/postgres-operator-ui - tag: v1.10.1 + registry: ghcr.io + repository: zalando/postgres-operator-ui + tag: v1.12.2 pullPolicy: "IfNotPresent" # Optionally specify an array of imagePullSecrets. @@ -45,6 +45,7 @@ envs: operatorApiUrl: "http://postgres-operator:8080" operatorClusterNameLabel: "cluster-name" resourcesVisible: "False" + # Set to "*" to allow viewing/creation of clusters in all namespaces targetNamespace: "default" teams: - "acid" @@ -110,3 +111,18 @@ ingress: # - secretName: ui-tls # hosts: # - ui.exmaple.org + +# priority class for operator-ui pod +priorityClassName: "" + +# Affinity for pod assignment +# Ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity +affinity: {} + +# Node labels for pod assignment +# Ref: https://kubernetes.io/docs/user-guide/node-selection/ +nodeSelector: {} + +# Tolerations for pod assignment +# Ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/ +tolerations: []