Skip to content

Support for creating certificate for wildcard route #204

@soumyajosekol

Description

@soumyajosekol

We are using the plugin for ROSA routes with single domain hostnames, and it works perfect.

There is an additional requirement to use the plugin for wildcard routes(sample host: wildcard.example.com). Is there an option to make it working for wildcard routes? Reusing the same annotations/ClusterIssuer is just creating the certificate for domain 'wildcard.example.com' instead of '*.example.com'

ClusterIssuer in reference is already been used to issue wildcard Certificates(Kind: certificate , using dns01 resolver).

We would want to add the option directly in wildcard route for one of the usecase

apiVersion: route.openshift.io/v1 kind: Route metadata: annotations: cert-manager.io/issuer-name: letsencrypt cert-manager.io/issuer-kind: ClusterIssuer haproxy.router.openshift.io/hsts_header: max-age=31536000;includeSubDomains;preload name: test-route spec: host: wildcard.example.com port: targetPort: 3000 tls: insecureEdgeTerminationPolicy: Redirect termination: reencrypt certificate: '' key: '' to: kind: Service name: test weight: 100 wildcardPolicy: Subdomain

``

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