Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does not work with k8s module #258

Open
mikkeschiren opened this issue Nov 21, 2019 · 1 comment
Open

Does not work with k8s module #258

mikkeschiren opened this issue Nov 21, 2019 · 1 comment

Comments

@mikkeschiren
Copy link

Environment

  • Extension version: 0.5.2
  • OS Type:Linux

Summary

When editing yaml files, using the k8s module, the extension seems not to understand anything more than k8s, everything else seems not to work, like autocmpletion, this makes the plugin not usable for working with k8s.

https://docs.ansible.com/ansible/latest/modules/k8s_module.html

Reproduce steps

Enable the extension, open up or edit an ansible file using the k8s module. add:

- name: Test
  k8s:
    definition:
        kind: ConfigMap
        apiVersion: v1
        metadata:
          name: 'foo'
          namespace: 'bar'

Expected Results

Auto completion should work for definition, and everything below it.

Actual Results

No auto-completion, and no help availble in the UI.

@mikkeschiren
Copy link
Author

With validation activated, the only thing I get is:

Incorrect type. Expected "string".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant