-
Notifications
You must be signed in to change notification settings - Fork 5.5k
/
Copy pathpgadmin.yaml
42 lines (42 loc) · 1.49 KB
/
pgadmin.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
40
41
42
apiVersion: postgres-operator.crunchydata.com/v1beta1
kind: PGAdmin
metadata:
name: rhino
spec:
users:
- username: [email protected]
role: Administrator
passwordRef:
name: pgadmin-password-secret
key: rhino-password
dataVolumeClaimSpec:
accessModes:
- "ReadWriteOnce"
resources:
requests:
storage: 2Gi
serverGroups:
- name: supply
# An empty selector selects all postgresclusters in the Namespace
postgresClusterSelector: {}
config:
settings:
AUTHENTICATION_SOURCES: ['internal']
# Uncomment DEBUG to enable debug logging in pgAdmin
# DEBUG: "True"
# Configure OAUTH by setting the following *AND* adding
# `oauth` to AUTHENTICATION_SOURCES
#OAUTH2_CONFIG:
# - OAUTH2_NAME: "google"
# OAUTH2_DISPLAY_NAME: "Google"
# OAUTH2_CLIENT_ID: "XXXXXXX"
# OAUTH2_CLIENT_SECRET: "XXXXXXX"
# OAUTH2_TOKEN_URL: "https://oauth2.googleapis.com/token"
# OAUTH2_AUTHORIZATION_URL: "https://accounts.google.com/o/oauth2/auth"
# OAUTH2_API_BASE_URL: "https://openidconnect.googleapis.com/v1/"
# OAUTH2_SERVER_METADATA_URL: "https://accounts.google.com/.well-known/openid-configuration"
# OAUTH2_SCOPE: "openid email profile"
# OAUTH2_USERINFO_ENDPOINT: "userinfo"
# OAUTH2_SSL_CERT_VERIFICATION: "False" # for testing purposes
# OAUTH2_BUTTON_COLOR: "red"
#OAUTH2_AUTO_CREATE_USER : "True"