diff --git a/lib/ansible/plugins/lookup/k8s.py b/lib/ansible/plugins/lookup/k8s.py index 13965a2eb73..943513fd0cd 100644 --- a/lib/ansible/plugins/lookup/k8s.py +++ b/lib/ansible/plugins/lookup/k8s.py @@ -135,7 +135,7 @@ EXAMPLES = """ - name: Fetch all deployments set_fact: - deployments: "{{ lookup('k8s', kind='Deployment', namespace='testing') }}" + deployments: "{{ lookup('k8s', kind='Deployment') }}" - name: Fetch all deployments in a namespace set_fact: