Skip to content

Conversation

@Sheshagiri
Copy link
Contributor

@Sheshagiri Sheshagiri commented Jul 15, 2020

This pr adds support for providing custom st2actionrunner-specific docker repository, image name, pull policy, and pull secret via values.yaml.

closes: #104

@pull-request-size pull-request-size bot added the size/S PR that changes 10-29 lines. Very easy to review. label Jul 15, 2020
Copy link
Member

@arm4b arm4b left a comment

Choose a reason for hiding this comment

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

👍
Note that a Changelog update is also needed to merge this.

@arm4b arm4b added the enhancement New feature or request label Jul 16, 2020
@Sheshagiri Sheshagiri changed the title [WIP]support for custom st2actionrunner images via values.yaml support for custom st2actionrunner images via values.yaml Jul 16, 2020
@Sheshagiri Sheshagiri marked this pull request as ready for review July 16, 2020 18:59
@Sheshagiri
Copy link
Contributor Author

@armab this is ready for review the following todo's

  • actual testing on a real K8s cluster
  • update release notes and readme

{{- end -}}

# Generate Docker image repository for st2actionrunner: Private 'docker.stackstorm.com' for Enterprise vs Public Docker Hub 'stackstorm' for FOSS version
{{- define "st2actionrunnerImageRepository" -}}
Copy link
Member

Choose a reason for hiding this comment

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

For simplicity reasons, it would be easier to avoid custom template for st2actionrunner, if possible. I saw the previous version, wondering if that worked good?

Copy link
Member

@cognifloyd cognifloyd left a comment

Choose a reason for hiding this comment

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

Is this PR still needed? If so, can you rebase it or merge in master?
Enterprise stuff has been removed, so at least some of this can be simplified.

@Sheshagiri
Copy link
Contributor Author

@cognifloyd will take a look at this, this week.

@cognifloyd
Copy link
Member

#200 was just merged, so you can have custom image tags for any of the pods, including st2actionrunner. Hopefully that simplifies things for you @Sheshagiri .

@cognifloyd
Copy link
Member

@Sheshagiri I looked into resolving the conflicts for you to merge master into your branch, but Maintainer edits are not turned on.

Would you please merge in master? I'd love to merge this once we get it ready.

@CLAassistant
Copy link

CLAassistant commented May 11, 2022

CLA assistant check
All committers have signed the CLA.

@cognifloyd cognifloyd removed the stale label Jul 10, 2022
@cognifloyd
Copy link
Member

@Sheshagiri I merged in master and addressed @armab's feedback by dropping the additional helper.
Does this do what you were hoping for?

@cognifloyd cognifloyd requested a review from arm4b July 11, 2022 15:06
@pull-request-size pull-request-size bot added size/XL PR that changes 500-999 lines. Consider splitting work into several ones that easier to review. and removed size/S PR that changes 10-29 lines. Very easy to review. labels Jul 11, 2022
Copy link
Member

@cognifloyd cognifloyd left a comment

Choose a reason for hiding this comment

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

K. I added unit tests.

@armab would you please review this?
I changed quite a bit, so I need another pair of eyes before it gets merged.

@cognifloyd cognifloyd removed the WIP label Jul 11, 2022
Copy link
Member

@arm4b arm4b left a comment

Choose a reason for hiding this comment

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

Nice!

I guess st2actionrunner is the image adopters would want to override more than other components.

@cognifloyd
Copy link
Member

Yeah that's what I figure. Thanks!

@cognifloyd cognifloyd enabled auto-merge July 12, 2022 20:37
@cognifloyd cognifloyd merged commit f47b7b1 into StackStorm:master Jul 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request size/XL PR that changes 500-999 lines. Consider splitting work into several ones that easier to review.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

st2actionrunner custom image in values.yaml file

4 participants