Fix minor issues in oka-generate: add version, add wait true in ks, simplifiy namespa... 78/14878/1
authorgarciadeblas <gerardo.garciadeblas@telefonica.com>
Thu, 16 Jan 2025 23:50:24 +0000 (00:50 +0100)
committergarciadeblas <gerardo.garciadeblas@telefonica.com>
Thu, 16 Jan 2025 23:52:09 +0000 (00:52 +0100)
Change-Id: I556ef40c96eac4154fdd1f4bf9ae1a153f0a5e24
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
osmclient/templates/oka/manifest-helmrelease.j2
osmclient/templates/oka/template-kustomization.j2
osmclient/templates/oka/template-namespace.j2

index 075b816..00b56c9 100644 (file)
@@ -24,6 +24,7 @@ spec:
   chart:
     spec:
       chart: {{ helm_chart }}
+      {% if version %}version: '{{ version }}'{% endif %}
       reconcileStrategy: ChartVersion
       sourceRef:
         kind: HelmRepository
index 1cca017..ac967dd 100644 (file)
@@ -24,6 +24,7 @@ spec:
   interval: 1h0m0s
   path: {{ manifest_folder }}
   prune: true
+  wait: true
   sourceRef:
     kind: GitRepository
     name: sw-catalogs
index 7293d5c..1fb0650 100644 (file)
@@ -18,8 +18,5 @@
 apiVersion: v1
 kind: Namespace
 metadata:
-  creationTimestamp: null
   name: {{ namespace }}
-spec: {}
-status: {}