Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 11 additions & 1 deletion crd/restatecloudenvironments.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,17 @@ spec:
singular: restatecloudenvironment
scope: Cluster
versions:
- additionalPrinterColumns: []
- additionalPrinterColumns:
- jsonPath: .spec.environmentId
name: Environment
type: string
- jsonPath: .spec.region
name: Region
type: string
- description: CreationTimestamp is a timestamp representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC
jsonPath: .metadata.creationTimestamp
name: Age
type: date
name: v1beta1
schema:
openAPIV3Schema:
Expand Down
5 changes: 4 additions & 1 deletion src/resources/restatecloudenvironments.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,10 @@ pub static RESTATE_CLOUD_ENVIRONMENT_FINALIZER: &str = "cloudenvironments.restat
kind = "RestateCloudEnvironment",
group = "restate.dev",
version = "v1beta1",
schema = "manual"
schema = "manual",
printcolumn = r#"{"name":"Environment", "type":"string", "jsonPath":".spec.environmentId"}"#,
printcolumn = r#"{"name":"Region", "type":"string", "jsonPath":".spec.region"}"#,
printcolumn = r#"{"name":"Age", "description": "CreationTimestamp is a timestamp representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC", "type":"date", "jsonPath":".metadata.creationTimestamp"}"#
)]
#[kube(shortname = "rce")]
#[serde(rename_all = "camelCase")]
Expand Down
Loading