fp/flux/clusters/staging/infrastructure.yaml

56 lines
1.2 KiB
YAML
Raw Normal View History

2024-04-26 16:38:51 +00:00
---
apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization
metadata:
name: infra-controllers
namespace: flux-system
spec:
interval: 1h
retryInterval: 1m
timeout: 5m
sourceRef:
kind: GitRepository
name: flux-system
2024-07-14 06:21:28 +00:00
path: ./flux/infrastructure/controllers
2024-04-26 16:38:51 +00:00
prune: true
wait: true
2024-06-20 01:43:25 +00:00
2024-06-29 22:53:45 +00:00
---
apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization
metadata:
name: infra-configs
namespace: flux-system
spec:
dependsOn:
- name: infra-controllers
interval: 1h
retryInterval: 1m
timeout: 5m
sourceRef:
kind: GitRepository
name: flux-system
2024-07-14 07:01:50 +00:00
path: ./flux/infrastructure/configs
2024-06-29 22:53:45 +00:00
prune: true
patches:
- patch: |
- op: replace
path: /spec/acme/server
value: https://acme-staging-v02.api.letsencrypt.org/directory
target:
kind: ClusterIssuer
name: letsencrypt
- patch: |
- op: replace
path: /metadata/name
value: letsencrypt-staging
target:
kind: ClusterIssuer
name: letsencrypt
- patch: |
- op: replace
path: /spec/acme/privateKeySecretRef/name
value: letsencrypt-staging
target:
kind: ClusterIssuer
name: letsencrypt