From: garciadeblas Date: Thu, 16 Jan 2025 23:50:24 +0000 (+0100) Subject: Fix minor issues in oka-generate: add version, add wait true in ks, simplifiy namespa... X-Git-Tag: v18.0.0~18 X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=691580f694f265517d8d5832685919a6ab4a44b4;p=osm%2Fosmclient.git Fix minor issues in oka-generate: add version, add wait true in ks, simplifiy namespace manifest Change-Id: I556ef40c96eac4154fdd1f4bf9ae1a153f0a5e24 Signed-off-by: garciadeblas --- diff --git a/osmclient/templates/oka/manifest-helmrelease.j2 b/osmclient/templates/oka/manifest-helmrelease.j2 index 075b816..00b56c9 100644 --- a/osmclient/templates/oka/manifest-helmrelease.j2 +++ b/osmclient/templates/oka/manifest-helmrelease.j2 @@ -24,6 +24,7 @@ spec: chart: spec: chart: {{ helm_chart }} + {% if version %}version: '{{ version }}'{% endif %} reconcileStrategy: ChartVersion sourceRef: kind: HelmRepository diff --git a/osmclient/templates/oka/template-kustomization.j2 b/osmclient/templates/oka/template-kustomization.j2 index 1cca017..ac967dd 100644 --- a/osmclient/templates/oka/template-kustomization.j2 +++ b/osmclient/templates/oka/template-kustomization.j2 @@ -24,6 +24,7 @@ spec: interval: 1h0m0s path: {{ manifest_folder }} prune: true + wait: true sourceRef: kind: GitRepository name: sw-catalogs diff --git a/osmclient/templates/oka/template-namespace.j2 b/osmclient/templates/oka/template-namespace.j2 index 7293d5c..1fb0650 100644 --- a/osmclient/templates/oka/template-namespace.j2 +++ b/osmclient/templates/oka/template-namespace.j2 @@ -18,8 +18,5 @@ apiVersion: v1 kind: Namespace metadata: - creationTimestamp: null name: {{ namespace }} -spec: {} -status: {}