Skip to content
This repository was archived by the owner on Nov 12, 2026. It is now read-only.

bug: Remove Hardcoded "ghcr-secret" from ImagePullSpec - #124

Merged
pdettori merged 1 commit into
rossoctl:mainfrom
cwiklik:add-support-for-imagepullsecrets
Nov 1, 2025
Merged

pdettori merged 1 commit into
rossoctl:mainfrom
cwiklik:add-support-for-imagepullsecrets

Conversation

@cwiklik

@cwiklik cwiklik commented Oct 31, 2025 •

Copy link
Copy Markdown
Collaborator

Summary

This PR removes the hardcoded "ghcr-secret" value from the imagePullSecrets specification and replaces it with dynamic secret names defined in the Component Custom Resource.

Changes

  • Extended Component CR API: Added ImagePullSecrets field to ImageSpec struct
  // ImagePullSecrets is a list of references to secrets for pulling images
  // +optional
  ImagePullSecrets []corev1.LocalObjectReference `json:"imagePullSecrets,omitempty"`
  • Replace hardcoded "ghcr-secret" with component.Spec.Deployer.Kubernetes.ImageSpec.ImagePullSecrets

Related issue(s)

Fixes #123

@pdettori pdettori left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

/lgtm

@pdettori
pdettori merged commit 512bec5 into rossoctl:main Nov 1, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

bug: Remove hardcoded "ghcr-secret" from imagePullSpec

2 participants