SecretNotFound
Docs version v1 (main)Nauthera is pre-1.0, in a design-partner program
The Secret an IdentityProvider, LDAPDirectory or OIDCClient names does not exist; the resource is Ready=False, Error, and nothing is sent.
Meaning
The operator reads the provider's client secret from the Secret spec.
names, in the resource's own namespace, and there is none. The provider is not registered
or updated until the Secret appears; the operator watches Secrets and reconciles the
resource when it does.
An LDAPDirectory reports the same for the Secret spec. names, or
spec.caBundleRef of kind Secret, and an OIDCClient for the Secret
spec. names, which holds the client secret its team chose.
Impact
The organization's end users cannot sign in or sign up through this external provider if it was never registered; an existing registration keeps its previous secret and settings. For an OIDCClient, a client never registered cannot be used by its application; a registered one keeps the secret the server last took.
Diagnosis
kubectl -n <ns> describe identityprovider <name>(orldapdirectory,oidcclient) names the Secret. The admin dashboard's Problems page shows the same message, for the organization's administrators.kubectl -n <ns> get secret <secret>; a Secret in another namespace does not count.- For an external secrets controller or a SealedSecret:
kubectl -n <ns> get events --sort-by=., andlastTimestamp kubectl -n <ns> get sealedsecret <secret> -o jsonpath='{..status. conditions}'
Mitigation
- Create the Secret in the resource's namespace, or fix
spec.:clientSecretRef. name kubectl -n <ns> create secret generic <secret> --from-literal=client-secret=<value>. - If a secrets controller writes it, fix that controller's sync; a SealedSecret must be sealed for the resource's namespace and the Secret's name.
- An OIDCClient: create the Secret, or fix
spec.. See What the operator does.secret. secretRef. name
Escalation
The team that owns the provider's credential supplies the Secret. Escalate only if the Secret exists and the condition stays.
Operator failure reasons · Generated from operator/ in nauthera-server.