Skip to content

Enhance yaml profiles#1178

Open
enricovianello wants to merge 5 commits intodevelopfrom
enhance-yaml-profiles
Open

Enhance yaml profiles#1178
enricovianello wants to merge 5 commits intodevelopfrom
enhance-yaml-profiles

Conversation

@enricovianello
Copy link
Member

Combine #679 #1168 #919 #679 in order to refactor VOMS AA application YAML management through environment variables.

Variables shared with IAM login service:

Environment variable name Description Default value
IAM_DB_HOST Hostname of database server. localhost
IAM_DB_PORT Port of database server. 3306
IAM_DB_NAME IAM database name. iam
IAM_DB_USE_SSL Use SSL when communicating with the server, default is "true" when connecting to MySQL 5.5.45+, 5.6.26+ or 5.7.6+, otherwise default is "false". false
IAM_DB_SERVER_TIMEZONE Used to override the session time zone setting on the server. UTC
IAM_DB_PRESERVE_INSTANT Whether to attempt to preserve time instant values by adjusting timestamps. true
IAM_DB_MAX_ACTIVE The default maximum database connection pool size. 50
IAM_DB_MIN_IDLE The minimum number of idle connections the pool attempts to maintain. 8
IAM_DB_VALIDATION_QUERY A configuration property used to validate the health of a database connection before it is handed out from the pool SELECT 1

VOMS AA related environment variables:

Environment variable name Description Default value
VOMS_AA_BINDING_ADDRESS 0.0.0.0
VOMS_AA_PORT 15000
VOMS_AA_VONAME test
VOMS_AA_FORWARD_HEADERS_STRATEGY none
VOMS_AA_TLS_CERTIFICATE_PATH /certs/hostcert.pem
VOMS_AA_TLS_PRIVATE_KEY_PATH /certs/hostkey.pem
VOMS_AA_TLS_TRUST_ANCHORS_DIR /etc/grid-security/certificates
VOMS_AA_TLS_TRUST_ANCHORS_REFRESH_INTERVAL_SECS 14400
VOMS_AA_OPTIONAL_GROUP_LABEL wlcg.optional-group
VOMS_AA_VOMS_ROLE_LABEL voms.role
VOMS_AA_USE_LEGACY_FQAN_ENCODING false

@sonarqubecloud
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant