2d59cc952516f0dc5c37da0afcc20b00fd136ca2
[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: managed-resources
24
25 ---
26 # Managed resources
27 apiVersion: kustomize.toolkit.fluxcd.io/v1
28 kind: Kustomization
29 metadata:
30   name: managed-resources
31   namespace: flux-system
32   labels:
33     osm_profile_type: managed-resources
34 spec:
35   # interval: 10m0s
36   interval: 7m0s
37   dependsOn:
38     - name: infra-configs
39   sourceRef:
40     kind: GitRepository
41     name: fleet-repo
42   path: ${MANAGED_RESOURCES_PATH}
43   prune: true
44   wait: true
45   # timeout: 5m0s
46   timeout: 7m0s
47   retryInterval: 2m0s
48   # Decryption configuration starts here
49   decryption:
50     provider: sops
51     secretRef:
52       name: sops-age