diff --git a/api/v1alpha1/workspace_types.go b/api/v1alpha1/workspace_types.go index 6fbc6aad..726ae911 100644 --- a/api/v1alpha1/workspace_types.go +++ b/api/v1alpha1/workspace_types.go @@ -66,8 +66,10 @@ type Variable struct { // +optional HCL bool `json:"hcl"` // Variable is a secret and should be retrieved from file + // +optional Sensitive bool `json:"sensitive"` // EnvironmentVariable denotes if this variable should be created as environment variable + // +optional EnvironmentVariable bool `json:"environmentVariable"` } diff --git a/config/crd/bases/app.terraform.io_workspaces.yaml b/config/crd/bases/app.terraform.io_workspaces.yaml index 67e2c741..f219998b 100644 --- a/config/crd/bases/app.terraform.io_workspaces.yaml +++ b/config/crd/bases/app.terraform.io_workspaces.yaml @@ -256,9 +256,7 @@ spec: type: object type: object required: - - environmentVariable - key - - sensitive type: object type: array vcs: