-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
feat: add revisionHistoryLimit #9963
feat: add revisionHistoryLimit #9963
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the PR. I left one nit. I also suspect that the build will fail. You have to:
- Either upgrade the YAML installation files correspondingly to this change
- Wrap the Helm chart change with some condition to not set it when not configured by the user. (see how it is done for the other fields such as the
priorityClassName
as example)
I personally would prefer the second option.
@@ -2,7 +2,7 @@ apiVersion: v2 | |||
appVersion: "0.1.0" | |||
description: "Strimzi: Apache Kafka running on Kubernetes" | |||
name: strimzi-kafka-operator | |||
version: 0.1.1 | |||
version: 0.2.1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please don't change this.
thanks @scholzj, i opted to just set a default value in the yaml file |
That does not fix it because it will still generate the YAML with the value You would need to do it as it is done for example for the priority class name: https://github.com/strimzi/strimzi-kafka-operator/blob/main/packaging/helm-charts/helm3/strimzi-kafka-operator/templates/060-Deployment-strimzi-cluster-operator.yaml#L45-L47 |
@scholzj fixed that, but i would like to understand where is the issue? |
hey @scholzj @ppatierno could you help me figure out what went wrong in the CI, it complains about uncommitted changes in a dir a didn't touch? |
Yeah, this is the error I talked about. I think the Deployment YAMl in the Helm Chart looks good now. But you have to also remove the default value from the values file to not have it rendered into the YAML. It also looks like some older commits got pulled into your PR in some rebase, could you please try to fix it as well? |
Signed-off-by: Jakub Scholz <[email protected]> Signed-off-by: AvivGuiser <[email protected]>
Signed-off-by: AvivGuiser <[email protected]>
Signed-off-by: AvivGuiser <[email protected]>
Signed-off-by: AvivGuiser <[email protected]>
…9955)" This reverts commit 19768af. Signed-off-by: AvivGuiser <[email protected]>
Signed-off-by: AvivGuiser <[email protected]>
/azp run helm-acceptance |
Azure Pipelines successfully started running 1 pipeline(s). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Thanks.
Signed-off-by: AvivGuiser <[email protected]>
Signed-off-by: AvivGuiser <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Thanks!
Type of change
Description
adding the ability to set the revisionHistoryLimit for the operator Deployment
Checklist
Please go through this checklist and make sure all applicable tasks have been done