2021-01-25 18:04:57 +00:00
|
|
|
postgres_operator_ui_short_name: "postgres-operator-ui"
|
2021-01-09 17:54:42 +00:00
|
|
|
postgres_operator_default_values:
|
|
|
|
configKubernetes:
|
|
|
|
pod_environment_configmap: "{{ postgres_db_namespace | default(namespace) }}/postgresql-pod-environment"
|
|
|
|
storage_resize_mode: pvc
|
|
|
|
watched_namespace: "{{ postgres_operator_watch_namespace | default(namespace) }}"
|
|
|
|
|
|
|
|
postgres_operator_ui_default_values:
|
|
|
|
replicaCount: 1
|
|
|
|
|
|
|
|
envs:
|
|
|
|
# IMPORTANT: While operator chart and UI chart are idendependent, this is the interface between
|
|
|
|
# UI and operator API. Insert the service name of the operator API here!
|
|
|
|
operatorApiUrl: "http://postgres-operator:8080"
|
|
|
|
operatorClusterNameLabel: "cluster-name"
|
|
|
|
resourcesVisible: "False"
|
|
|
|
targetNamespace: "{{ namespace }}"
|
|
|
|
|
|
|
|
# configure UI ingress. If needed: "enabled: true"
|
|
|
|
ingress:
|
|
|
|
enabled: true
|
|
|
|
annotations:
|
|
|
|
cert-manager.io/cluster-issuer: "letsencrypt-prod"
|
|
|
|
kubernetes.io/ingress.class: "{{ postgres_operator_ui_ingress_class | default(internal_ingress_class) }}"
|
|
|
|
hosts:
|
2021-01-25 18:04:57 +00:00
|
|
|
- host: "{{ postgres_operator_ui_short_name }}.{{ domain }}"
|
2021-01-09 17:54:42 +00:00
|
|
|
paths: [""]
|
|
|
|
tls:
|
2021-01-25 18:04:57 +00:00
|
|
|
- secretName: "{{ postgres_operator_ui_short_name }}.{{ domain }}-tls"
|
2021-01-09 17:54:42 +00:00
|
|
|
hosts:
|
2021-01-25 18:04:57 +00:00
|
|
|
- "{{ postgres_operator_ui_short_name }}.{{ domain }}"
|
2021-01-09 17:54:42 +00:00
|
|
|
|
|
|
|
|
|
|
|
postgres_db_definitions:
|
|
|
|
ghp-postgres: |
|
|
|
|
kind: "postgresql"
|
|
|
|
apiVersion: "acid.zalan.do/v1"
|
|
|
|
metadata:
|
|
|
|
name: "{{ postgres_db_team | default(namespace) }}-postgres"
|
|
|
|
namespace: "{{ postgres_db_namespace | default(namespace) }}"
|
|
|
|
labels:
|
|
|
|
team: "{{ postgres_db_team | default(namespace) }}"
|
|
|
|
spec:
|
|
|
|
teamId: "{{ postgres_db_team | default(namespace) }}"
|
|
|
|
postgresql:
|
|
|
|
version: "12"
|
|
|
|
numberOfInstances: 2
|
|
|
|
volume:
|
|
|
|
size: "{{ postgres_size | default('10Gi') }}"
|
|
|
|
users:
|
|
|
|
gitea: []
|
|
|
|
drone: []
|
|
|
|
bitwarden: []
|
|
|
|
wikijs: []
|
|
|
|
nextcloud: []
|
|
|
|
roundcube: []
|
2021-02-01 18:17:48 +00:00
|
|
|
harbor: []
|
2021-02-09 23:28:01 +00:00
|
|
|
mastodon: []
|
2021-01-09 17:54:42 +00:00
|
|
|
databases:
|
|
|
|
gitea: gitea
|
|
|
|
drone: drone
|
|
|
|
bitwarden: bitwarden
|
|
|
|
wikijs: wikijs
|
|
|
|
nextcloud: nextcloud
|
|
|
|
roundcube: roundcube
|
2021-02-01 18:17:48 +00:00
|
|
|
harbor_registry: harbor
|
|
|
|
harbor_clair: harbor
|
|
|
|
harbor_notary_server: harbor
|
|
|
|
harbor_notary_signer: harbor
|
2021-02-09 23:28:01 +00:00
|
|
|
mastodon: mastodon
|
2021-01-09 17:54:42 +00:00
|
|
|
preparedDatabases:
|
|
|
|
peertube:
|
|
|
|
defaultUsers: true
|
|
|
|
extensions:
|
|
|
|
pg_trgm: pg_catalog
|
|
|
|
unaccent: public
|
|
|
|
allowedSourceRanges: []
|
|
|
|
resources:
|
|
|
|
requests:
|
|
|
|
cpu: 100m
|
|
|
|
memory: 100Mi
|
|
|
|
limits:
|
|
|
|
cpu: 500m
|
|
|
|
memory: 500Mi
|
|
|
|
|