Skip to content

Allow TLS key pair to be sourced at runtime from a Kubernetes secret  #700

@klasen

Description

@klasen

If intra-cluster communication needs to be encrypted, the pwm must provide https service with a certificate trusted by the ingress controller.

In order to achieve this I'd like to provide the TLS key/cert pair at pod runtime using a Secret of type "kubernetes.io/tls", coming a tls.crt and tls.key files, and ca.crt secret for intermediate and root certificates.

Unfortunately, because of the current way certs are configured in pwm, I can't mount this secret to any pod folder and get the pair picked up by the container at runtime.

See https://kubernetes.github.io/ingress-nginx/examples/auth/client-certs/#creating-certificate-secrets

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions