Skip to content

Comments

add helm chart values for pod annotations and labels#118

Open
aolear-ss wants to merge 1 commit intostrimzi:mainfrom
aolear-ss:main
Open

add helm chart values for pod annotations and labels#118
aolear-ss wants to merge 1 commit intostrimzi:mainfrom
aolear-ss:main

Conversation

@aolear-ss
Copy link

This pull request adds additional options to the helm chart for customization of the operator deployment.

One example of where this is necessary is hosting the Strimzi Access Operator in an Azure Kubernetes Cluster with a layer 7 egress firewall to set the kubernetes.azure.com/set-kube-service-host-fqdn annotation. More info: https://learn.microsoft.com/en-us/azure/aks/outbound-rules-control-egress#required-outbound-network-rules-and-fqdns-for-aks-clusters

@aolear-ss aolear-ss force-pushed the main branch 2 times, most recently from 434f7d4 to f97bbb4 Compare February 9, 2026 14:37
Copy link
Member

@scholzj scholzj left a comment

Choose a reason for hiding this comment

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

I left some comments. But this enhancmenet makes sense. Thanks for opening the PR.

Comment on lines 3 to 6
appVersion: "0.2.0"
description: "Strimzi Kafka Access Operator"
name: strimzi-access-operator
version: 0.1.0
version: 0.2.0
Copy link
Member

Choose a reason for hiding this comment

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

I don't think we are changing these here.

Copy link
Author

Choose a reason for hiding this comment

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

i can revert this change. Is the chart versioning handled elsewhere or are we just overwriting a static 0.1.0 version?

Copy link
Member

Choose a reason for hiding this comment

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

TBH, I think the release tooling might handle it? In any case, we do not do any version changes for changes like this.

Copy link
Member

Choose a reason for hiding this comment

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

In the packaging I think there should be future version of the operator and in the released Chart.yaml should be the latest released version - 0.2.0 in this case. However, it seems that we are just updating these values in Drain Cleaner repository.

But this should be changed in different PR IMO, so if you can please revert these changes from this PR, thanks :)

I think we will need to add some step to our release guide or to some automation we have (nothing for this PR).

Comment on lines 58 to 59
| `podAnnotations` | Additional annotations to apply to Access Operator Pod | `{}` |
| `podLabels` | Additional labels to apply to Access Operator Pod | `{}` |
Copy link
Member

Choose a reason for hiding this comment

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

Should we follow the Cluster Operator Helm Chart and call it just labels and annotations? WDYT @katheris and @strimzi/maintainers?

Copy link
Author

Choose a reason for hiding this comment

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

i went with podAnnotations and podLabels to leave room if a future requirement dictated needing to manage different annotations or labels for different objects managed by the chart such as the deployment or service account.

In my use case I don't require that, but I have seen other charts take that approach for allowing for the most flexibility. If desired I can add those different options to that chart as well, or whatever the rest of the maintainers would like to see

Copy link
Author

Choose a reason for hiding this comment

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

taking another look at their chart, it looks like they have annotations, which targets the pod and deploymentAnnotations which targets the deployment.

So I'll wait to hear from the rest of the maintainers, but I think you're right to keep it consistent for strimzi, I should rename this to just annotations

Copy link
Member

Choose a reason for hiding this comment

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

Thanks @aolear-ss for the changes, I would keep it consistent with the Cluster Operator.

@scholzj scholzj requested review from im-konge and katheris February 9, 2026 15:18
Signed-off-by: Alex <alex.olear@scaledsense.com>
Copy link
Member

@scholzj scholzj left a comment

Choose a reason for hiding this comment

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

LGTM. Thanks.

Copy link
Member

@im-konge im-konge left a comment

Choose a reason for hiding this comment

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

LGTM, thanks!

@scholzj scholzj added this to the 0.3.0 milestone Feb 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants