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

Missing Cert-Manager Resources while generate bundle #6873

Open
Manvi1203 opened this issue Dec 4, 2024 · 2 comments
Open

Missing Cert-Manager Resources while generate bundle #6873

Manvi1203 opened this issue Dec 4, 2024 · 2 comments
Labels
lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed.

Comments

@Manvi1203
Copy link

Bug Report

What did you do?

Tried generating an operator bundle for helm-chart. Steps to reproduce the error:

What did you expect to see?

Expected all the resources from templates/ to be included in the generated manifests.

What did you see instead? Under which circumstances?

When generating an Operator Bundle from a Helm chart using operator-sdk generate bundle, certain custom resources (those for cert-manager) are not automatically included.
List of custom resources not included in the generated bundle:

  • In templates/cluster-crs.yaml
apiVersion: cert-manager.io/v1
kind: ClusterIssuer
metadata:
  name: alloydbomni-selfsigned-cluster-issuer
spec:
  selfSigned: {}
  • In templates/fleet-webhooks.yaml
apiVersion: [cert-manager.io/v1](http://cert-manager.io/v1)
kind: Certificate
metadata:
  name: fleet-serving-cert
  namespace: alloydb-omni-system
spec:
  dnsNames:
  - fleet-webhook-service.alloydb-omni-system.svc
  - fleet-webhook-service.alloydb-omni-system.svc.cluster.local
  issuerRef:
    kind: Issuer
    name: fleet-selfsigned-issuer
  secretName: fleet-webhook-server-cert
apiVersion: [cert-manager.io/v1](http://cert-manager.io/v1)
kind: Issuer
metadata:
  name: fleet-selfsigned-issuer
  namespace: alloydb-omni-system
spec:
  selfSigned: {}
  • In templates/local-webhooks.yaml
apiVersion: [cert-manager.io/v1](http://cert-manager.io/v1)
kind: Certificate
metadata:
  name: local-serving-cert
  namespace: alloydb-omni-system
spec:
  dnsNames:
  - local-webhook-service.alloydb-omni-system.svc
  - local-webhook-service.alloydb-omni-system.svc.cluster.local
  issuerRef:
    kind: Issuer
    name: local-selfsigned-issuer
  secretName: local-webhook-server-cert

Environment

Operator type:

language helm

Kubernetes cluster type:

$ operator-sdk version
4.12.69

$ kubectl version
1.25.16

Possible Solution

Additional context

@openshift-bot
Copy link

Issues go stale after 90d of inactivity.

Mark the issue as fresh by commenting /remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually close.
Exclude this issue from closing by commenting /lifecycle frozen.

If this issue is safe to close now please do so with /close.

/lifecycle stale

@openshift-ci openshift-ci bot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Mar 4, 2025
@openshift-bot
Copy link

Stale issues rot after 30d of inactivity.

Mark the issue as fresh by commenting /remove-lifecycle rotten.
Rotten issues close after an additional 30d of inactivity.
Exclude this issue from closing by commenting /lifecycle frozen.

If this issue is safe to close now please do so with /close.

/lifecycle rotten
/remove-lifecycle stale

@openshift-ci openshift-ci bot added lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed. and removed lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. labels Apr 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed.
Projects
None yet
Development

No branches or pull requests

2 participants