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

Expose service configuration #112

Closed
wants to merge 29 commits into from
Closed

Expose service configuration #112

wants to merge 29 commits into from

Conversation

khaosdoctor
Copy link
Contributor

Adding exposed configuration, for now the only configs that can be changed are the service exposed port and type because labels are defined by the add-on.

Checklist

  • Commits are signed with Developer Certificate of Origin (DCO)
  • A PR is opened to update the documentation on our docs repo

Fixes #107

@khaosdoctor khaosdoctor marked this pull request as ready for review April 6, 2021 18:15
@khaosdoctor
Copy link
Contributor Author

@arschles @tomkerkhove can you PTAL? Just finished

Copy link
Collaborator

@arschles arschles left a comment

Choose a reason for hiding this comment

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

LGTM @khaosdoctor. Can you add documentation to the reference?

@khaosdoctor
Copy link
Contributor Author

Will do!

Copy link
Collaborator

@arschles arschles left a comment

Choose a reason for hiding this comment

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

@khaosdoctor one more thing - can you add a test for this too?

arschles and others added 4 commits April 14, 2021 11:02
Signed-off-by: Lucas Santos <lhs.santoss@gmail.com>
Signed-off-by: Lucas Santos <lhs.santoss@gmail.com>
@khaosdoctor khaosdoctor requested a review from arschles April 27, 2021 18:28
@khaosdoctor
Copy link
Contributor Author

Commited the requested changes, but haven't done the test yet because I'm having some issues running Go in my PC, also I think we'll need to run mage manifests again to rebuild the RBAC config and CRD struct

Signed-off-by: Lucas Santos <lhs.santoss@gmail.com>
Copy link
Collaborator

@arschles arschles left a comment

Choose a reason for hiding this comment

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

@khaosdoctor will this mean we need to make changes to kedacore/charts#137 as well?

docs/ref/http_scaled_object.md Show resolved Hide resolved
@khaosdoctor
Copy link
Contributor Author

@khaosdoctor will this mean we need to make changes to kedacore/charts#137 as well?

Most likely yes, since the CRD will change (we may need to think in an automated way to do this)

@khaosdoctor khaosdoctor requested a review from arschles April 29, 2021 13:08
@arschles
Copy link
Collaborator

arschles commented May 6, 2021

@khaosdoctor in that case, do you think we need to bump the version of the CRD?

@khaosdoctor
Copy link
Contributor Author

@khaosdoctor in that case, do you think we need to bump the version of the CRD?

This might be a good idea, since this is a breaking change I propose a major version increase

@arschles
Copy link
Collaborator

arschles commented May 6, 2021

This might be a good idea, since this is a breaking change I propose a major version increase

would it, though? if you're just adding a new field to the spec, it won't break old HTTPScaledObjects. we could bump from v1alpha1 -> v1alpha2

@arschles arschles enabled auto-merge (squash) May 6, 2021 22:45
@khaosdoctor
Copy link
Contributor Author

This might be a good idea, since this is a breaking change I propose a major version increase

would it, though? if you're just adding a new field to the spec, it won't break old HTTPScaledObjects. we could bump from v1alpha1 -> v1alpha2

Agreed, we can keep the version and change the release :)

@arschles
Copy link
Collaborator

@khaosdoctor this looks great. I want to get the 0.1.0 release out before we merge this though. stand by :)

@khaosdoctor
Copy link
Contributor Author

Closing it as it's gonna be superseeded by #206

auto-merge was automatically disabled July 28, 2021 20:01

Pull request was closed

@khaosdoctor khaosdoctor deleted the service-configuration branch July 28, 2021 20:01
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.

Add configuration parameters for operator-created services
2 participants