mongodb / mongodb-kubernetes-operator

MongoDB Community Kubernetes Operator

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

mongodb-kubernetes-operator v1.18.6 is missing labels

joavilacr opened this issue · comments

What did you do to encounter the bug?
Steps to reproduce the behavior:
NA

What did you expect?
The labels that Kubernetes recommends provide useful identification information used by Kubernetes, users of the cluster, and other resources.

The recommended labels should be defined at one or more of these locations metadata.labels, spec.template.metadata.labels, spec.jobTemplate.spec.template.metadata.labels, spec.volumeClaimTemplates[].metadata.labels depending on the type of resource you're dealing with.

The labels to include are:

app.kubernetes.io/name
app.kubernetes.io/managed-by
app.kubernetes.io/instance

The following manifest are missing the labels:

Deployment:

  • mongodb-kubernetes-operator.yaml

Role:

  • mongodb-database.yaml
  • mongodb-kubernetes-operator.yaml

Rolebinding:

  • mongodb-database.yaml
  • mongodb-kubernetes-operator.yaml

Serviceaccount:

  • mongodb-database.yaml
  • mongodb-kubernetes-operator.yaml

What happened instead?
Missing labels from some mongodb components.

Screenshots
NA

Operator Information

  • Operator Version: v1.18.6
  • MongoDB Image used

Kubernetes Cluster Information

  • OpenShift
  • 4.12.22
  • Image Registry location (quay, or an internal registry)

Additional context
Add any other context about the problem here.

If possible, please include:

  • kubectl describe output
  • yaml definitions for your objects
  • log files for the operator and database pods

This issue is being marked stale because it has been open for 60 days with no activity. Please comment if this issue is still affecting you. If there is no change, this issue will be closed in 30 days.

This issue was closed because it became stale and did not receive further updates. If the issue is still affecting you, please re-open it, or file a fresh Issue with updated information.