Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Controller manager crashes when using the googleAPIsBundle parameter with a ComputeForwardingRule #3489

Open
3 tasks done
rolandkool opened this issue Jan 15, 2025 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@rolandkool
Copy link

Checklist

Bug Description

With Config Connector version 1.125, the first version to support the googleAPIsBundle parameter on a ComputeForwardingRule resource, the controller manager crashes.

Additional Diagnostic Information

Error from the log:

{"severity":"info","timestamp":"2025-01-14T15:07:28.088Z","msg":"Observed a panic in reconciler: assignment to entry in nil map","controller":"computeforwardingrule-controller","controllerGroup":"compute.cnrm.cloud.google.com","controllerKind":"ComputeForwardingRule","ComputeForwardingRule":{"name":"privategoogleapis","namespace":"somenamespace"},"namespace":"somenamespace","name":"privategoogleapis","reconcileID":"ba9486dc-2e69-47d8-9544-fcf9853ffbc3"}
panic: assignment to entry in nil map [recovered]
panic: assignment to entry in nil map

Kubernetes Cluster Version

1.30

Config Connector Version

1.125.0

Config Connector Mode

cluster mode

Log Output

See Additional Diagnostics

Steps to reproduce the issue

Example resource:

---
apiVersion: compute.cnrm.cloud.google.com/v1beta1
kind: ComputeForwardingRule
metadata:
  name: privategoogleapis
spec:
  ipAddress:
    addressRef:
      name: privategoogleapis
  location: global
  target:
    googleAPIsBundle: all-apis

YAML snippets

apiVersion: compute.cnrm.cloud.google.com/v1beta1
kind: ComputeForwardingRule
metadata:
  name: privategoogleapis
spec:
  ipAddress:
    addressRef:
      name: privategoogleapis
  location: global
  target:
    googleAPIsBundle: all-apis
@rolandkool rolandkool added the bug Something isn't working label Jan 15, 2025
@gemmahou gemmahou self-assigned this Jan 31, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants