Skip to content
GitHub

Inspect the API with kubectl explain

kubectl explain reads the schema installed in your cluster, so it matches your deployed CRDs. The commands below cover every Flareway Kind.

Flareway serves v1alpha1 resources in the flareway.bhyoo.com API group. The generated CRDs in config/crd/bases/ are the schema source of truth. The API reference describes each kind and its fields, and ADR 0001 records the design decisions behind the API.

Terminal window
kubectl explain gatewayclassconfig.spec --api-version=flareway.bhyoo.com/v1alpha1
kubectl explain gatewayclassconfig.spec.scheduling --api-version=flareway.bhyoo.com/v1alpha1
kubectl explain cloudflareaccount.spec.grants --api-version=flareway.bhyoo.com/v1alpha1
kubectl explain cloudflaretunnel.spec --api-version=flareway.bhyoo.com/v1alpha1
kubectl explain cloudflaretunnel.status.hostnames --api-version=flareway.bhyoo.com/v1alpha1
kubectl explain cloudflaretunnel.status.hostnames.accessBinding --api-version=flareway.bhyoo.com/v1alpha1
kubectl explain accessapplication.spec --api-version=flareway.bhyoo.com/v1alpha1
kubectl explain accessstandaloneapplication.spec --api-version=flareway.bhyoo.com/v1alpha1
kubectl explain accesspolicy.spec --api-version=flareway.bhyoo.com/v1alpha1
kubectl explain accessgroup.spec --api-version=flareway.bhyoo.com/v1alpha1
kubectl explain identityprovider.spec --api-version=flareway.bhyoo.com/v1alpha1
kubectl explain accesscustompage.spec --api-version=flareway.bhyoo.com/v1alpha1
kubectl explain deviceposturerule.spec --api-version=flareway.bhyoo.com/v1alpha1
kubectl explain devicepostureintegration.spec --api-version=flareway.bhyoo.com/v1alpha1
kubectl explain accessinfrastructuretarget.spec --api-version=flareway.bhyoo.com/v1alpha1
kubectl explain servicetoken.spec --api-version=flareway.bhyoo.com/v1alpha1
kubectl explain virtualnetwork.spec --api-version=flareway.bhyoo.com/v1alpha1
kubectl explain networkroute.spec --api-version=flareway.bhyoo.com/v1alpha1
kubectl explain hostnameroute.spec --api-version=flareway.bhyoo.com/v1alpha1
kubectl explain warpconnector.spec --api-version=flareway.bhyoo.com/v1alpha1
kubectl explain deviceprofile.spec --api-version=flareway.bhyoo.com/v1alpha1
kubectl explain devicesettings.spec --api-version=flareway.bhyoo.com/v1alpha1
kubectl explain zerotrustorganization.spec --api-version=flareway.bhyoo.com/v1alpha1
kubectl explain zerotrustgatewaypolicy.spec --api-version=flareway.bhyoo.com/v1alpha1
kubectl explain zerotrustlist.spec --api-version=flareway.bhyoo.com/v1alpha1

Add --recursive to inspect nested fields. Use kubectl explain httproute.spec.rules --api-version=gateway.networking.k8s.io/v1 for the upstream routing API.

CloudflareTunnel.status.hostnames[].accessBinding records the applied Access binding as a digest, without exposing AUD values. A missing digest in older status triggers one blocked configuration before forwarding can resume. See Applied hostname status and Access transitions for the handoff and per-listener DNS gates.

Area Resources
Gateway and account GatewayClassConfig, CloudflareAccount, CloudflareTunnel
Access AccessApplication, AccessStandaloneApplication, AccessPolicy, AccessGroup, IdentityProvider, AccessCustomPage, DevicePostureRule, DevicePostureIntegration, AccessInfrastructureTarget, ServiceToken
Private network VirtualNetwork, NetworkRoute, HostnameRoute, WARPConnector
Account-wide settings DeviceProfile, DeviceSettings, ZeroTrustOrganization, ZeroTrustGatewayPolicy, ZeroTrustList

Gateway traffic uses the upstream gateway.networking.k8s.io/v1 GatewayClass, Gateway, HTTPRoute, and BackendTLSPolicy resources.

WARPConnector.spec.name is normalized by trimming surrounding whitespace, compared case-sensitively, and never used as an adoption key. An exact-name collision or case-only mismatch requires AdoptById with externalRef.tunnelId and an exact, non-empty adoption.expect.name; interrupted-create recovery relies only on a controller-owned status checkpoint that matches the remote identity and HA capability.

Individual resource examples and a complete neutral workload mapping live in config/samples/. See workload_application.yaml for an end-to-end example.

All IDs, tokens, hostnames, and account details in the sample files are placeholders.