updated community.kubernetes to kubernetes.core

This commit is contained in:
Radar231 2022-07-07 20:48:34 -04:00
parent d6bde75f57
commit 7da186ba98
1 changed files with 5 additions and 5 deletions

View File

@ -11,31 +11,31 @@
- debug: msg="Deploying motioneye app."
- name: Create the home-automation namespace
community.kubernetes.k8s:
kubernetes.core.k8s:
name: home-automation
api_version: v1
kind: Namespace
state: present
- name: Create the PV object
community.kubernetes.k8s:
kubernetes.core.k8s:
state: present
src: "{{ devpath }}/k8s_motioneye/motioneye_pv.yml"
- name: Create the PVC object
community.kubernetes.k8s:
kubernetes.core.k8s:
state: present
namespace: home-automation
src: "{{ devpath }}/k8s_motioneye/motioneye_pvc.yml"
- name: Create the deployment object
community.kubernetes.k8s:
kubernetes.core.k8s:
state: present
namespace: home-automation
src: "{{ devpath }}/k8s_motioneye/motioneye_deployment.yml"
- name: Create the load-balancer object
community.kubernetes.k8s:
kubernetes.core.k8s:
state: present
namespace: home-automation
src: "{{ devpath }}/k8s_motioneye/motioneye_lb.yml"