mirror of
https://github.com/ansible-collections/kubernetes.core.git
synced 2026-05-07 21:42:38 +00:00
Rename from community.kubernetes to kubernetes.core (#6)
* Rename from community.kubernetes to kubernetes.core This goes through and renames community.kubernetes to kubernetes.core. Most of this was generated from the downstream build script that was used on the community repository, plus whatever hand edits I could find that were needed. The downstream build and test process has also been removed as this repository is now the downstream repository. * Fix CONTRIBUTING.md
This commit is contained in:
@@ -21,9 +21,9 @@ description:
|
||||
- Use Openshift Python SDK to manage Services on Kubernetes
|
||||
|
||||
extends_documentation_fragment:
|
||||
- community.kubernetes.k8s_auth_options
|
||||
- community.kubernetes.k8s_resource_options
|
||||
- community.kubernetes.k8s_state_options
|
||||
- kubernetes.core.k8s_auth_options
|
||||
- kubernetes.core.k8s_resource_options
|
||||
- kubernetes.core.k8s_state_options
|
||||
|
||||
options:
|
||||
merge_type:
|
||||
@@ -91,7 +91,7 @@ requirements:
|
||||
|
||||
EXAMPLES = r'''
|
||||
- name: Expose https port with ClusterIP
|
||||
community.kubernetes.k8s_service:
|
||||
kubernetes.core.k8s_service:
|
||||
state: present
|
||||
name: test-https
|
||||
namespace: default
|
||||
@@ -102,7 +102,7 @@ EXAMPLES = r'''
|
||||
key: special
|
||||
|
||||
- name: Expose https port with ClusterIP using spec
|
||||
community.kubernetes.k8s_service:
|
||||
kubernetes.core.k8s_service:
|
||||
state: present
|
||||
name: test-https
|
||||
namespace: default
|
||||
@@ -148,8 +148,8 @@ import copy
|
||||
|
||||
from collections import defaultdict
|
||||
|
||||
from ansible_collections.community.kubernetes.plugins.module_utils.ansiblemodule import AnsibleModule
|
||||
from ansible_collections.community.kubernetes.plugins.module_utils.args_common import (
|
||||
from ansible_collections.kubernetes.core.plugins.module_utils.ansiblemodule import AnsibleModule
|
||||
from ansible_collections.kubernetes.core.plugins.module_utils.args_common import (
|
||||
AUTH_ARG_SPEC, COMMON_ARG_SPEC, RESOURCE_ARG_SPEC)
|
||||
|
||||
SERVICE_ARG_SPEC = {
|
||||
@@ -228,7 +228,7 @@ def execute_module(module, k8s_ansible_mixin):
|
||||
|
||||
def main():
|
||||
module = AnsibleModule(argument_spec=argspec(), supports_check_mode=True)
|
||||
from ansible_collections.community.kubernetes.plugins.module_utils.common import (
|
||||
from ansible_collections.kubernetes.core.plugins.module_utils.common import (
|
||||
K8sAnsibleMixin, get_api_client)
|
||||
|
||||
k8s_ansible_mixin = K8sAnsibleMixin(module)
|
||||
|
||||
Reference in New Issue
Block a user