mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-18 07:34:12 +00:00
expose: Use resource builder
Plus: * Rename flag --service-name to --name * Some refactoring
This commit is contained in:
@@ -615,6 +615,7 @@ _kubectl_expose()
|
||||
flags+=("-h")
|
||||
flags+=("--labels=")
|
||||
two_word_flags+=("-l")
|
||||
flags+=("--name=")
|
||||
flags+=("--no-headers")
|
||||
flags+=("--output=")
|
||||
two_word_flags+=("-o")
|
||||
@@ -624,7 +625,6 @@ _kubectl_expose()
|
||||
flags+=("--protocol=")
|
||||
flags+=("--public-ip=")
|
||||
flags+=("--selector=")
|
||||
flags+=("--service-name=")
|
||||
flags+=("--target-port=")
|
||||
flags+=("--template=")
|
||||
two_word_flags+=("-t")
|
||||
|
Reference in New Issue
Block a user