Skip to content

Commit 5179974

Browse files
committed
change name
1 parent d87661f commit 5179974

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

examples/kcp/main.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ import (
3737

3838
datav1alpha1 "github.com/kcp-dev/controller-runtime/examples/kcp/apis/v1alpha1"
3939
"github.com/kcp-dev/logicalcluster/v3"
40+
4041
// Import all Kubernetes client auth plugins (e.g. Azure, GCP, OIDC, etc.)
4142
// to ensure that exec-entrypoint and run can make use of them.
4243
_ "k8s.io/client-go/plugin/pkg/client/auth"
@@ -76,7 +77,7 @@ type Options struct {
7677

7778
func (o *Options) addFlags(fs *flag.FlagSet) {
7879
fs.StringVar(&o.KubeconfigContext, "context", "", "kubeconfig context")
79-
fs.StringVar(&o.APIExportName, "api-export-name", "widgets", "The name of the APIExport.")
80+
fs.StringVar(&o.APIExportName, "api-export-name", "data.my.domain", "The name of the APIExport.")
8081
fs.StringVar(&o.MetricsAddr, "metrics-bind-address", ":8080", "The address the metric endpoint binds to.")
8182
fs.StringVar(&o.ProbeAddr, "health-probe-bind-address", ":8081", "The address the probe endpoint binds to.")
8283
fs.BoolVar(&o.EnableLeaderElection, "leader-elect", false,

0 commit comments

Comments
 (0)