Postgres¶
A role to setup postgres in Galaxy, yielding the following objects:
- StatefulSet
- Service
- Secret
- Stores the DB password
Role Variables¶
-
database_connection: A dictionary of database configurationusername: User that owns and runs Postgres.password: Database password.admin_password: Initial password for the Pulp admin.sslmodeis valid forexternaldatabases only. The allowed values are:prefer,disable,allow,require,verify-ca,verify-full.
-
postgres_extra_settings: A list of PostgreSQL configuration parameters to override or add- Each item is a dictionary with
settingandvaluekeys setting: The PostgreSQL configuration parameter namevalue: The value for the parameter (must be a string)- Example:
postgres_extra_settings: - setting: max_connections value: "499" - setting: ssl_ciphers value: "HIGH:!aNULL:!MD5"
- Each item is a dictionary with
Requirements¶
Requires the kubernetes Python library to interact with Kubernetes: pip install kubernetes.
Dependencies¶
collections:
- kubernetes.core
- operator_sdk.util
License¶
GPLv2+