Skip to content

Can not enable TLS in both security and prometheus #1127

Closed
@sieg2010

Description

@sieg2010

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

  1. In CRDs, set spec.security.tls.enabled = true, and other tls settings.
  2. In CRDs, set spec.prometheus.tlsSecretKeyRef a kubernetes secret name.
  3. Apply CRDs.
  4. There are 2 certificates mount in same mount point /var/lib/tls/server, and it cause pod can not start.

Screenshots
MicrosoftTeams-image (10)

Additional context
Please change tlsOperatorSecretMountPath in buildTLSPrometheus

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions