aboutsummaryrefslogtreecommitdiff
path: root/completions/bash
diff options
context:
space:
mode:
authorPeter Hunt <pehunt@redhat.com>2019-04-03 10:14:14 -0400
committerPeter Hunt <pehunt@redhat.com>2019-05-28 11:10:57 -0400
commit18d7fcb5eb1966c4d3748a50c625c01c1ebd9f5b (patch)
tree9fa54a23bc7a014fd0ea16c16ce75e21859e6183 /completions/bash
parent335a1ef1606734e4735a810e839032297cc89060 (diff)
downloadpodman-18d7fcb5eb1966c4d3748a50c625c01c1ebd9f5b.tar.gz
podman-18d7fcb5eb1966c4d3748a50c625c01c1ebd9f5b.tar.bz2
podman-18d7fcb5eb1966c4d3748a50c625c01c1ebd9f5b.zip
Update completions and docs to use k8s file as log driver
Signed-off-by: Peter Hunt <pehunt@redhat.com>
Diffstat (limited to 'completions/bash')
-rw-r--r--completions/bash/podman5
1 files changed, 5 insertions, 0 deletions
diff --git a/completions/bash/podman b/completions/bash/podman
index 60d5fde52..b2b27756d 100644
--- a/completions/bash/podman
+++ b/completions/bash/podman
@@ -486,6 +486,7 @@ __podman_complete_log_drivers() {
none
splunk
syslog
+ k8s-file
" -- "$cur" ) )
}
@@ -500,6 +501,7 @@ __podman_complete_log_options() {
local logentries_options="logentries-token"
local syslog_options="env labels syslog-address syslog-facility syslog-format syslog-tls-ca-cert syslog-tls-cert syslog-tls-key syslog-tls-skip-verify tag"
local splunk_options="env labels splunk-caname splunk-capath splunk-format splunk-gzip splunk-gzip-level splunk-index splunk-insecureskipverify splunk-source splunk-sourcetype splunk-token splunk-url splunk-verify-connection tag"
+ local k8s_file_options="env labels max-file max-size"
local all_options="$fluentd_options $gcplogs_options $gelf_options $journald_options $logentries_options $json_file_options $syslog_options $splunk_options"
@@ -525,6 +527,9 @@ __podman_complete_log_options() {
json-file)
COMPREPLY=( $( compgen -W "$json_file_options" -S = -- "$cur" ) )
;;
+ k8s-file)
+ COMPREPLY=( $( compgen -W "$k8s_file_options" -S = -- "$cur" ) )
+ ;;
logentries)
COMPREPLY=( $( compgen -W "$logentries_options" -S = -- "$cur" ) )
;;