Skip to content

feat: support pod host aliases#23

Merged
sionsmith merged 1 commit into
mainfrom
feat/hostaliases-pod-template
Jun 3, 2026
Merged

feat: support pod host aliases#23
sionsmith merged 1 commit into
mainfrom
feat/hostaliases-pod-template

Conversation

@sionsmith

Copy link
Copy Markdown
Contributor

Summary

  • add spec.template.pod.hostAliases support for KafkaBackup and KafkaRestore pods
  • use typed Kubernetes HostAlias schema validation instead of a free-form pass-through array
  • apply aliases to one-shot backup Jobs, scheduled backup CronJobs, and restore Jobs
  • regenerate CRDs and update examples/docs/changelog

Fixes #22.

Validation

  • cargo fmt --all -- --check
  • cargo test
  • cargo clippy --all-targets --all-features -- -D warnings
  • helm template --include-crds strimzi-backup-operator deploy/helm/strimzi-backup-operator
  • helm lint deploy/helm/strimzi-backup-operator
  • git diff --check
  • minikube API-server validation for valid and invalid hostAliases
  • live local operator reconcile validated generated Job and CronJob pod templates
  • runtime canary pod validated Kubernetes /etc/hosts injection

@sionsmith sionsmith force-pushed the feat/hostaliases-pod-template branch from 02d3059 to 1a5ae40 Compare June 3, 2026 08:56
@sionsmith sionsmith merged commit 5364673 into main Jun 3, 2026
7 checks passed
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.

Feature request: configure hostAliases for backup pod template

1 participant