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

[BUG] CRDs not installed on Subscription apply #418

Open
adomenech73 opened this issue Jan 24, 2025 · 0 comments
Open

[BUG] CRDs not installed on Subscription apply #418

adomenech73 opened this issue Jan 24, 2025 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@adomenech73
Copy link

Describe the bug

The Custom Resource Definitions (CRDs) for the Cassandra operator are not being installed, despite the installation job running successfully. The job logs show that the CRD files are being read, but when listing the available CRDs in the cluster, the Cassandra-related CRDs are not present.

To Reproduce

apiVersion: operators.coreos.com/v1alpha1
kind: Subscription
metadata:
  name: cassandra-operator-subscription
  namespace: data-services
spec:
  channel: alpha
  name: cassandra-operator
  source: operatorhubio-catalog
  sourceNamespace: olm

Steps to reproduce the behavior:

  1. Apply the Cassandra operator subscription
  2. Wait for the installation job to complete
  3. Check the job logs, which show CRD files being read
  4. List the CRDs in the cluster
  5. Observe that Cassandra-related CRDs are missing

Expected behavior
After the installation job completes, the Cassandra-related CRDs (cassandrabackups.cassandraoperator.instaclustr.com, cassandraclusters.cassandraoperator.instaclustr.com, cassandradatacenters.cassandraoperator.instaclustr.com) should be present when listing CRDs in the cluster.

Environment

  • OS: MacOsx: 14.6.1 > Colima: 0.8.1 arch: x86_64 runtime:docker > Kind: v0.25.0
  • Kubernetes version: v1.31.2
  • kubectl version: v1.31.3
  • Go version: go version go1.23.2 darwin/arm64
  • Cassandra version: cassandra-operator.v2.0.0

Additional context

  • Perhaps I'm missing something.
  • As workaround I can apply manually the creation of the CRDs from the deploy folder.
  • Apple Silicon Hardware with x86 emulation.
@adomenech73 adomenech73 added the bug Something isn't working label Jan 24, 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