-
Notifications
You must be signed in to change notification settings - Fork 15
/
Copy pathui.yaml
39 lines (39 loc) · 1.25 KB
/
ui.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
apiVersion: helm.toolkit.fluxcd.io/v2beta1
kind: HelmRelease
metadata:
name: postgres-operator-ui
spec:
interval: 5m
chart:
spec:
# renovate: registryUrl=https://raw.githubusercontent.com/zalando/postgres-operator/master/charts/postgres-operator-ui/
chart: postgres-operator-ui
version: 1.14.0
sourceRef:
kind: HelmRepository
name: zalando-postgres-ui
namespace: flux-system
interval: 5m
# https://github.com/zalando/postgres-operator/blob/master/charts/postgres-operator-ui/values.yaml
values:
envs:
resourcesVisible: "True"
targetNamespace: # Show all namespaces
ingress:
enabled: true
annotations:
hajimari.io/enable: "true"
hajimari.io/icon: logos:postgresql
hajimari.io/info: PostgreSQL cluster editor
hajimari.io/group: admin
nginx.ingress.kubernetes.io/configuration-snippet: |
auth_request_set $required_groups 'admin';
hosts:
- host: "postgres-operator.pub.${CLUSTER_DOMAIN}"
paths: ["/"]
- host: "postgres-operator.home.${CLUSTER_DOMAIN}"
paths: ["/"]
tls:
- hosts:
- "postgres-operator.pub.${CLUSTER_DOMAIN}"
- "postgres-operator.home.${CLUSTER_DOMAIN}"