48f83126664ab8cad0df7fa96c20b81adb2f1786
[osm/devops.git] /
1 #######################################################################################
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 #######################################################################################
17
18 ---
19 # Namespace
20 apiVersion: v1
21 kind: Namespace
22 metadata:
23   name: argo
24
25 ---
26 # Base Kustomization
27 apiVersion: kustomize.toolkit.fluxcd.io/v1
28 kind: Kustomization
29 metadata:
30   name: argo-workflows
31   namespace: argo
32 spec:
33   interval: 1h
34   retryInterval: 1m
35   timeout: 5m
36   sourceRef:
37     kind: GitRepository
38     name: sw-catalogs
39     namespace: flux-system
40   path: ./infra-controllers/argo-workflows/manifests
41   prune: true
42
43   # (optional - comment otherwise) Set argo-server authentication
44   patches:
45   - target:
46       group: apps
47       version: v1
48       kind: Deployment
49       name: argo-server
50     patch: |-
51       - op: replace
52         path: /spec/template/spec/containers/0/args
53         value:
54           - server
55           - --auth-mode=server