Skip to content

fix!: make imagePullSecret optional to prevent kubelet errors#155

Merged
lockwobr merged 1 commit intomainfrom
missing-secret
Jan 30, 2026
Merged

fix!: make imagePullSecret optional to prevent kubelet errors#155
lockwobr merged 1 commit intomainfrom
missing-secret

Conversation

@lockwobr
Copy link
Collaborator

BREAKING CHANGE: imagePullSecret now defaults to empty string instead of "node-init-secret"

Previously, imagePullSecret defaulted to "node-init-secret" which caused kubelet to log errors when the secret didn't exist. This change makes the secret truly optional:

  • chart/values.yaml: Change default from "node-init-secret" to ""
  • chart/templates/deployment.yaml: Only add imagePullSecrets when set
  • operator/internal/controller/skyhook_controller.go: Remove default value and conditionally add ImagePullSecrets to pods
  • operator/config/manager/manager.yaml: Remove hardcoded secret
  • Update documentation with migration instructions

Users pulling from private registries must now explicitly set imagePullSecret in their Helm values. Users with public images (default ghcr.io) need no changes.

BREAKING CHANGE: imagePullSecret now defaults to empty string instead
of "node-init-secret"

Previously, imagePullSecret defaulted to "node-init-secret" which
caused kubelet to log errors when the secret didn't exist. This change
makes the secret truly optional:

- chart/values.yaml: Change default from "node-init-secret" to ""
- chart/templates/deployment.yaml: Only add imagePullSecrets when set
- operator/internal/controller/skyhook_controller.go: Remove default
  value and conditionally add ImagePullSecrets to pods
- operator/config/manager/manager.yaml: Remove hardcoded secret
- Update documentation with migration instructions

Users pulling from private registries must now explicitly set
imagePullSecret in their Helm values. Users with public images
(default ghcr.io) need no changes.
@lockwobr lockwobr merged commit a56533f into main Jan 30, 2026
26 of 27 checks passed
@lockwobr lockwobr deleted the missing-secret branch January 30, 2026 19:39
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.

2 participants