You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug] openshift-service-ca.crt ConfigMap not filtered during transform #27
crane export captures the openshift-service-ca.crt ConfigMap and
OpenShiftPlugin does not filter it out during transform. This ConfigMap
is OCP-managed, auto-created and populated by the service-ca operator
in every namespace. it is never created by the user.
Expected Behavior
openshift-service-ca.crt should be filtered out by OpenShiftPlugin
since it is OCP-specific, cluster-specific, and automatically recreated
by the target cluster's service-ca operator. This is analogous to how
KubernetesPlugin filters kube-root-ca.crt.
Actual Behavior
openshift-service-ca.crt passes through transform and appears in the
final output manifest, ready to be applied to the target cluster.
Risk
The cert data is injected at runtime via annotation
(service.beta.openshift.io/inject-cabundle), so in most cases the
exported ConfigMap is empty and applying it is harmless today
However if the ConfigMap carries data, applying it to the target would
overwrite the target cluster's own service CA cert in that namespace,
potentially breaking TLS for any workload relying on it for internal
service communication
Steps to Reproduce
Create a namespace on an OCP source cluster
Run crane export
Run crane transform (without OpenShiftPlugin stage — KubernetesPlugin only)
Check output: openshift-service-ca.crt ConfigMap is present
Proposed Fix
Add openshift-service-ca.crt to the OpenShiftPlugin filter list.
This issue is currently awaiting triage.
If contributors determine this is a relevant issue, they will accept it by applying the triage/accepted label and provide further guidance.
The triage/accepted label can be added by org members by writing /triage accepted in a comment.
This issue looks to be caused by missing OpenShiftPlugin during the test, please re-test using tool based on crane-mta or install upstream OpenShift plugin for crane ($ crane plugin-manager add OpenShiftPlugin).
Anyway added a PR for openshift plugin with a test checking those resources are removed: #32
Activity
github-actions commentedon Jun 8, 2026
This issue is currently awaiting triage.
If contributors determine this is a relevant issue, they will accept it by applying the
triage/acceptedlabel and provide further guidance.The
triage/acceptedlabel can be added by org members by writing/triage acceptedin a comment.aufi commentedon Jun 12, 2026
Similar with #23
aufi commentedon Jun 19, 2026
This issue looks to be caused by missing OpenShiftPlugin during the test, please re-test using tool based on
crane-mtaor install upstream OpenShift plugin for crane ($ crane plugin-manager add OpenShiftPlugin).Anyway added a PR for openshift plugin with a test checking those resources are removed: #32
midays commentedon Jun 22, 2026
issue already mentioned in #23
Add tests for openshift-service-ce whiteout
aufi commentedon Jun 29, 2026
Fixed as part of #23