blob: c63044f37b484f3d5d2dfdd344efbfbdb0c7024d [file] [log] [blame]
garciadeblas96b94f52024-07-08 16:18:21 +02001#######################################################################################
2# Copyright ETSI Contributors and Others.
3#
4# Licensed under the Apache License, Version 2.0 (the "License");
5# you may not use this file except in compliance with the License.
6# You may obtain a copy of the License at
7#
8# http://www.apache.org/licenses/LICENSE-2.0
9#
10# Unless required by applicable law or agreed to in writing, software
11# distributed under the License is distributed on an "AS IS" BASIS,
12# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
13# implied.
14# See the License for the specific language governing permissions and
15# limitations under the License.
16#######################################################################################
17apiVersion: argoproj.io/v1alpha1
18kind: Workflow
19metadata:
20 name: {{ workflow_name }}
21spec:
22 arguments:
23 parameters:
24
25 # Fleet repo
26 - name: git_fleet_url
27 value: "{{ git_fleet_url }}"
28 - name: fleet_destination_folder
29 value: "/fleet/fleet-osm"
30 - name: git_fleet_cred_secret
31 value: fleet-repo
32
33 # SW-Catalogs repo
34 - name: git_sw_catalogs_url
35 value: "{{ git_sw_catalogs_url }}"
36 - name: sw_catalogs_destination_folder
37 value: "/sw-catalogs/sw-catalogs-osm"
38 - name: git_sw_catalogs_cred_secret
39 value: sw-catalogs
40
41 # Specific parameters - AKS cluster
42 - name: cluster_name
43 value: myakscluster01
44 - name: vm_size
45 value: Standard_D2_v2
46 - name: node_count
47 value: "1"
48 - name: cluster_location
49 value: "North Europe"
50 - name: rg_name
51 value: CloudNative-OSM
52 - name: k8s_version
53 value: "'1.28'"
54 - name: providerconfig_name
55 value: default
56 - name: cluster_kustomization_name
57 value: myakscluster01
58
59 # Debug/dry run?
60 - name: debug
61 value: "{{ workflow_debug }}"
62 - name: dry_run
63 value: "{{ workflow_dry_run }}"
64
65 # Cleanup policy
66 ttlStrategy:
67 secondsAfterCompletion: 2000 # Time to live after workflow is completed, replaces ttlSecondsAfterFinished
68 secondsAfterSuccess: 1000 # Time to live after workflow is successful
69 secondsAfterFailure: 1000 # Time to live after workflow fails
70
71 workflowTemplateRef:
72 name: full-update-aks-cluster-wft