Skip to content

Commit 71e8cb0

Browse files
adolfo-abmyakove
andauthored
Add MariadbOperator Resource (#2028)
* Add MariadbOperator * Add MariadbOperator Apigroup * Remove api version --------- Co-authored-by: Meni Yakove <[email protected]>
1 parent 90c34ea commit 71e8cb0

File tree

2 files changed

+19
-0
lines changed

2 files changed

+19
-0
lines changed

ocp_resources/mariadb_operator.py

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/scripts/resource/README.md
2+
3+
from typing import Any
4+
from ocp_resources.resource import NamespacedResource
5+
6+
7+
class MariadbOperator(NamespacedResource):
8+
"""
9+
MariadbOperator is the Schema for the mariadboperators API
10+
"""
11+
12+
api_group: str = NamespacedResource.ApiGroup.HELM_MARIADB_MMONTES_IO
13+
14+
def __init__(
15+
self,
16+
**kwargs: Any,
17+
) -> None:
18+
super().__init__(**kwargs)

ocp_resources/resource.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -286,6 +286,7 @@ class ApiGroup:
286286
FORKLIFT_KONVEYOR_IO: str = "forklift.konveyor.io"
287287
INSTANCETYPE_KUBEVIRT_IO: str = "instancetype.kubevirt.io"
288288
HCO_KUBEVIRT_IO: str = "hco.kubevirt.io"
289+
HELM_MARIADB_MMONTES_IO: str = "helm.mariadb.mmontes.io"
289290
HIVE_OPENSHIFT_IO: str = "hive.openshift.io"
290291
HOSTPATHPROVISIONER_KUBEVIRT_IO: str = "hostpathprovisioner.kubevirt.io"
291292
IMAGE_OPENSHIFT_IO: str = "image.openshift.io"

0 commit comments

Comments
 (0)