K8SDeploy.Config (K8SDeploy v0.5.0) View Source

Stores config for base and plugins

Link to this section Summary

Functions

Name of the app

Get the build config key

Get the main config for a given key

Get the config key and raise if not found

deployment_id - generated from datestamp

Env vars for deployment

If automatic redirection from non-www to www version of site should happen

List of all hosts

Load the config from the mix project

Gets the mfa for the migrator

Selected MIX_ENV

Namespace (defaults to default)

Get the config for a given plugin and key

Get a list of plugins

Link to this section Functions

Name of the app

Link to this function

build_config(config, key)

View Source

Get the build config key

Link to this function

config(config, key, default \\ nil)

View Source

Get the main config for a given key

Get the config key and raise if not found

deployment_id - generated from datestamp

Env vars for deployment

Link to this function

from_to_www_redirect?(context)

View Source

If automatic redirection from non-www to www version of site should happen

List of all hosts

Load the config from the mix project

Options

  • env - environment to be used. Defaults to prod

Gets the mfa for the migrator

Selected MIX_ENV

Namespace (defaults to default)

Link to this function

plugin_config(context, plugin, key)

View Source

Get the config for a given plugin and key

Get a list of plugins