From: garciadeblas Date: Tue, 17 Sep 2024 11:25:47 +0000 (+0200) Subject: Remove unused Jinja Workflow for AKS cluster creation X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=cedb47b45fc9e17b3f149555794f9f3f2fbb3ddf;p=osm%2FLCM.git Remove unused Jinja Workflow for AKS cluster creation Change-Id: I409b24a6009fda806c6a3e8ab2896d599348b837 Signed-off-by: garciadeblas --- diff --git a/osm_lcm/odu_libs/templates/launcher-create-aks-cluster-and-bootstrap.j2 b/osm_lcm/odu_libs/templates/launcher-create-aks-cluster-and-bootstrap.j2 deleted file mode 100644 index 80297d0..0000000 --- a/osm_lcm/odu_libs/templates/launcher-create-aks-cluster-and-bootstrap.j2 +++ /dev/null @@ -1,85 +0,0 @@ -####################################################################################### -# Copyright ETSI Contributors and Others. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or -# implied. -# See the License for the specific language governing permissions and -# limitations under the License. -####################################################################################### -apiVersion: argoproj.io/v1alpha1 -kind: Workflow -metadata: - name: {{ workflow_name }} -spec: - arguments: - parameters: - - # Fleet repo - - name: git_fleet_url - value: "{{ git_fleet_url }}" - - name: fleet_destination_folder - value: "/fleet/fleet-osm" - - name: git_fleet_cred_secret - value: fleet-repo - - # SW-Catalogs repo - - name: git_sw_catalogs_url - value: "{{ git_sw_catalogs_url }}" - - name: sw_catalogs_destination_folder - value: "/sw-catalogs/sw-catalogs-osm" - - name: git_sw_catalogs_cred_secret - value: sw-catalogs - - # Specific parameters - AKS cluster - - name: cluster_kustomization_name - value: {{ cluster_kustomization_name }} - - name: cluster_name - value: {{ cluster_name }} - - name: vm_size - value: {{ vm_size }} - - name: node_count - value: "{{ node_count }}" - - name: cluster_location - value: {{ cluster_location }} - - name: rg_name - value: {{ rg_name }} - - name: k8s_version - value: "'{{ k8s_version }}'" - - name: providerconfig_name - value: {{ providerconfig_name }} - - # Specific parameters - Bootstrap - - name: public_key_mgmt - value: "{{ public_key_mgmt }}" - - name: public_key_new_cluster - value: "{{ public_key_new_cluster }}" - - name: secret_name_private_age_key_for_new_cluster - value: "{{ secret_name_private_key_new_cluster }}" - - name: key_name_in_secret - value: "agekey" - - name: fleet_repo_url - value: {{ git_fleet_url }} - - name: sw_catalogs_repo_url - value: {{ git_sw_catalogs_url }} - # Debug/dry run? - - name: debug - value: "{{ workflow_debug }}" - - name: dry_run - value: "{{ workflow_dry_run }}" - - # Cleanup policy - ttlStrategy: - secondsAfterCompletion: 2000 # Time to live after workflow is completed, replaces ttlSecondsAfterFinished - secondsAfterSuccess: 1000 # Time to live after workflow is successful - secondsAfterFailure: 1000 # Time to live after workflow fails - - workflowTemplateRef: - name: full-create-aks-cluster-and-bootstrap-wft