From 39b054531e53f36c121117ccad480cabfceaf5dc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=AAAnat=20Wax?= <46938838+Anatw@users.noreply.github.com> Date: Tue, 2 May 2023 17:07:32 +0300 Subject: [PATCH] Add dns resource (#1189) Signed-off-by: Anat Wax --- ocp_resources/dns.py | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 ocp_resources/dns.py diff --git a/ocp_resources/dns.py b/ocp_resources/dns.py new file mode 100644 index 0000000000..695d228a48 --- /dev/null +++ b/ocp_resources/dns.py @@ -0,0 +1,12 @@ +# API reference: +# https://docs.openshift.com/container-platform/4.12/rest_api/config_apis/dns-config-openshift-io-v1.html + +from ocp_resources.resource import Resource + + +class DNS(Resource): + """ + DNS object. + """ + + api_group = Resource.ApiGroup.CONFIG_OPENSHIFT_IO