Skip to content

Commit 1645206

Browse files
committed
fixup! feat: add rollups.cartesi.io/Applications CRD
1 parent 3fea9cf commit 1645206

File tree

2 files changed

+21
-9
lines changed

2 files changed

+21
-9
lines changed

charts/applications-crd/Chart.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@ apiVersion: v2
22
name: cartesi-applications-crd
33
description: A Helm chart for Cartesi Application Custom Resource Definitions (CRDs)
44
type: application
5-
version: v1alpha1
5+
version: 0.1.0
66
sources:
77
- https://github.com/cartesi/helm-charts/

charts/applications-crd/templates/rollups.cartesi.io_applications.yaml

+20-8
Original file line numberDiff line numberDiff line change
@@ -43,35 +43,47 @@ spec:
4343
type: string
4444
pattern: '^0x([a-zA-Z0-9]){40}$'
4545
x-kubernetes-validations:
46-
- rule: "self != oldSelf"
47-
message: "cannot change address"
46+
- rule: "self != oldSelf"
47+
message: "cannot change address"
4848
blockHash:
4949
description: Block hash of the block which deployed the application
5050
type: string
5151
pattern: '^0x([a-zA-Z0-9]){64}$'
5252
x-kubernetes-validations:
53-
- rule: "self != oldSelf"
54-
message: "cannot change blockHash"
53+
- rule: "self != oldSelf"
54+
message: "cannot change blockHash"
5555
blockNumber:
5656
description: Block number of the block which deployed the application
5757
type: string
5858
x-kubernetes-validations:
59-
- rule: "self != oldSelf"
60-
message: "cannot change blockNumber"
59+
- rule: "self != oldSelf"
60+
message: "cannot change blockNumber"
6161
transactionHash:
6262
description: Transaction hash of the transaction which deployed the application
6363
type: string
6464
pattern: '^0x([a-zA-Z0-9]){64}$'
6565
x-kubernetes-validations:
66-
- rule: "self != oldSelf"
67-
message: "cannot change transactionHash"
66+
- rule: "self != oldSelf"
67+
message: "cannot change transactionHash"
6868
location:
6969
description: Location of the cartesi machine snapshot
7070
type: string
7171
x-kubernetes-validations:
7272
- rule: "self != oldSelf"
7373
message: "cannot change location"
7474
type: object
75+
additionalPrinterColumns:
76+
- name: Application
77+
type: string
78+
description: Address of the application
79+
jsonPath: .spec.address
80+
- name: Location
81+
type: string
82+
description: Location of the cartesi machine snapshot
83+
jsonPath: .spec.location
84+
- name: Age
85+
type: date
86+
jsonPath: .metadata.creationTimestamp
7587
served: true
7688
storage: true
7789
subresources:

0 commit comments

Comments
 (0)