Skip to content

Conversation

@davidkydd
Copy link

No description provided.

CreateOrUpdate only persists spec changes, not status changes.
Status must be updated separately via the status subresource.
The pluralize function was only lowercasing the first letter of kind names,
resulting in resource names like 'configMaps' instead of 'configmaps'.

This caused the dynamic client to fail with 'server could not find the
requested resource' because Kubernetes expects fully lowercased resource
names.

The fix uses strings.ToLower to properly convert the entire kind name
before pluralizing.
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