Environment definition file (env.yaml)
Overview
version:
type: string
required: true
description: Bunnyshell parser version used for the current Environment definition.
kind:
type: string
required: true
description: Type of entity being described, "Environment".
metadata:
type: hash
required: false
description: Key-value pairs; currently used to keep links with Bunnyshell entities.
name:
type: string
required: true
description: Name of the Environment.
deploymentRules:
type: hash
required: false
description: Settings serving Environment cloning and updating.
type:
type: string
required: true
description: Specifies whether an Environment is permanent or ephemeral.
components:
type: array
required: true
description: Contains the definitions of the Applications / Services / Databases composing the Environment.
security:
type: hash
required: false
description: Settings related to the security of the environment.
environmentVariables:
type: hash
required: false
description: Environment-level variables. The bns_secret method can be used to mark a secret value (e.g. "- VAR_NAME:'bns_secret(secret value)'")metadata
metadata Example
security
Components
components Composition Example:
Components Definition
components.N.dockerCompose Definition
components.N.dockerCompose Example
components.N.k8s.resources Definition
components.N.k8s.resources Example
components.N.pod Definition
components.N.pod Example
components.N.pod.*.N Definition
components.N.pod.*.N.shared_paths.N Definition
components.N.pod.*.N.volumes.N Definition
components.N.hosts Definition
components.N.hosts Example
components.N.cronJobs Definition
components.N.cronJobs Example
Complete Configuration Example
Last updated
Was this helpful?
