Skip to content

Override keystore path#2119

Open
RafalMirowski1 wants to merge 11 commits into
mainfrom
override-keystore-path
Open

Override keystore path#2119
RafalMirowski1 wants to merge 11 commits into
mainfrom
override-keystore-path

Conversation

@RafalMirowski1

@RafalMirowski1 RafalMirowski1 commented Oct 21, 2025

Copy link
Copy Markdown
Contributor

closes #2095

@pepoviola

Copy link
Copy Markdown
Collaborator

Hey @RafalMirowski1 what's the status of this one?
Thx!

@RafalMirowski1 RafalMirowski1 marked this pull request as ready for review October 31, 2025 16:31
@RafalMirowski1

RafalMirowski1 commented Oct 31, 2025

Copy link
Copy Markdown
Contributor Author

@pepoviola ok so it works in kubernetes provider as well, but in the example config keystore_path = "{{'network'|zombie('base_path')}}/collator01/relay-data/chains/rococo_local_testnet/keystore" has to be changed to keystore_path = "/relay-data/chains/rococo_local_testnet" for same effect, not sure if good ux, because it's not provider-agnostic?

@pepoviola

Copy link
Copy Markdown
Collaborator

keystore_path

hm, let's touch base on this on Monday.

Thx!

@pepoviola

Copy link
Copy Markdown
Collaborator

base_path

hm, I don't think this can cause issues, but to be fully agnostic we need to add the logic to translate from native to remote paths (k8s/docker). Could be done in a follow-up pr, wdyt?

@RafalMirowski1

Copy link
Copy Markdown
Contributor Author

base_path

hm, I don't think this can cause issues, but to be fully agnostic we need to add the logic to translate from native to remote paths (k8s/docker). Could be done in a follow-up pr, wdyt?

Yeah, I agree, this seems fine

@pepoviola

Copy link
Copy Markdown
Collaborator

@RafalMirowski1 can you add this new option to the mdBook, then is good to merge.
Thx!

@pepoviola pepoviola left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Needs to add this new key to the mdBook with the proper docs.

@RafalMirowski1

Copy link
Copy Markdown
Contributor Author

Needs to add this new key to the mdBook with the proper docs.

added

keystore: string,
chainSpecId: string,
dbSnapshot?: string,
longRunning?: boolean,

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is this used elsewhere?

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I will refactor this later.

keystore?: string,
chainSpecId?: string,
dbSnapshot?: string,
longRunning?: boolean,

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same

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.

Add some way to override collator keystore path

2 participants