d2879eb18ca976925c876ce6d156ac5e3a89bc01
[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 apiVersion: kustomize.toolkit.fluxcd.io/v1
20 kind: Kustomization
21 metadata:
22   name: infra-configs
23   namespace: flux-system
24   labels:
25     osm_profile_type: infra-configs
26 spec:
27   dependsOn:
28     - name: infra-controllers
29   interval: 1h
30   retryInterval: 1m
31   timeout: 5m
32   sourceRef:
33     kind: GitRepository
34     name: fleet-repo
35   path: ${INFRA_CONFIGS_PATH}
36   prune: true
37   # Decryption configuration starts here
38   decryption:
39     provider: sops
40     secretRef:
41       name: sops-age
42   # patches:
43   #   - patch: |
44   #       - op: replace
45   #         path: /spec/acme/server
46   #         value: https://acme-v02.api.letsencrypt.org/directory
47   #     target:
48   #       kind: ClusterIssuer
49   #       name: letsencrypt