Skip to content

Conversation

@rush-skills
Copy link
Member

This PR adds the support for installation of packs and K/V using API Keys as auth method, while also allowing to fix a version of the pack to be installed
It adds a flag to enable/disable validate_output_schema in st2.conf
It also fixes a few bugs while running in CentOS (Stream) 8 and refactors some old style code.

Closes #338
Closes #334

@arm4b arm4b closed this Nov 24, 2021
@arm4b arm4b reopened this Nov 24, 2021
@arm4b arm4b closed this Nov 25, 2021
@arm4b arm4b reopened this Nov 25, 2021
@arm4b arm4b requested a review from nmaludy November 25, 2021 15:42
Copy link
Collaborator

@bishopbm1 bishopbm1 left a comment

Choose a reason for hiding this comment

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

This looks awesome. I would love to see something in the Readme explaining how an API key can be used vs the standard username password.

rush-skills and others added 8 commits December 2, 2021 19:36
cleaner way for handling apikey in kv cmd

Co-authored-by: Nick Maludy <nmaludy@gmail.com>
better selinux policycoreutils package handling in CentOS 8

Co-authored-by: Nick Maludy <nmaludy@gmail.com>
Add trailing comma

Co-authored-by: Nick Maludy <nmaludy@gmail.com>
@rush-skills
Copy link
Member Author

@nmaludy @bishopbm1 Thanks for the reviews. I have made the requested changes and added the docs for using API Keys in README.

@rush-skills
Copy link
Member Author

@nmaludy @bishopbm1 @armab Can we get some eyes on this PR?

@arm4b arm4b requested a review from nmaludy January 5, 2022 13:27
Copy link
Collaborator

@bishopbm1 bishopbm1 left a comment

Choose a reason for hiding this comment

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

LGTM

/ci/
Puppetfile.lock
*.pyc
.vscode/ No newline at end of file
Copy link
Member

Choose a reason for hiding this comment

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

FYI if you want this change to stick, need to add it to .sync.yml here: https://github.com/StackStorm/puppet-st2/blob/master/.sync.yml#L2

@nmaludy nmaludy merged commit 4bf623d into StackStorm:master Jan 10, 2022
bishopbm1 pushed a commit to EncoreTechnologies/puppet-st2 that referenced this pull request May 20, 2022
Support for API Keys based pack install and k/v setup, pack versioning, centos8 fixes, add validate_output_schema option, refactoring
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add ability to install packs and set K/V using API Keys Add the ability to specify a pack version in the pack resource

4 participants