spacelift operator v0.2.0

Policy.spec

PolicySpec defines the desired state of Policy

9 fields
Policy.spec fields and descriptions
Field / TypeDescription
string[]

No description provided.

string[]

No description provided.

body
string required

Body of the policy

  • minLength: 1
description
string

Description of the policy

string[]

No description provided.

name
string

Name of the policy - should be unique in one account

spaceId
string

SpaceId is ID (slug) of the space the policy is in

spaceName
string

SpaceName is Name of a Space kubernetes resource of the space the policy is in

type
string required

Type of the policy. Possible values are ACCESS, APPROVAL, GIT_PUSH, INITIALIZATION, LOGIN, PLAN, TASK, TRIGGER and NOTIFICATION. Deprecated values are STACK_ACCESS (use ACCESS instead), TASK_RUN (use TASK instead), and TERRAFORM_PLAN (use PLAN instead).

  • enum: ["ACCESS","APPROVAL","GIT_PUSH","INITIALIZATION","LOGIN","PLAN","TASK","TRIGGER","NOTIFICATION"]