Skip to content

Commit

Permalink
serve port 443 -> 6443
Browse files Browse the repository at this point in the history
  • Loading branch information
phosae committed May 11, 2023
1 parent b79bc3b commit d18e7ff
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion api-aggregation-lib/foo.kubeconfig
Expand Up @@ -2,7 +2,7 @@ apiVersion: v1
clusters:
- cluster:
certificate-authority: ./apiserver.local.config/certificates/apiserver.crt
server: https://localhost:443
server: https://localhost:6443
name: hello.zeng.dev-apiserver
contexts:
- context:
Expand Down
1 change: 1 addition & 0 deletions api-aggregation-lib/pkg/cmd/start.go
Expand Up @@ -116,6 +116,7 @@ func NewHelloServerCommand(stopCh <-chan struct{}) *cobra.Command {
opts := &Options{
SecureServing: genericoptions.NewSecureServingOptions().WithLoopback(),
}
opts.SecureServing.BindPort = 6443

cmd := &cobra.Command{
Short: "Launch hello.zeng.dev-server",
Expand Down

0 comments on commit d18e7ff

Please sign in to comment.