Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add rollups.cartesi.io/Applications CRD #41

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

endersonmaia
Copy link
Collaborator

@endersonmaia endersonmaia commented Aug 15, 2023

Run this to test it locally:

helm template dapp-crd charts/applications-crd | kubectl apply -f -
kubectl get crd applications.rollups.cartesi.io
cat <<EOF | kubectl apply -f -                                                                                                                                                 ░▒▓ 11% ▁ 
apiVersion: rollups.cartesi.io/v1alpha1
kind: Application
metadata:
  name: dapp-70ac0817
  namespace: default
spec:
  address: 0x70ac08179605AF2D9e75782b8DEcDD3c22aA4D0C
  blockHash: 0xbb973e0468c96302c831f168ecd26d8782a1eba3760e23a1d7757ebefb6b65af
  blockNumber: "5"
  location: bafybeidetkbflwj4acat <<EOF | kubectl apply -f -
apiVersion: rollups.cartesi.io/v1alpha1
kind: Application
metadata:
  name: dapp-70ac0817
  namespace: default
spec:
  address: 0x70ac08179605AF2D9e75782b8DEcDD3c22aA4D0C
  blockHash: 0xbb973e0468c96302c831f168ecd26d8782a1eba3760e23a1d7757ebefb6b65af
  blockNumber: "5"
  location: bafybeidetkbflwj4aiwyhafvylqhz4q7gggznck2l7cpqvx26q7extltui
  transactionHash: 0xfa770dd2dafdcee8f7d5aab7bc66d86638489903b6478818afecefc1fcd1065b
EOFiwyhafvylqhz4q7gggznck2l7cpqvx26q7extltui
  transactionHash: 0xfa770dd2dafdcee8f7d5aab7bc66d86638489903b6478818afecefc1fcd1065b
EOF

This is the expected output when requesting the list of applications:

kubectl get application
NAME            APPLICATION                                  LOCATION                                                      AGE
dapp-70ac0817   0x70ac08179605AF2D9e75782b8DEcDD3c22aA4D0C   bafybeidetkbflwj4aiwyhafvylqhz4q7gggznck2l7cpqvx26q7extltui   6s

@endersonmaia endersonmaia mentioned this pull request Aug 16, 2023
@tuler
Copy link
Member

tuler commented Aug 16, 2023

I'm trying to move away from dapp in favor of application.

dapp -> application
DApp -> Application

@endersonmaia endersonmaia force-pushed the feature/cartesi-dapp-crd-chart branch 2 times, most recently from 2913d54 to c8505f6 Compare August 16, 2023 18:30
@endersonmaia endersonmaia marked this pull request as ready for review August 16, 2023 18:30
@endersonmaia endersonmaia force-pushed the feature/cartesi-dapp-crd-chart branch 2 times, most recently from 35c1bd9 to 3fea9cf Compare August 16, 2023 18:36
@endersonmaia endersonmaia changed the title wip: add dapps.rollups.cartesi.io CRD Add rollups.cartesi.io/Applications CRD Aug 16, 2023
@tuler tuler force-pushed the feature/cartesi-dapp-crd-chart branch from fca7bcf to 8336d55 Compare October 4, 2023 02:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants