Skip to content

Auth Flow page lists the wrong names for the HTTPRoute, SecurityPolicy and Certificate #38

Open

Description

@dcmcand

The resource names on the Auth Flow page don't match what the operator creates (internal/controller/utils/naming/naming.go:46-104). The suffixes are the same in alpha.19, alpha.20 and v0.1.1, so the page was never right.

Resource Docs (docs/site/src/content/docs/auth-flow.md) Operator v0.1.1
SecurityPolicy <name>-oidc (:222) <name>-security
SecurityPolicy targetRef <name> (:227) <name>-route
HTTPRoute <name> (:244) <name>-route, plus <name>-public-route when publicRoutes is set
Certificate <name>-tls in the app namespace (:263) <name>-<namespace>-cert in envoy-gateway-system
Certificate secretName <name>-tls (:265) <name>-<namespace>-tls

The OIDC secret (<name>-oidc-client) and the Role (<name>-oidc-secret-reader) are correct. The CI log for this repo shows the real names (my-pack-route, my-pack-security).

Fix

  • Correct the table and YAML on the page and in the docs/auth-flow.md mirror.
  • Note that the Certificate only exists when the operator has a ClusterIssuer and tls.secretName is unset.
  • Fix README.md:846, which runs kubectl get certificate -n my-pack; Certificates live in envoy-gateway-system.

Verified against this repo at 4e50cd0, nebari-operator v0.1.1 (same commit as operator main), and NIC v0.14.0.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Fields

    Priority

    None yet

    Start date

    None yet

    Target date

    None yet

    Size

    None yet

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions