k8s_info now outputs whether the api was found (#308)

This commit is contained in:
Fabian von Feilitzsch
2020-11-29 23:56:54 -05:00
committed by GitHub
parent 8f14bf6c46
commit 2474ef1b2c
3 changed files with 35 additions and 6 deletions

View File

@@ -112,6 +112,11 @@ EXAMPLES = r'''
'''
RETURN = r'''
api_found:
description:
- Whether the specified api_version and kind were successfully mapped to an existing API on the targeted cluster.
returned: always
type: bool
resources:
description:
- The object(s) that exists