← harnesscd-example-apps

Update application.yml

d5dd8a9c6606d11f5d94d455d5ca02764b1de0ca · Neelam · Nov 28, 2023 10:28

Namespace at the metadata level is not required for the application creation and hence removing it from the yaml aas well. 
More details: https://harness.atlassian.net/browse/CDS-85081

+1 −2 · 1 file changed

  • guestbook/harness-gitops/application.yml +1 −2
diff --git a/guestbook/harness-gitops/application.yml b/guestbook/harness-gitops/application.yml
index e87f0ee..68eeaf1 100644
--- a/guestbook/harness-gitops/application.yml
+++ b/guestbook/harness-gitops/application.yml
@@ -5,7 +5,6 @@ gitops:
   type: application
   application:
     metadata:
-      namespace: default
       clusterName: gitops_cluster
       labels:
         harness.io/serviceRef: harnessguestbook
@@ -20,4 +19,4 @@ gitops:
         namespace: default
   agentIdentifier: AGENT_NAME
   clusterIdentifier: gitopscluster
-  repoIdentifier: gitopsrepo
\ No newline at end of file
+  repoIdentifier: gitopsrepo