Skip to content

EnvironmentExtension

Simon Jahreiß edited this page Oct 27, 2016 · 11 revisions

This page describes how to create and configure an EnvironmentExtension.

Creation

To create an EnvironmentExtension use the following closures:

Closure name Returns Description

marathon

EnvironmentExtension

Creates an EnvironmentExtension for Marathon.

kubernetes

EnvironmentExtension

Creates an EnvironmentExtension for Kubernetes.

Properties

An EnvironmentExtension defines the following properties:

Property name Type Required Default value Description

id

String

TRUE

-

The id of the environment.

baseUrl

String

TRUE

-

The base url of the environment.

strategy

String

FALSE

"REPLACE"

The strategy which is used for deployment/deletion. See Strategies for details.

files

File[]

TRUE

-

The list of configuration files that is used for deployment/deletion. See configuration files for details.

ssl

FALSE

-

Defines the ssl options.

auth

FALSE

-

Defines the authentication options.

Special properties

Depending on the environment type some special properties exist.

Kubernetes

A EnvironmentExtension for Kubernetes defines the following additional property.

Property name Type Required Default value Description

namespace

String

TRUE

-

The Kubernetes namespace which is used for deployment.

Clone this wiki locally