Helm Functions
In addition to standard Helm chart functions we add the following for the QuickCase chart:
Naming convention
Any custom functions are available and namespaced as follows:
- quickcase - these are considered globally accessible and stored in appropriate template files such as
_oidc.tpl - app-name - these are considered application specific (even though they would be available globally). These are stored in
app-name/_app_name.tplor similar.
OIDC functions
quickcase.oidc.uris.env
Provides the URIs used by the OIDC providers. Applications deployed with this function will have these environment variables set:
QUICKCASE_OIDC_JWKSETURIQUICKCASE_OIDC_LOGINURIQUICKCASE_OIDC_LOGOUTURIQUICKCASE_OIDC_TOKENURIQUICKCASE_OIDC_USERINFOURIQUICKCASE_OIDC_OPENIDSCOPE
quickcase.oidc.claims.env
Sets various claim variables for use by the QuickCase OIDC library. The following environment variables are set:
QUICKCASE_OIDC_CLAIMS_PREFIXQUICKCASE_OIDC_CLAIMS_NAMES_SUBQUICKCASE_OIDC_CLAIMS_NAMES_NAMEQUICKCASE_OIDC_CLAIMS_NAMES_EMAILQUICKCASE_OIDC_CLAIMS_NAMES_ROLESQUICKCASE_OIDC_CLAIMS_NAMES_ORGANISATIONSQUICKCASE_OIDC_CLAIMS_NAMES_DEFAULTJURISDICTIONQUICKCASE_OIDC_CLAIMS_NAMES_DEFAULTCASETYPEQUICKCASE_OIDC_CLAIMS_NAMES_DEFAULTSTATE
quickcase.oidc.env
Wraps quickcase.oidc.uris.env and quickcase.oidc.claims.env into a single function for applications that need to consume both.
quickcase.oidc.urlParams (internal)
Used internally for QUICKCASE_OIDC_LOGINURI and QUICKCASE_OIDC_LOGOUTURI to provide any URL parameters.
Database functions
Provides functions to easily configure access to the databases.
quickcase.store.datasourceUrl
Constructs a JDBC datasource URL from database settings supplied to the function.
Parameters:
The datastore being used either:
.Values.store.casesor.Values.store.definitions.
Output:
- JDBC URL