From e67f8d6f6d812bbbc5556700b7f4ec643d83b50b Mon Sep 17 00:00:00 2001
From: OZGCloud <ozgcloud@mgm-tp.com>
Date: Mon, 18 Dec 2023 21:45:50 +0100
Subject: [PATCH] OZG-4453 fix metadata#name

---
 .../crd/operator.ozgcloud.de_OzgCloudElasticsearch.yaml         | 2 +-
 .../crd/operator.ozgcloud.de_OzgCloudElasticsearch_test.yaml    | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/ozgcloud-elasticsearch-operator/src/main/helm/templates/crd/operator.ozgcloud.de_OzgCloudElasticsearch.yaml b/ozgcloud-elasticsearch-operator/src/main/helm/templates/crd/operator.ozgcloud.de_OzgCloudElasticsearch.yaml
index b805b0d..a4709f6 100644
--- a/ozgcloud-elasticsearch-operator/src/main/helm/templates/crd/operator.ozgcloud.de_OzgCloudElasticsearch.yaml
+++ b/ozgcloud-elasticsearch-operator/src/main/helm/templates/crd/operator.ozgcloud.de_OzgCloudElasticsearch.yaml
@@ -1,7 +1,7 @@
 apiVersion: apiextensions.k8s.io/v1
 kind: CustomResourceDefinition
 metadata:
-  name: ozgcloudelasticsearch.operator.ozgcloud.de
+  name: ozgcloudelasticsearchs.operator.ozgcloud.de
 spec:
   group: operator.ozgcloud.de
   names:
diff --git a/ozgcloud-elasticsearch-operator/src/test/helm/crd/operator.ozgcloud.de_OzgCloudElasticsearch_test.yaml b/ozgcloud-elasticsearch-operator/src/test/helm/crd/operator.ozgcloud.de_OzgCloudElasticsearch_test.yaml
index 8129c02..6efab0f 100644
--- a/ozgcloud-elasticsearch-operator/src/test/helm/crd/operator.ozgcloud.de_OzgCloudElasticsearch_test.yaml
+++ b/ozgcloud-elasticsearch-operator/src/test/helm/crd/operator.ozgcloud.de_OzgCloudElasticsearch_test.yaml
@@ -16,7 +16,7 @@ tests:
     asserts:
       - equal:
           path: metadata.name
-          value: ozgcloudelasticsearch.operator.ozgcloud.de
+          value: ozgcloudelasticsearchs.operator.ozgcloud.de
 
   - it: should have spec group
     asserts:
-- 
GitLab