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

[bitnami/fluent-bit] Fix typo daemonset.enable #31088

Merged
merged 6 commits into from
Dec 20, 2024

Conversation

eugene70
Copy link
Contributor

@eugene70 eugene70 commented Dec 18, 2024

There is a typo in the condition for generating pdb as described in issue #30539. We need to change enable to enabled.
The issue closed, but not solved.

{{- if and .Values.pdb.create (not .Values.daemonset.enabled) }}

@github-actions github-actions bot added fluent-bit triage Triage is needed labels Dec 18, 2024
@github-actions github-actions bot requested a review from javsalgar December 18, 2024 08:54
@eugene70 eugene70 changed the title Fix fluent-bit pdb creation condition [bitnami/fluent-bit] Fix pdb creation condition Dec 18, 2024
@carrodher
Copy link
Member

Thanks for your contribution! Could you please bump the chart version in the Chart.yaml? This is necessary to test the changes and cut a new release.

@eugene70
Copy link
Contributor Author

Changed Chart.yaml.

@carrodher
Copy link
Member

I just discovered other templates with the same issue in this chart, taking advantage of this PR, would you mind fixing them as well? See

$ ag 'daemonset\.enable'
templates/vpa.yaml
35:    kind: {{ ternary "DaemonSet" "Deployment" .Values.daemonset.enable }}

templates/pdb.yaml
6:{{- if and .Values.pdb.create (not .Values.daemonset.enable) }}

templates/hpa.yaml
6:{{- if and  (not .Values.daemonset.enable)  .Values.autoscaling.hpa.enabled  }}

Signed-off-by: Eugene Kim <eugene70kim@gmail.com>
@eugene70 eugene70 changed the title [bitnami/fluent-bit] Fix pdb creation condition [bitnami/fluent-bit] Fix typo daemonset.enable Dec 18, 2024
Signed-off-by: Bitnami Containers <bitnami-bot@vmware.com>
@eugene70
Copy link
Contributor Author

Fixed all and changed title.

@carrodher carrodher added verify Execute verification workflow for these changes in-progress labels Dec 19, 2024
carrodher
carrodher previously approved these changes Dec 19, 2024
Copy link
Member

@carrodher carrodher 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

@carrodher carrodher enabled auto-merge (squash) December 19, 2024 08:22
@github-actions github-actions bot removed the triage Triage is needed label Dec 19, 2024
@github-actions github-actions bot removed the request for review from javsalgar December 19, 2024 08:22
@github-actions github-actions bot requested a review from alvneiayu December 19, 2024 08:22
Signed-off-by: Bitnami Containers <bitnami-bot@vmware.com>
alvneiayu
alvneiayu previously approved these changes Dec 20, 2024
Signed-off-by: Alvaro Neira Ayuso <alvaroneay@gmail.com>
alvneiayu and others added 2 commits December 20, 2024 11:49
Signed-off-by: Alvaro Neira Ayuso <alvaro.neira@broadcom.com>
Signed-off-by: Bitnami Containers <bitnami-bot@vmware.com>
@carrodher carrodher merged commit 2efe620 into bitnami:main Dec 20, 2024
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fluent-bit solved verify Execute verification workflow for these changes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[bitnami/fluent-bit] PodDisruptionBudget/fluent-bit gets created despites we deploy as DaemonSet
6 participants