Skip to content

Conversation

@arm4b
Copy link
Member

@arm4b arm4b commented Oct 15, 2018

Closes #7

To import data into K/V K8s one-time job creates a file with user-supplied yaml data to import and performs st2 key load st2kv.yaml against it.

@arm4b
Copy link
Member Author

arm4b commented Oct 15, 2018

Bonus points, found a small bug in st2:

st2 key load st2kv.yaml
ERROR: 'NoneType' object has no attribute '__getitem__'

when st2kv.yaml is an empty file.

@arm4b
Copy link
Member Author

arm4b commented Oct 16, 2018

Respective fix for st2client: StackStorm/st2#4393

Copy link
Contributor

@warrenvw warrenvw left a comment

Choose a reason for hiding this comment

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

I've made a minor suggestion, but otherwise looks good. 👍

@arm4b arm4b merged commit 06dfeba into master Oct 16, 2018
@arm4b arm4b deleted the feature/st2kv branch October 16, 2018 20:39
@cognifloyd cognifloyd removed the RFR label Jul 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Ability to import data into st2 K/V storage

4 participants