Skip to content

fix(complex): fix edge cases issues#23

Merged
stepankonecny96 merged 3 commits into
mainfrom
ai-fixed-fixes
May 11, 2026
Merged

fix(complex): fix edge cases issues#23
stepankonecny96 merged 3 commits into
mainfrom
ai-fixed-fixes

Conversation

@jindrichskupa

Copy link
Copy Markdown
Contributor

No description provided.

jindrichskupa and others added 2 commits May 11, 2026 13:29
…ing labels

Three additional latent bugs surfaced when reviewing edge cases on top
of the previous commit:

- hpa.yaml: minReplicas falls back to $component.replicas which can
  now be unset (since the previous commit hides .spec.replicas on the
  Deployment when HPA is enabled). Without a further fallback the HPA
  renders 'minReplicas: ' (empty) and gets rejected by kube-apiserver.
  Chain to 'default 1' as the last resort.

- _pod.tpl: enableServiceLinks defaulted to the string "False" which
  Go template renders verbatim ('enableServiceLinks: False'). K8s
  accepts the bool-coercion but the type is wrong on the wire.
  Switch to bool false. Also drop the commented-out securityContext
  scaffold left in the template since it has no effect.

- keda-triggerauthentication.yaml: TriggerAuthentication resource was
  rendered without any metadata.labels block, making it the only
  cookielab-managed resource without standard labels. Add the same
  cookielab.kubernetes.labels include used elsewhere.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Patch bump covering the bug fixes in this PR (KEDA Kafka identityOwner
logic, deployment replicas vs HPA drift, prometheusRule per-component
naming, serviceaccount empty labels, cronjob lifecycle/restartPolicy,
HPA minReplicas fallback, enableServiceLinks bool, KEDA
TriggerAuthentication labels).

README regenerated via helm-docs.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@stepankonecny96 stepankonecny96 merged commit 30bc8a2 into main May 11, 2026
5 checks passed
@stepankonecny96 stepankonecny96 deleted the ai-fixed-fixes branch May 11, 2026 11:32
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