Server IP : 85.214.239.14 / Your IP : 3.129.211.190 Web Server : Apache/2.4.62 (Debian) System : Linux h2886529.stratoserver.net 4.9.0 #1 SMP Tue Jan 9 19:45:01 MSK 2024 x86_64 User : www-data ( 33) PHP Version : 7.4.18 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare, MySQL : OFF | cURL : OFF | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : OFF Directory : /proc/2/root/lib/python3/dist-packages/ansible_collections/kubernetes/core/ |
Upload File : |
# Contributing ## Getting Started General information about setting up your Python environment, testing modules, Ansible coding styles, and more can be found in the [Ansible Community Guide]( https://docs.ansible.com/ansible/latest/community/index.html). ## Kubernetes Collections ### kubernetes.core This collection contains modules and plugins contributed and maintained by the Ansible Kubernetes community. New modules and plugins developed by the community should be proposed to `kubernetes.core`. ## Submitting Issues All software has bugs, and the `kubernetes.core` collection is no exception. When you find a bug, you can help tremendously by [telling us about it](https://github.com/ansible-collections/kubernetes.core/issues/new/choose). If you should discover that the bug you're trying to file already exists in an issue, you can help by verifying the behavior of the reported bug with a comment in that issue, or by reporting any additional information. ## Pull Requests All modules MUST have integration tests for new features. Bug fixes for modules that currently have integration tests SHOULD have tests added. New modules should be submitted to the [kubernetes.core](https://github.com/ansible-collections/kubernetes.core) collection and MUST have integration tests. Expected test criteria: * Resource creation under check mode * Resource creation * Resource creation again (idempotency) under check mode * Resource creation again (idempotency) * Resource modification under check mode * Resource modification * Resource modification again (idempotency) under check mode * Resource modification again (idempotency) * Resource deletion under check mode * Resource deletion * Resource deletion (of a non-existent resource) under check mode * Resource deletion (of a non-existent resource) Where modules have multiple parameters we recommend running through the 4-step modification cycle for each parameter the module accepts, as well as a modification cycle where as most, if not all, parameters are modified at the same time. For general information on running the integration tests see the [Integration Tests page of the Module Development Guide](https://docs.ansible.com/ansible/devel/dev_guide/testing_integration.html#testing-integration), especially the section on configuration for cloud tests. For questions about writing tests the Ansible Kubernetes community can be found on Libera.Chat IRC as detailed below. ### Updating documentation Modules and plugins documentation is autogenerated using ``collection_prep_add_docs`` command from [collection_prep](https://github.com/ansible-network/collection_prep) package. You can install ``collection_prep`` using # git clone https://github.com/ansible-network/collection_prep # cd collection_prep # pip install . After installation, you can update documentation # collection_prep_add_docs -p /<PATH_OF_COLLECTION>/kubernetes/core Review the changes and create a pull request using updated files. ### Code of Conduct The `kubernetes.core` collection follows the Ansible project's [Code of Conduct](https://docs.ansible.com/ansible/devel/community/code_of_conduct.html). Please read and familiarize yourself with this document. ### IRC Our IRC channels may require you to register your nickname. If you receive an error when you connect, see [Libera.Chat's Nickname Registration guide](https://libera.chat/guides/registration) for instructions. The `#ansible-kubernetes` channel on [libera.chat](https://libera.chat/) IRC is the main and official place to discuss use and development of the `kubernetes.core` collection. For more information about Ansible's Kubernetes integration, browse the resources in the [Kubernetes Working Group](https://github.com/ansible/community/wiki/Kubernetes) Community wiki page.