diff --git a/cmd/k8s-operator/operator.go b/cmd/k8s-operator/operator.go index 7386107bd..ad814bd51 100644 --- a/cmd/k8s-operator/operator.go +++ b/cmd/k8s-operator/operator.go @@ -45,12 +45,12 @@ "tailscale.com/version" ) -// Generate static manifests for deploying Tailscale operator on Kubernetes from the operator's Helm chart. -//go:generate go run tailscale.com/cmd/k8s-operator/generate staticmanifests - // Generate Connector and ProxyClass CustomResourceDefinition yamls from their Go types. //go:generate go run sigs.k8s.io/controller-tools/cmd/controller-gen crd schemapatch:manifests=./deploy/crds output:dir=./deploy/crds paths=../../k8s-operator/apis/... +// Generate static manifests for deploying Tailscale operator on Kubernetes from the operator's Helm chart. +//go:generate go run tailscale.com/cmd/k8s-operator/generate staticmanifests + // Generate CRD docs from the yamls //go:generate go run fybrik.io/crdoc --resources=./deploy/crds --output=../../k8s-operator/api.md