mirror of
https://github.com/ansible-collections/kubernetes.core.git
synced 2026-05-12 04:22:02 +00:00
Compare commits
72 Commits
stable-1.2
...
2.1.0
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
8280bb78c0 | ||
|
|
2eca446f09 | ||
|
|
cd72b6d7df | ||
|
|
b50f1f2fc9 | ||
|
|
2594ac654b | ||
|
|
c11a255026 | ||
|
|
46494a18bd | ||
|
|
4ccb15d4ad | ||
|
|
58dba6bf22 | ||
|
|
b7345696cc | ||
|
|
98cb88a701 | ||
|
|
9e60a3a40d | ||
|
|
18cbfb7f95 | ||
|
|
481521a09d | ||
|
|
ef82b78a2f | ||
|
|
cf0b71f93e | ||
|
|
dd53fde0e1 | ||
|
|
92e6ff29f6 | ||
|
|
eb4b85c17d | ||
|
|
5b5777d202 | ||
|
|
1f47931c7c | ||
|
|
e112417d4c | ||
|
|
f9ee1f05b8 | ||
|
|
2d6a120032 | ||
|
|
0bbc9ca999 | ||
|
|
192cae1507 | ||
|
|
5856948657 | ||
|
|
5bb827f0f4 | ||
|
|
0eb1559cc7 | ||
|
|
01a0815e56 | ||
|
|
2b6a989cf9 | ||
|
|
87827d79a4 | ||
|
|
fc80540db5 | ||
|
|
e754a6cd31 | ||
|
|
963aa3fbe6 | ||
|
|
d29f8c1eb7 | ||
|
|
0e740a1f45 | ||
|
|
ef6eee26a7 | ||
|
|
8b2d39d6d2 | ||
|
|
48c5170018 | ||
|
|
9384742bdc | ||
|
|
361061c727 | ||
|
|
c516d7ecb9 | ||
|
|
9a529fc8f3 | ||
|
|
b59336e6b2 | ||
|
|
47acf53909 | ||
|
|
e4469f72bc | ||
|
|
c214376cac | ||
|
|
a5a850d1da | ||
|
|
edc48ee577 | ||
|
|
cc10268adf | ||
|
|
5a0f5d6b93 | ||
|
|
5f993e6028 | ||
|
|
8cee069ff1 | ||
|
|
b68bf7c065 | ||
|
|
28223dbe36 | ||
|
|
8182a3afd4 | ||
|
|
4aa983509b | ||
|
|
ba586a8ed8 | ||
|
|
a55edac38f | ||
|
|
d6f251173e | ||
|
|
c9157ce713 | ||
|
|
34e6e09fb8 | ||
|
|
5fc3dd02bf | ||
|
|
39660dd40e | ||
|
|
2f6fae322c | ||
|
|
af928a255f | ||
|
|
07915509c1 | ||
|
|
c4182ad84f | ||
|
|
af41efdf46 | ||
|
|
1e511113a5 | ||
|
|
8caca90c11 |
42
.github/workflows/ci.yml
vendored
42
.github/workflows/ci.yml
vendored
@@ -14,7 +14,8 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
python_version: ['2.7', '3.7']
|
||||
python_version: ['3.7']
|
||||
ansible_version: ['stable-2.11', 'stable-2.10', 'stable-2.9', 'devel']
|
||||
steps:
|
||||
- name: Check out code
|
||||
uses: actions/checkout@v2
|
||||
@@ -26,11 +27,15 @@ jobs:
|
||||
with:
|
||||
python-version: ${{ matrix.python_version }}
|
||||
|
||||
- name: Install ansible base (devel branch)
|
||||
run: pip install https://github.com/ansible/ansible/archive/devel.tar.gz --disable-pip-version-check
|
||||
- name: Check ansible version
|
||||
uses: actions/checkout@v2
|
||||
with:
|
||||
repository: ansible/ansible
|
||||
ref: ${{ matrix.ansible_version }}
|
||||
path: ansible_collections/kubernetes/core/ansible
|
||||
|
||||
- name: Run sanity tests on Python ${{ matrix.python_version }}
|
||||
run: make test-sanity PYTHON_VERSION=${{ matrix.python_version }}
|
||||
run: source ./ansible/hacking/env-setup && make test-sanity PYTHON_VERSION=${{ matrix.python_version }}
|
||||
working-directory: ./ansible_collections/kubernetes/core
|
||||
|
||||
integration:
|
||||
@@ -70,6 +75,7 @@ jobs:
|
||||
strategy:
|
||||
matrix:
|
||||
python_version: ['3.7']
|
||||
ansible_version: ['==2.9.*', '==2.10.*', '']
|
||||
steps:
|
||||
- name: Check out code
|
||||
uses: actions/checkout@v2
|
||||
@@ -86,8 +92,8 @@ jobs:
|
||||
|
||||
# The 3.3.0 release of molecule introduced a breaking change. See
|
||||
# https://github.com/ansible-community/molecule/issues/3083
|
||||
- name: Install molecule and openshift dependencies
|
||||
run: pip install ansible "molecule<3.3.0" yamllint openshift flake8
|
||||
- name: Install molecule and kubernetes dependencies
|
||||
run: pip install ansible${{ matrix.ansible_version }} "molecule<3.3.0" yamllint kubernetes flake8 jsonpatch
|
||||
|
||||
# The latest release doesn't work with Molecule currently.
|
||||
# See: https://github.com/ansible-community/molecule/issues/2757
|
||||
@@ -102,7 +108,6 @@ jobs:
|
||||
# run: |
|
||||
# pip uninstall -y ansible
|
||||
# pip install https://github.com/ansible/ansible/archive/devel.tar.gz --disable-pip-version-check
|
||||
|
||||
- name: Create default collection path symlink
|
||||
run: |
|
||||
mkdir -p /home/runner/.ansible
|
||||
@@ -111,3 +116,26 @@ jobs:
|
||||
- name: Run molecule default test scenario
|
||||
run: make test-molecule
|
||||
working-directory: ./ansible_collections/kubernetes/core
|
||||
|
||||
unit:
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
python_version: ['3.7']
|
||||
steps:
|
||||
- name: Check out code
|
||||
uses: actions/checkout@v2
|
||||
with:
|
||||
path: ansible_collections/kubernetes/core
|
||||
|
||||
- name: Set up Python ${{ matrix.python_version }}
|
||||
uses: actions/setup-python@v1
|
||||
with:
|
||||
python-version: ${{ matrix.python_version }}
|
||||
|
||||
- name: Install ansible base (devel branch)
|
||||
run: pip install https://github.com/ansible/ansible/archive/devel.tar.gz --disable-pip-version-check
|
||||
|
||||
- name: Run unit tests on Python ${{ matrix.python_version }}
|
||||
run: make test-unit PYTHON_VERSION=${{ matrix.python_version }}
|
||||
working-directory: ./ansible_collections/kubernetes/core
|
||||
|
||||
1
.gitignore
vendored
1
.gitignore
vendored
@@ -12,3 +12,4 @@ changelogs/.plugin-cache.yaml
|
||||
# Temporary test files.
|
||||
tests/output
|
||||
tests/integration/cloud-config-*
|
||||
.cache
|
||||
|
||||
@@ -14,3 +14,5 @@ rules:
|
||||
indentation:
|
||||
spaces: 2
|
||||
indent-sequences: consistent
|
||||
ignore: |
|
||||
.cache
|
||||
|
||||
@@ -5,14 +5,89 @@ Kubernetes Collection Release Notes
|
||||
.. contents:: Topics
|
||||
|
||||
|
||||
v1.2.1
|
||||
v2.1.0
|
||||
======
|
||||
|
||||
Minor Changes
|
||||
-------------
|
||||
|
||||
- remove cloud.common as default dependency (https://github.com/ansible-collections/kubernetes.core/pull/148).
|
||||
- temporarily disable turbo mode (https://github.com/ansible-collections/kubernetes.core/pull/149).
|
||||
|
||||
v2.0.2
|
||||
======
|
||||
|
||||
Bugfixes
|
||||
--------
|
||||
|
||||
- fix missing requirements.txt file in kubernetes.core (https://github.com/ansible-collections/community.kubernetes/pull/401).
|
||||
- pin molecule version to <3.3.0 to fix breaking changes (https://github.com/ansible-collections/community.kubernetes/pull/403).
|
||||
- Fix apply for k8s module when an array attribute from definition contains empty dict (https://github.com/ansible-collections/kubernetes.core/issues/113).
|
||||
- rename the apply function to fix broken imports in Ansible 2.9 (https://github.com/ansible-collections/kubernetes.core/pull/135).
|
||||
|
||||
v2.0.1
|
||||
======
|
||||
|
||||
Bugfixes
|
||||
--------
|
||||
|
||||
- inventory - add community.kubernetes to list of plugin choices in k8s inventory (https://github.com/ansible-collections/kubernetes.core/pull/128).
|
||||
|
||||
v2.0.0
|
||||
======
|
||||
|
||||
Major Changes
|
||||
-------------
|
||||
|
||||
- k8s - deprecate merge_type=json. The JSON patch functionality has never worked (https://github.com/ansible-collections/kubernetes.core/pull/99).
|
||||
- k8s_json_patch - split JSON patch functionality out into a separate module (https://github.com/ansible-collections/kubernetes.core/pull/99).
|
||||
- replaces the openshift client with the official kubernetes client (https://github.com/ansible-collections/kubernetes.core/issues/34).
|
||||
|
||||
Minor Changes
|
||||
-------------
|
||||
|
||||
- Add cache_file when DynamicClient is created (https://github.com/ansible-collections/kubernetes.core/pull/46).
|
||||
- Add configmap and secret hash functionality (https://github.com/ansible-collections/kubernetes.core/pull/48).
|
||||
- Add logic for cache file name generation (https://github.com/ansible-collections/kubernetes.core/pull/46).
|
||||
- Replicate apply method in the DynamicClient (https://github.com/ansible-collections/kubernetes.core/pull/45).
|
||||
- add ``proxy_headers`` option for authentication on k8s_xxx modules (https://github.com/ansible-collections/kubernetes.core/pull/58).
|
||||
- add support for using tags when running molecule test suite (https://github.com/ansible-collections/kubernetes.core/pull/62).
|
||||
- added documentation for ``kubernetes.core`` collection (https://github.com/ansible-collections/kubernetes.core/pull/50).
|
||||
- common - removed ``KubernetesAnsibleModule``, use ``K8sAnsibleMixin`` instead (https://github.com/ansible-collections/kubernetes.core/pull/70).
|
||||
- helm - add example for complex values in ``helm`` module (https://github.com/ansible-collections/kubernetes.core/issues/109).
|
||||
- k8s - Handle list of definition for option `template` (https://github.com/ansible-collections/kubernetes.core/pull/49).
|
||||
- k8s - `continue_on_error` option added (whether to continue on creation/deletion errors) (https://github.com/ansible-collections/kubernetes.core/pull/49).
|
||||
- k8s - support ``patched`` value for ``state`` option. patched state is an existing resource that has a given patch applied (https://github.com/ansible-collections/kubernetes.core/pull/90).
|
||||
- k8s - wait for all pods to update when rolling out daemonset changes (https://github.com/ansible-collections/kubernetes.core/pull/102).
|
||||
- k8s_scale - ability to scale multiple resource using ``label_selectors`` (https://github.com/ansible-collections/kubernetes.core/pull/114).
|
||||
- k8s_scale - new parameter to determine whether to continue or not on error when scaling multiple resources (https://github.com/ansible-collections/kubernetes.core/pull/114).
|
||||
- kubeconfig - update ``kubeconfig`` file location in the documentation (https://github.com/ansible-collections/kubernetes.core/issues/53).
|
||||
- remove old change log fragment files.
|
||||
- remove the deprecated ``KubernetesRawModule`` class (https://github.com/ansible-collections/community.kubernetes/issues/232).
|
||||
- replicate base resource for lists functionality (https://github.com/ansible-collections/kubernetes.core/pull/89).
|
||||
|
||||
Breaking Changes / Porting Guide
|
||||
--------------------------------
|
||||
|
||||
- Drop python 2 support (https://github.com/ansible-collections/kubernetes.core/pull/86).
|
||||
- helm_plugin - remove unused ``release_namespace`` parameter (https://github.com/ansible-collections/kubernetes.core/pull/85).
|
||||
- helm_plugin_info - remove unused ``release_namespace`` parameter (https://github.com/ansible-collections/kubernetes.core/pull/85).
|
||||
- k8s_cluster_info - returned apis as list to avoid being overwritten in case of multiple version (https://github.com/ansible-collections/kubernetes.core/pull/41).
|
||||
- k8s_facts - remove the deprecated alias from k8s_facts to k8s_info (https://github.com/ansible-collections/kubernetes.core/pull/125).
|
||||
|
||||
Bugfixes
|
||||
--------
|
||||
|
||||
- enable unit tests in CI (https://github.com/ansible-collections/community.kubernetes/pull/407).
|
||||
- helm - Accept ``validate_certs`` with a ``context`` (https://github.com/ansible-collections/kubernetes.core/pull/74).
|
||||
- helm - fix helm ignoring the kubeconfig context when passed through the ``context`` param or the ``K8S_AUTH_CONTEXT`` environment variable (https://github.com/ansible-collections/community.kubernetes/issues/385).
|
||||
- helm - handle multiline output of ``helm plugin list`` command (https://github.com/ansible-collections/community.kubernetes/issues/399).
|
||||
- k8s - fix merge_type option when set to json (https://github.com/ansible-collections/kubernetes.core/issues/54).
|
||||
- k8s - lookup should return list even if single item is found (https://github.com/ansible-collections/kubernetes.core/issues/9).
|
||||
- k8s inventory - remove extra trailing slashes from the hostname (https://github.com/ansible-collections/kubernetes.core/issues/52).
|
||||
|
||||
New Modules
|
||||
-----------
|
||||
|
||||
- k8s_json_patch - Apply JSON patch operations to existing objects
|
||||
|
||||
v1.2.0
|
||||
======
|
||||
|
||||
@@ -48,8 +48,23 @@ Where modules have multiple parameters we recommend running through the 4-step m
|
||||
|
||||
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 Freenode IRC as detailed below.
|
||||
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
|
||||
@@ -58,8 +73,8 @@ 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
|
||||
[Freenode's Nickname Registration guide](https://freenode.net/kb/answer/registration) for instructions.
|
||||
[Libera.Chat's Nickname Registration guide](https://libera.chat/guides/registration) for instructions.
|
||||
|
||||
The `#ansible-kubernetes` channel on Freenode IRC is the main and official place to discuss use and development of the `kubernetes.core` collection.
|
||||
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.
|
||||
|
||||
5
Makefile
5
Makefile
@@ -1,5 +1,5 @@
|
||||
# Also needs to be updated in galaxy.yml
|
||||
VERSION = 1.2.1
|
||||
VERSION = 2.1.0
|
||||
|
||||
TEST_ARGS ?= ""
|
||||
PYTHON_VERSION ?= `python -c 'import platform; print("{0}.{1}".format(platform.python_version_tuple()[0], platform.python_version_tuple()[1]))'`
|
||||
@@ -26,3 +26,6 @@ test-integration:
|
||||
|
||||
test-molecule:
|
||||
molecule test
|
||||
|
||||
test-unit:
|
||||
ansible-test units --docker -v --color --python $(PYTHON_VERSION) $(?TEST_ARGS)
|
||||
|
||||
91
README.md
91
README.md
@@ -6,33 +6,67 @@ This repo hosts the `kubernetes.core` (formerly known as `community.kubernetes`)
|
||||
|
||||
The collection includes a variety of Ansible content to help automate the management of applications in Kubernetes and OpenShift clusters, as well as the provisioning and maintenance of clusters themselves.
|
||||
|
||||
<!--start requires_ansible-->
|
||||
## Ansible version compatibility
|
||||
|
||||
This collection has been tested against following Ansible versions: **>=2.9.17**.
|
||||
|
||||
Plugins and modules within a collection may be tested with only specific Ansible versions.
|
||||
A collection may contain metadata that identifies these versions.
|
||||
PEP440 is the schema used to describe the versions of Ansible.
|
||||
<!--end requires_ansible-->
|
||||
|
||||
## Python Support
|
||||
|
||||
* Collection supports 3.6+
|
||||
|
||||
Note: Python2 is deprecated from [1st January 2020](https://www.python.org/doc/sunset-python-2/). Please switch to Python3.
|
||||
|
||||
## Included content
|
||||
|
||||
Click on the name of a plugin or module to view that content's documentation:
|
||||
|
||||
- **Connection Plugins**:
|
||||
- [kubectl](https://docs.ansible.com/ansible/2.10/collections/community/kubernetes/kubectl_connection.html)
|
||||
- **Filter Plugins**:
|
||||
- [k8s_config_resource_name](https://docs.ansible.com/ansible/latest/user_guide/playbooks_filters.html#kubernetes-filters)
|
||||
- **Inventory Source**:
|
||||
- [k8s](https://docs.ansible.com/ansible/2.10/collections/community/kubernetes/k8s_inventory.html)
|
||||
- [openshift](https://docs.ansible.com/ansible/2.10/collections/community/kubernetes/openshift_inventory.html)
|
||||
- **Lookup Plugins**:
|
||||
- [k8s](https://docs.ansible.com/ansible/2.10/collections/community/kubernetes/k8s_lookup.html)
|
||||
- **Modules**:
|
||||
- [k8s](https://docs.ansible.com/ansible/2.10/collections/community/kubernetes/k8s_module.html)
|
||||
- [k8s_auth](https://docs.ansible.com/ansible/2.10/collections/community/kubernetes/k8s_auth_module.html)
|
||||
- [k8s_cluster_info](https://github.com/ansible-collections/kubernetes.core/blob/main/plugins/modules/k8s_cluster_info.py)
|
||||
- [k8s_exec](https://docs.ansible.com/ansible/2.10/collections/community/kubernetes/k8s_exec_module.html)
|
||||
- [k8s_info](https://docs.ansible.com/ansible/2.10/collections/community/kubernetes/k8s_info_module.html)
|
||||
- [k8s_log](https://docs.ansible.com/ansible/2.10/collections/community/kubernetes/k8s_log_module.html)
|
||||
- [k8s_scale](https://docs.ansible.com/ansible/2.10/collections/community/kubernetes/k8s_scale_module.html)
|
||||
- [k8s_service](https://docs.ansible.com/ansible/2.10/collections/community/kubernetes/k8s_service_module.html)
|
||||
- [helm](https://docs.ansible.com/ansible/2.10/collections/community/kubernetes/helm_module.html)
|
||||
- [helm_info](https://docs.ansible.com/ansible/2.10/collections/community/kubernetes/helm_info_module.html)
|
||||
- [helm_plugin](https://github.com/ansible-collections/kubernetes.core/blob/main/plugins/modules/helm_plugin.py)
|
||||
- [helm_plugin_info](https://github.com/ansible-collections/kubernetes.core/blob/main/plugins/modules/helm_plugin_info.py)
|
||||
- [helm_repository](https://docs.ansible.com/ansible/2.10/collections/community/kubernetes/helm_repository_module.html)
|
||||
<!--start collection content-->
|
||||
### Connection plugins
|
||||
Name | Description
|
||||
--- | ---
|
||||
[kubernetes.core.kubectl](https://github.com/ansible-collections/kubernetes.core/blob/main/docs/kubernetes.core.kubectl_connection.rst)|Execute tasks in pods running on Kubernetes.
|
||||
|
||||
### K8s filter plugins
|
||||
Name | Description
|
||||
--- | ---
|
||||
kubernetes.core.k8s_config_resource_name|Generate resource name for the given resource of type ConfigMap, Secret
|
||||
|
||||
### Inventory plugins
|
||||
Name | Description
|
||||
--- | ---
|
||||
[kubernetes.core.k8s](https://github.com/ansible-collections/kubernetes.core/blob/main/docs/kubernetes.core.k8s_inventory.rst)|Kubernetes (K8s) inventory source
|
||||
|
||||
### Lookup plugins
|
||||
Name | Description
|
||||
--- | ---
|
||||
[kubernetes.core.k8s](https://github.com/ansible-collections/kubernetes.core/blob/main/docs/kubernetes.core.k8s_lookup.rst)|Query the K8s API
|
||||
|
||||
### Modules
|
||||
Name | Description
|
||||
--- | ---
|
||||
[kubernetes.core.helm](https://github.com/ansible-collections/kubernetes.core/blob/main/docs/kubernetes.core.helm_module.rst)|Manages Kubernetes packages with the Helm package manager
|
||||
[kubernetes.core.helm_info](https://github.com/ansible-collections/kubernetes.core/blob/main/docs/kubernetes.core.helm_info_module.rst)|Get information from Helm package deployed inside the cluster
|
||||
[kubernetes.core.helm_plugin](https://github.com/ansible-collections/kubernetes.core/blob/main/docs/kubernetes.core.helm_plugin_module.rst)|Manage Helm plugins
|
||||
[kubernetes.core.helm_plugin_info](https://github.com/ansible-collections/kubernetes.core/blob/main/docs/kubernetes.core.helm_plugin_info_module.rst)|Gather information about Helm plugins
|
||||
[kubernetes.core.helm_repository](https://github.com/ansible-collections/kubernetes.core/blob/main/docs/kubernetes.core.helm_repository_module.rst)|Manage Helm repositories.
|
||||
[kubernetes.core.helm_template](https://github.com/ansible-collections/kubernetes.core/blob/main/docs/kubernetes.core.helm_template_module.rst)|Render chart templates
|
||||
[kubernetes.core.k8s](https://github.com/ansible-collections/kubernetes.core/blob/main/docs/kubernetes.core.k8s_module.rst)|Manage Kubernetes (K8s) objects
|
||||
[kubernetes.core.k8s_cluster_info](https://github.com/ansible-collections/kubernetes.core/blob/main/docs/kubernetes.core.k8s_cluster_info_module.rst)|Describe Kubernetes (K8s) cluster, APIs available and their respective versions
|
||||
[kubernetes.core.k8s_exec](https://github.com/ansible-collections/kubernetes.core/blob/main/docs/kubernetes.core.k8s_exec_module.rst)|Execute command in Pod
|
||||
[kubernetes.core.k8s_info](https://github.com/ansible-collections/kubernetes.core/blob/main/docs/kubernetes.core.k8s_info_module.rst)|Describe Kubernetes (K8s) objects
|
||||
[kubernetes.core.k8s_json_patch](https://github.com/ansible-collections/kubernetes.core/blob/main/docs/kubernetes.core.k8s_json_patch_module.rst)|Apply JSON patch operations to existing objects
|
||||
[kubernetes.core.k8s_log](https://github.com/ansible-collections/kubernetes.core/blob/main/docs/kubernetes.core.k8s_log_module.rst)|Fetch logs from Kubernetes resources
|
||||
[kubernetes.core.k8s_rollback](https://github.com/ansible-collections/kubernetes.core/blob/main/docs/kubernetes.core.k8s_rollback_module.rst)|Rollback Kubernetes (K8S) Deployments and DaemonSets
|
||||
[kubernetes.core.k8s_scale](https://github.com/ansible-collections/kubernetes.core/blob/main/docs/kubernetes.core.k8s_scale_module.rst)|Set a new size for a Deployment, ReplicaSet, Replication Controller, or Job.
|
||||
[kubernetes.core.k8s_service](https://github.com/ansible-collections/kubernetes.core/blob/main/docs/kubernetes.core.k8s_service_module.rst)|Manage Services on Kubernetes
|
||||
|
||||
<!--end collection content-->
|
||||
|
||||
## Installation and Usage
|
||||
|
||||
@@ -48,14 +82,14 @@ You can also include it in a `requirements.yml` file and install it via `ansible
|
||||
---
|
||||
collections:
|
||||
- name: kubernetes.core
|
||||
version: 1.2.1
|
||||
version: 2.1.0
|
||||
```
|
||||
|
||||
### Installing the OpenShift Python Library
|
||||
### Installing the Kubernetes Python Library
|
||||
|
||||
Content in this collection requires the [OpenShift Python client](https://pypi.org/project/openshift/) to interact with Kubernetes' APIs. You can install it with:
|
||||
Content in this collection requires the [Kubernetes Python client](https://pypi.org/project/kubernetes/) to interact with Kubernetes' APIs. You can install it with:
|
||||
|
||||
pip3 install openshift
|
||||
pip3 install kubernetes
|
||||
|
||||
### Using modules from the Kubernetes Collection in your playbooks
|
||||
|
||||
@@ -139,6 +173,7 @@ You can run the collection's test suites with the commands:
|
||||
|
||||
make test-sanity
|
||||
make test-integration
|
||||
make test-unit
|
||||
|
||||
### Testing with `molecule`
|
||||
|
||||
@@ -168,7 +203,7 @@ The process for uploading a supported release to Automation Hub is documented se
|
||||
|
||||
## More Information
|
||||
|
||||
For more information about Ansible's Kubernetes integration, join the `#ansible-kubernetes` channel on Freenode IRC, and browse the resources in the [Kubernetes Working Group](https://github.com/ansible/community/wiki/Kubernetes) Community wiki page.
|
||||
For more information about Ansible's Kubernetes integration, join the `#ansible-kubernetes` channel on [libera.chat](https://libera.chat/) IRC, and browse the resources in the [Kubernetes Working Group](https://github.com/ansible/community/wiki/Kubernetes) Community wiki page.
|
||||
|
||||
## License
|
||||
|
||||
|
||||
@@ -312,12 +312,113 @@ releases:
|
||||
- 368-helm_template.yaml
|
||||
- handle_valueerror.yml
|
||||
release_date: '2021-02-17'
|
||||
1.2.1:
|
||||
2.0.0:
|
||||
changes:
|
||||
breaking_changes:
|
||||
- Drop python 2 support (https://github.com/ansible-collections/kubernetes.core/pull/86).
|
||||
- helm_plugin - remove unused ``release_namespace`` parameter (https://github.com/ansible-collections/kubernetes.core/pull/85).
|
||||
- helm_plugin_info - remove unused ``release_namespace`` parameter (https://github.com/ansible-collections/kubernetes.core/pull/85).
|
||||
- k8s_cluster_info - returned apis as list to avoid being overwritten in case
|
||||
of multiple version (https://github.com/ansible-collections/kubernetes.core/pull/41).
|
||||
- k8s_facts - remove the deprecated alias from k8s_facts to k8s_info (https://github.com/ansible-collections/kubernetes.core/pull/125).
|
||||
bugfixes:
|
||||
- enable unit tests in CI (https://github.com/ansible-collections/community.kubernetes/pull/407).
|
||||
- helm - Accept ``validate_certs`` with a ``context`` (https://github.com/ansible-collections/kubernetes.core/pull/74).
|
||||
- helm - fix helm ignoring the kubeconfig context when passed through the ``context``
|
||||
param or the ``K8S_AUTH_CONTEXT`` environment variable (https://github.com/ansible-collections/community.kubernetes/issues/385).
|
||||
- helm - handle multiline output of ``helm plugin list`` command (https://github.com/ansible-collections/community.kubernetes/issues/399).
|
||||
- k8s - fix merge_type option when set to json (https://github.com/ansible-collections/kubernetes.core/issues/54).
|
||||
- k8s - lookup should return list even if single item is found (https://github.com/ansible-collections/kubernetes.core/issues/9).
|
||||
- k8s inventory - remove extra trailing slashes from the hostname (https://github.com/ansible-collections/kubernetes.core/issues/52).
|
||||
major_changes:
|
||||
- k8s - deprecate merge_type=json. The JSON patch functionality has never worked
|
||||
(https://github.com/ansible-collections/kubernetes.core/pull/99).
|
||||
- k8s_json_patch - split JSON patch functionality out into a separate module
|
||||
(https://github.com/ansible-collections/kubernetes.core/pull/99).
|
||||
- replaces the openshift client with the official kubernetes client (https://github.com/ansible-collections/kubernetes.core/issues/34).
|
||||
minor_changes:
|
||||
- Add cache_file when DynamicClient is created (https://github.com/ansible-collections/kubernetes.core/pull/46).
|
||||
- Add configmap and secret hash functionality (https://github.com/ansible-collections/kubernetes.core/pull/48).
|
||||
- Add logic for cache file name generation (https://github.com/ansible-collections/kubernetes.core/pull/46).
|
||||
- Replicate apply method in the DynamicClient (https://github.com/ansible-collections/kubernetes.core/pull/45).
|
||||
- add ``proxy_headers`` option for authentication on k8s_xxx modules (https://github.com/ansible-collections/kubernetes.core/pull/58).
|
||||
- add support for using tags when running molecule test suite (https://github.com/ansible-collections/kubernetes.core/pull/62).
|
||||
- added documentation for ``kubernetes.core`` collection (https://github.com/ansible-collections/kubernetes.core/pull/50).
|
||||
- common - removed ``KubernetesAnsibleModule``, use ``K8sAnsibleMixin`` instead
|
||||
(https://github.com/ansible-collections/kubernetes.core/pull/70).
|
||||
- helm - add example for complex values in ``helm`` module (https://github.com/ansible-collections/kubernetes.core/issues/109).
|
||||
- k8s - Handle list of definition for option `template` (https://github.com/ansible-collections/kubernetes.core/pull/49).
|
||||
- k8s - `continue_on_error` option added (whether to continue on creation/deletion
|
||||
errors) (https://github.com/ansible-collections/kubernetes.core/pull/49).
|
||||
- k8s - support ``patched`` value for ``state`` option. patched state is an
|
||||
existing resource that has a given patch applied (https://github.com/ansible-collections/kubernetes.core/pull/90).
|
||||
- k8s - wait for all pods to update when rolling out daemonset changes (https://github.com/ansible-collections/kubernetes.core/pull/102).
|
||||
- k8s_scale - ability to scale multiple resource using ``label_selectors`` (https://github.com/ansible-collections/kubernetes.core/pull/114).
|
||||
- k8s_scale - new parameter to determine whether to continue or not on error
|
||||
when scaling multiple resources (https://github.com/ansible-collections/kubernetes.core/pull/114).
|
||||
- kubeconfig - update ``kubeconfig`` file location in the documentation (https://github.com/ansible-collections/kubernetes.core/issues/53).
|
||||
- remove old change log fragment files.
|
||||
- remove the deprecated ``KubernetesRawModule`` class (https://github.com/ansible-collections/community.kubernetes/issues/232).
|
||||
- replicate base resource for lists functionality (https://github.com/ansible-collections/kubernetes.core/pull/89).
|
||||
fragments:
|
||||
- 102-wait-updated-daemonset-pods.yaml
|
||||
- 114-k8s_scale-add-label-selectors-and-continue-on-error.yaml
|
||||
- 125-remove-k8s-facts-alias.yaml
|
||||
- 379-remove-kubernetesrawmodule.yaml
|
||||
- 387-fix-helm-ignoring-context.yaml
|
||||
- 399-helm_multiline.yml
|
||||
- 407-enable-unit-tests.yaml
|
||||
- 41-fix-apis-being-overwritten-in-k8s_cluster_info.yaml
|
||||
- 45-add-apply-method.yml
|
||||
- 46-cachefile_dynamic_client.yml
|
||||
- 48_hash-configmap-secret.yml
|
||||
- 49-k8s-loop-flattening-and-continue_on_error.yaml
|
||||
- 52_inventory.yml
|
||||
- 53_kubeconfig_docs.yml
|
||||
- 58-add-support-for-proxy_headers-on-authentication.yaml
|
||||
- 62-molecule-tags.yaml
|
||||
- 83-k8s-fix-merge_type-json.yaml
|
||||
- 85_helm_plugin.yaml
|
||||
- 86_drop_python2_support.yaml
|
||||
- 89-replicate-base-resource.yaml
|
||||
- 90-k8s-add-parameter-patch_only.yml
|
||||
- 96-replace-openshift-client.yaml
|
||||
- 99-json-patch-module.yaml
|
||||
- 9_lookup_k8s.yml
|
||||
- add_docs.yml
|
||||
- helm_example.yml
|
||||
- helm_validate_certs_not_exclusive.yaml
|
||||
- remove_KubernetesAnsibleModule.yml
|
||||
- remove_fragment.yml
|
||||
modules:
|
||||
- description: Apply JSON patch operations to existing objects
|
||||
name: k8s_json_patch
|
||||
namespace: ''
|
||||
release_date: '2021-06-09'
|
||||
2.0.1:
|
||||
changes:
|
||||
bugfixes:
|
||||
- fix missing requirements.txt file in kubernetes.core (https://github.com/ansible-collections/community.kubernetes/pull/401).
|
||||
- pin molecule version to <3.3.0 to fix breaking changes (https://github.com/ansible-collections/community.kubernetes/pull/403).
|
||||
- inventory - add community.kubernetes to list of plugin choices in k8s inventory
|
||||
(https://github.com/ansible-collections/kubernetes.core/pull/128).
|
||||
fragments:
|
||||
- 401-requirements_file.yaml
|
||||
- 403-pin-molecule.yaml
|
||||
release_date: '2021-03-31'
|
||||
- 128-update-inventory-plugin-param.yaml
|
||||
release_date: '2021-06-11'
|
||||
2.0.2:
|
||||
changes:
|
||||
bugfixes:
|
||||
- Fix apply for k8s module when an array attribute from definition contains
|
||||
empty dict (https://github.com/ansible-collections/kubernetes.core/issues/113).
|
||||
- rename the apply function to fix broken imports in Ansible 2.9 (https://github.com/ansible-collections/kubernetes.core/pull/135).
|
||||
fragments:
|
||||
- 129-k8s-fix-apply-array-with-empty-dict.yml
|
||||
- 135-rename-apply-function.yml
|
||||
release_date: '2021-06-16'
|
||||
2.1.0:
|
||||
changes:
|
||||
minor_changes:
|
||||
- remove cloud.common as default dependency (https://github.com/ansible-collections/kubernetes.core/pull/148).
|
||||
- temporarily disable turbo mode (https://github.com/ansible-collections/kubernetes.core/pull/149).
|
||||
fragments:
|
||||
- 148-remove-cloud-common-dependency.yaml
|
||||
- 149-disable-turbo-mode.yaml
|
||||
release_date: '2021-06-23'
|
||||
|
||||
@@ -3,7 +3,7 @@ changelog_filename_template: ../CHANGELOG.rst
|
||||
changelog_filename_version_depth: 0
|
||||
changes_file: changelog.yaml
|
||||
changes_format: combined
|
||||
keep_fragments: true
|
||||
keep_fragments: false
|
||||
mention_ancestor: true
|
||||
new_plugins_after_name: removed_features
|
||||
notesdir: fragments
|
||||
|
||||
@@ -1,3 +0,0 @@
|
||||
---
|
||||
bugfixes:
|
||||
- k8s_scale - Fix scale wait and add tests (https://github.com/ansible-collections/community.kubernetes/pull/100).
|
||||
@@ -1,3 +0,0 @@
|
||||
---
|
||||
minor_changes:
|
||||
- Don't require project coverage check on PRs (https://github.com/ansible-collections/community.kubernetes/pull/102).
|
||||
@@ -1,3 +0,0 @@
|
||||
---
|
||||
bugfixes:
|
||||
- Fix suboption docs structure for inventory plugins (https://github.com/ansible-collections/community.kubernetes/pull/103).
|
||||
@@ -1,3 +0,0 @@
|
||||
---
|
||||
minor_changes:
|
||||
- Use improved kubernetes diffs where possible (https://github.com/ansible-collections/community.kubernetes/pull/105).
|
||||
@@ -1,2 +0,0 @@
|
||||
bugfixes:
|
||||
- helm - add replace parameter (https://github.com/ansible-collections/community.kubernetes/issues/106).
|
||||
@@ -1,3 +0,0 @@
|
||||
---
|
||||
minor_changes:
|
||||
- Add action groups for playbooks with module_defaults (https://github.com/ansible-collections/community.kubernetes/pull/107).
|
||||
@@ -1,3 +0,0 @@
|
||||
---
|
||||
minor_changes:
|
||||
- helm - minor code refactoring (https://github.com/ansible-collections/community.kubernetes/pull/110).
|
||||
@@ -1,3 +0,0 @@
|
||||
---
|
||||
minor_changes:
|
||||
- Minor documentation fixes and use of FQCN in some examples (https://github.com/ansible-collections/community.kubernetes/pull/114).
|
||||
@@ -1,3 +0,0 @@
|
||||
---
|
||||
minor_changes:
|
||||
- helm - add 'atomic' option (https://github.com/ansible-collections/community.kubernetes/pull/115).
|
||||
@@ -1,3 +0,0 @@
|
||||
---
|
||||
minor_changes:
|
||||
- helm_info and helm_repository - minor code refactor (https://github.com/ansible-collections/community.kubernetes/pull/117).
|
||||
@@ -1,3 +0,0 @@
|
||||
---
|
||||
minor_changes:
|
||||
- k8s - Handle set object retrieved from lookup plugin (https://github.com/ansible-collections/community.kubernetes/pull/118).
|
||||
@@ -1,3 +0,0 @@
|
||||
---
|
||||
bugfixes:
|
||||
- Handle invalid kubeconfig parsing error (https://github.com/ansible-collections/community.kubernetes/pull/119).
|
||||
@@ -1,2 +0,0 @@
|
||||
minor_changes:
|
||||
- k8s_exec - return RC for the command executed (https://github.com/ansible-collections/community.kubernetes/issues/122).
|
||||
@@ -1,3 +0,0 @@
|
||||
---
|
||||
minor_changes:
|
||||
- Check Python code using flake8 (https://github.com/ansible-collections/community.kubernetes/pull/123).
|
||||
@@ -1,3 +0,0 @@
|
||||
---
|
||||
minor_changes:
|
||||
- Add requires_ansible version constraints to runtime.yml (https://github.com/ansible-collections/community.kubernetes/pull/126).
|
||||
@@ -1,3 +0,0 @@
|
||||
---
|
||||
minor_changes:
|
||||
- Remove action_groups_redirection entry from meta/runtime.yml (https://github.com/ansible-collections/community.kubernetes/pull/127).
|
||||
@@ -1,3 +0,0 @@
|
||||
---
|
||||
bugfixes:
|
||||
- k8s - Fix argspec for 'elements' (https://github.com/ansible-collections/community.kubernetes/issues/13).
|
||||
@@ -1,3 +0,0 @@
|
||||
---
|
||||
minor_changes:
|
||||
- Add sanity test ignore file for Ansible 2.11 (https://github.com/ansible-collections/community.kubernetes/pull/130).
|
||||
@@ -1,3 +0,0 @@
|
||||
---
|
||||
major_changes:
|
||||
- Add changelog and fragments and document changelog process (https://github.com/ansible-collections/community.kubernetes/pull/131).
|
||||
@@ -1,3 +0,0 @@
|
||||
---
|
||||
bugfixes:
|
||||
- raw - handle condition when definition is none (https://github.com/ansible-collections/community.kubernetes/pull/139).
|
||||
@@ -1,3 +0,0 @@
|
||||
---
|
||||
major_changes:
|
||||
- k8s_exec - New module for executing commands on pods via Kubernetes API (https://github.com/ansible-collections/community.kubernetes/pull/14).
|
||||
@@ -1,4 +0,0 @@
|
||||
---
|
||||
minor_changes:
|
||||
- helm - add support for K8S_AUTH_KUBECONFIG and K8S_AUTH_CONTEXT environment variable (https://github.com/ansible-collections/community.kubernetes/issues/140).
|
||||
- helm_info - add support for K8S_AUTH_KUBECONFIG and K8S_AUTH_CONTEXT environment variable (https://github.com/ansible-collections/community.kubernetes/issues/140).
|
||||
@@ -1,3 +0,0 @@
|
||||
---
|
||||
minor_changes:
|
||||
- helm - Add support for K8S_AUTH_CONTEXT, K8S_AUTH_KUBECONFIG env (https://github.com/ansible-collections/community.kubernetes/pull/141).
|
||||
@@ -1,3 +0,0 @@
|
||||
---
|
||||
minor_changes:
|
||||
- Use FQCN in module docs and plugin examples (https://github.com/ansible-collections/community.kubernetes/pull/146).
|
||||
@@ -1,3 +0,0 @@
|
||||
---
|
||||
minor_changes:
|
||||
- Update base branch to 'main' (https://github.com/ansible-collections/community.kubernetes/issues/148).
|
||||
@@ -1,4 +0,0 @@
|
||||
---
|
||||
minor_changes:
|
||||
- helm - add aliases context for kube_context (https://github.com/ansible-collections/community.kubernetes/pull/152).
|
||||
- helm_info - add aliases context for kube_context (https://github.com/ansible-collections/community.kubernetes/pull/152).
|
||||
@@ -1,3 +0,0 @@
|
||||
---
|
||||
bugfixes:
|
||||
- Update openshift requirements in k8s module doc (https://github.com/ansible-collections/community.kubernetes/pull/153).
|
||||
@@ -1,4 +0,0 @@
|
||||
---
|
||||
major_changes:
|
||||
- helm_plugin - new module to manage Helm plugins (https://github.com/ansible-collections/community.kubernetes/pull/154).
|
||||
- helm_plugin_info - new modules to gather information about Helm plugins (https://github.com/ansible-collections/community.kubernetes/pull/154).
|
||||
@@ -1,3 +0,0 @@
|
||||
---
|
||||
minor_changes:
|
||||
- Ensure check mode results are as expected (https://github.com/ansible-collections/community.kubernetes/pull/155).
|
||||
@@ -1,3 +0,0 @@
|
||||
---
|
||||
minor_changes:
|
||||
- k8s_info - Update example using vars (https://github.com/ansible-collections/community.kubernetes/pull/156).
|
||||
@@ -1,3 +0,0 @@
|
||||
---
|
||||
minor_changes:
|
||||
- helm - Allow creating namespaces with Helm (https://github.com/ansible-collections/community.kubernetes/pull/157).
|
||||
@@ -1,3 +0,0 @@
|
||||
---
|
||||
major_changes:
|
||||
- k8s_exec - Return rc for the command executed (https://github.com/ansible-collections/community.kubernetes/pull/158).
|
||||
@@ -1,3 +0,0 @@
|
||||
---
|
||||
security_fixes:
|
||||
- kubectl - redacted token and password from console log (https://github.com/ansible-collections/community.kubernetes/pull/159).
|
||||
@@ -1,3 +0,0 @@
|
||||
---
|
||||
major_changes:
|
||||
- k8s_log - New module for retrieving pod logs (https://github.com/ansible-collections/community.kubernetes/pull/16).
|
||||
@@ -1,3 +0,0 @@
|
||||
---
|
||||
bugfixes:
|
||||
- Test against stable ansible branch so molecule tests work (https://github.com/ansible-collections/community.kubernetes/pull/168).
|
||||
@@ -1,3 +0,0 @@
|
||||
---
|
||||
minor_changes:
|
||||
- raw - Handle exception raised by underlying APIs (https://github.com/ansible-collections/community.kubernetes/pull/180).
|
||||
@@ -1,2 +0,0 @@
|
||||
bugfixes:
|
||||
- k8s_info - add wait functionality (https://github.com/ansible-collections/community.kubernetes/issues/18).
|
||||
@@ -1,3 +0,0 @@
|
||||
---
|
||||
minor_changes:
|
||||
- Added a contribution guide (https://github.com/ansible-collections/community.kubernetes/pull/192).
|
||||
@@ -1,3 +0,0 @@
|
||||
---
|
||||
minor_changes:
|
||||
- helm - Return status in check mode (https://github.com/ansible-collections/community.kubernetes/pull/192).
|
||||
@@ -1,3 +0,0 @@
|
||||
---
|
||||
major_changes:
|
||||
- k8s_* - Add support for vaulted kubeconfig and src (https://github.com/ansible-collections/community.kubernetes/pull/193).
|
||||
@@ -1,3 +0,0 @@
|
||||
---
|
||||
minor_changes:
|
||||
- Add probot stale bot configuration to autoclose issues (https://github.com/ansible-collections/community.kubernetes/pull/196).
|
||||
@@ -1,3 +0,0 @@
|
||||
---
|
||||
minor_changes:
|
||||
- Add Makefile and downstream build script for kubernetes.core (https://github.com/ansible-collections/community.kubernetes/pull/197).
|
||||
@@ -1,2 +0,0 @@
|
||||
minor_changes:
|
||||
- kubectl plugin - correct console log (https://github.com/ansible-collections/community.kubernetes/issues/200).
|
||||
@@ -1,2 +0,0 @@
|
||||
minor_changes:
|
||||
- k8s_info - update custom resource example (https://github.com/ansible-collections/community.kubernetes/issues/202).
|
||||
@@ -1,3 +0,0 @@
|
||||
---
|
||||
bugfixes:
|
||||
- k8s (inventory) - Set the connection plugin and transport separately (https://github.com/ansible-collections/community.kubernetes/pull/208).
|
||||
@@ -1,3 +0,0 @@
|
||||
---
|
||||
minor_changes:
|
||||
- Add execution environment metadata (https://github.com/ansible-collections/community.kubernetes/pull/211).
|
||||
@@ -1,3 +0,0 @@
|
||||
---
|
||||
minor_changes:
|
||||
- Refactor module_utils (https://github.com/ansible-collections/community.kubernetes/pull/223).
|
||||
@@ -1,3 +0,0 @@
|
||||
---
|
||||
bugfixes:
|
||||
- common - handle exception raised due to DynamicClient (https://github.com/ansible-collections/community.kubernetes/pull/224).
|
||||
@@ -1,3 +0,0 @@
|
||||
---
|
||||
minor_changes:
|
||||
- Replace KubernetesAnsibleModule class with dummy class (https://github.com/ansible-collections/community.kubernetes/pull/227).
|
||||
@@ -1,3 +0,0 @@
|
||||
---
|
||||
minor_changes:
|
||||
- common - Do not mark task as changed when diff is irrelevant (https://github.com/ansible-collections/community.kubernetes/pull/228).
|
||||
@@ -1,3 +0,0 @@
|
||||
---
|
||||
minor_changes:
|
||||
- helm_* - Support vaulted kubeconfig (https://github.com/ansible-collections/community.kubernetes/pull/229).
|
||||
@@ -1,3 +0,0 @@
|
||||
---
|
||||
major_changes:
|
||||
- k8s - Add support for template parameter (https://github.com/ansible-collections/community.kubernetes/pull/230).
|
||||
@@ -1,3 +0,0 @@
|
||||
---
|
||||
minor_changes:
|
||||
- Replace KubernetesRawModule class with K8sAnsibleMixin (https://github.com/ansible-collections/community.kubernetes/pull/231).
|
||||
@@ -1,3 +0,0 @@
|
||||
---
|
||||
minor_changes:
|
||||
- k8s - SelfSubjectAccessReviews supported when 405 response received (https://github.com/ansible-collections/community.kubernetes/pull/237).
|
||||
@@ -1,3 +0,0 @@
|
||||
---
|
||||
minor_changes:
|
||||
- k8s_info - Add support for wait (https://github.com/ansible-collections/community.kubernetes/pull/235).
|
||||
@@ -1,2 +0,0 @@
|
||||
minor_changes:
|
||||
- k8s - add testcase for adding multiple resources using template parameter (https://github.com/ansible-collections/community.kubernetes/issues/243).
|
||||
@@ -1,3 +0,0 @@
|
||||
---
|
||||
minor_changes:
|
||||
- helm - Add appVersion idempotence check to Helm (https://github.com/ansible-collections/community.kubernetes/pull/246).
|
||||
@@ -1,3 +0,0 @@
|
||||
---
|
||||
bugfixes:
|
||||
- k8s (inventory) - Specify FQCN for k8s inventory plugin to fix use with Ansible 2.9 (https://github.com/ansible-collections/community.kubernetes/pull/250).
|
||||
@@ -1,3 +0,0 @@
|
||||
---
|
||||
bugfixes:
|
||||
- k8s - Fix sanity test 'compile' failing because of positional args (https://github.com/ansible-collections/community.kubernetes/issues/260).
|
||||
@@ -1,2 +0,0 @@
|
||||
bugfixes:
|
||||
- helm - return values in check mode when release is not present (https://github.com/ansible-collections/community.kubernetes/issues/280).
|
||||
@@ -1,3 +0,0 @@
|
||||
minor_changes:
|
||||
- k8s - check if src file is located on remote node or on Ansible Controller (https://github.com/ansible-collections/community.kubernetes/issues/307).
|
||||
- k8s - check if kubeconfig file is located on remote node or on Ansible Controller (https://github.com/ansible-collections/community.kubernetes/issues/307).
|
||||
@@ -1,2 +0,0 @@
|
||||
minor_changes:
|
||||
- k8s_info - add information about api_version while returning facts (https://github.com/ansible-collections/community.kubernetes/pull/308).
|
||||
@@ -1,3 +0,0 @@
|
||||
---
|
||||
minor_changes:
|
||||
- Adjust the documentation to clarify the fact ``wait_condition.status`` is a string.
|
||||
@@ -1,2 +0,0 @@
|
||||
minor_changes:
|
||||
- runtime.yml - update minimum Ansible version required for Kubernetes collection (https://github.com/ansible-collections/community.kubernetes/issues/314).
|
||||
@@ -1,4 +0,0 @@
|
||||
---
|
||||
minor_changes:
|
||||
- The Helm modules (``helm``, ``helm_info``, ``helm_plugin``, ``helm_plugin_info``, ``helm_plugin_repository``) accept
|
||||
the K8S environment variables like the other modules of the collections.
|
||||
@@ -1,3 +0,0 @@
|
||||
---
|
||||
minor_changes:
|
||||
- Adjust the name of parameters of ``helm`` and ``helm_info`` to match the documentation. No playbook change required.
|
||||
@@ -1,3 +0,0 @@
|
||||
---
|
||||
bugfixes:
|
||||
- k8s_service - Fix argspec (https://github.com/ansible-collections/community.kubernetes/issues/33).
|
||||
@@ -1,3 +0,0 @@
|
||||
---
|
||||
bugfixes:
|
||||
- helm - ``release_values`` makes ansible always show changed state (https://github.com/ansible-collections/community.kubernetes/issues/274)
|
||||
@@ -1,2 +0,0 @@
|
||||
minor_changes:
|
||||
- k8s - add a ``delete_options`` parameter to control garbage collection behavior when deleting a resource (https://github.com/ansible-collections/community.kubernetes/issues/253).
|
||||
@@ -1,2 +0,0 @@
|
||||
bugfixes:
|
||||
- k8s - fix check_mode always showing changes when using stringData on Secrets (https://github.com/ansible-collections/community.kubernetes/issues/282).
|
||||
@@ -1,2 +0,0 @@
|
||||
minor_changes:
|
||||
- helm - add a ``skip_crds`` option to skip the installation of CRDs when installing or upgrading a chart (https://github.com/ansible-collections/community.kubernetes/issues/296).
|
||||
@@ -1,3 +0,0 @@
|
||||
---
|
||||
minor_changes:
|
||||
- Improve k8s Deployment and Daemonset wait conditions (https://github.com/ansible-collections/community.kubernetes/pull/35).
|
||||
@@ -1,2 +0,0 @@
|
||||
minor_changes:
|
||||
- k8s - add an example for downloading manifest file and applying (https://github.com/ansible-collections/community.kubernetes/issues/352).
|
||||
@@ -1,2 +0,0 @@
|
||||
minor_changes:
|
||||
- helm - add optional support for helm diff (https://github.com/ansible-collections/community.kubernetes/issues/248).
|
||||
@@ -1,3 +0,0 @@
|
||||
bugfixes:
|
||||
- helm_plugin - make unused ``release_namespace`` parameter as optional (https://github.com/ansible-collections/community.kubernetes/issues/357).
|
||||
- helm_plugin_info - make unused ``release_namespace`` parameter as optional (https://github.com/ansible-collections/community.kubernetes/issues/357).
|
||||
@@ -1,2 +0,0 @@
|
||||
bugfixes:
|
||||
- respect the ``wait_timeout`` parameter in the ``k8s`` and ``k8s_info`` modules when a resource does not exist (https://github.com/ansible-collections/community.kubernetes/issues/344).
|
||||
@@ -1,2 +0,0 @@
|
||||
minor_changes:
|
||||
- k8s_exec - add a note about required permissions for the module (https://github.com/ansible-collections/community.kubernetes/issues/339).
|
||||
@@ -1,2 +0,0 @@
|
||||
bugfixes:
|
||||
- helm - make helm-diff plugin detection more reliable by splitting by any whitespace instead of explicit whitespace (``\s``) (https://github.com/ansible-collections/community.kubernetes/pull/362).
|
||||
@@ -1,2 +0,0 @@
|
||||
minor_changes:
|
||||
- helm_template - add helm_template module to support template functionality (https://github.com/ansible-collections/community.kubernetes/issues/367).
|
||||
@@ -1,12 +0,0 @@
|
||||
---
|
||||
major_changes:
|
||||
- k8s - Inventory source migrated from Ansible 2.9 to Kubernetes collection.
|
||||
- k8s - Module migrated from Ansible 2.9 to Kubernetes collection.
|
||||
- k8s - Lookup plugin migrated from Ansible 2.9 to Kubernetes collection.
|
||||
- k8s_auth - Module migrated from Ansible 2.9 to Kubernetes collection.
|
||||
- k8s_info - Module migrated from Ansible 2.9 to Kubernetes collection.
|
||||
- k8s_scale - Module migrated from Ansible 2.9 to Kubernetes collection.
|
||||
- k8s_service - Module migrated from Ansible 2.9 to Kubernetes collection.
|
||||
- k8s_config_resource_name - Filter plugin migrated from Ansible 2.9 to Kubernetes collection.
|
||||
- kubectl - Connection plugin migrated from Ansible 2.9 to Kubernetes collection.
|
||||
- openshift - Inventory source migrated from Ansible 2.9 to Kubernetes collection.
|
||||
@@ -1,2 +0,0 @@
|
||||
bugfixes:
|
||||
- fix missing requirements.txt file in kubernetes.core (https://github.com/ansible-collections/community.kubernetes/pull/401).
|
||||
@@ -1,2 +0,0 @@
|
||||
bugfixes:
|
||||
- pin molecule version to <3.3.0 to fix breaking changes (https://github.com/ansible-collections/community.kubernetes/pull/403).
|
||||
@@ -1,3 +0,0 @@
|
||||
---
|
||||
minor_changes:
|
||||
- k8s - Added ``persist_config`` option for persisting refreshed tokens (https://github.com/ansible-collections/community.kubernetes/issues/49).
|
||||
@@ -1,3 +0,0 @@
|
||||
---
|
||||
security_fixes:
|
||||
- kubectl - Warn about information disclosure when using options like ``kubectl_password``, ``kubectl_extra_args``, and ``kubectl_token`` to pass data through to the command line using the ``kubectl`` connection plugin (https://github.com/ansible-collections/community.kubernetes/pull/51).
|
||||
@@ -1,3 +0,0 @@
|
||||
---
|
||||
bugfixes:
|
||||
- kubectl - Fix documentation in kubectl connection plugin (https://github.com/ansible-collections/community.kubernetes/pull/52).
|
||||
@@ -1,3 +0,0 @@
|
||||
---
|
||||
bugfixes:
|
||||
- k8s - Add exception handling when retrieving k8s client (https://github.com/ansible-collections/community.kubernetes/pull/54).
|
||||
@@ -1,3 +0,0 @@
|
||||
---
|
||||
bugfixes:
|
||||
- k8s - Use ``from_yaml`` filter with lookup examples in ``k8s`` module documentation examples (https://github.com/ansible-collections/community.kubernetes/pull/56).
|
||||
@@ -1,5 +0,0 @@
|
||||
---
|
||||
major_changes:
|
||||
- helm - New module for managing Helm charts (https://github.com/ansible-collections/community.kubernetes/pull/61).
|
||||
- helm_info - New module for retrieving Helm chart information (https://github.com/ansible-collections/community.kubernetes/pull/61).
|
||||
- helm_repository - New module for managing Helm repositories (https://github.com/ansible-collections/community.kubernetes/pull/61).
|
||||
@@ -1,2 +0,0 @@
|
||||
security_fixes:
|
||||
- kubectl - connection plugin now redact kubectl_token and kubectl_password in console log (https://github.com/ansible-collections/community.kubernetes/issues/65).
|
||||
@@ -1,3 +0,0 @@
|
||||
---
|
||||
bugfixes:
|
||||
- k8s_log - Module no longer attempts to parse log as JSON (https://github.com/ansible-collections/community.kubernetes/pull/69).
|
||||
@@ -1,3 +0,0 @@
|
||||
---
|
||||
bugfixes:
|
||||
- Update GitHub Actions workflow for better CI stability (https://github.com/ansible-collections/community.kubernetes/pull/78).
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user