fp/flux/clusters/production/infrastructure.yaml

56 lines
1.2 KiB
YAML
Raw Normal View History

2024-04-26 01:28:42 +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
path: ./infrastructure/controllers
prune: true
wait: true
2024-06-29 00:55:45 +00:00
2024-04-26 01:28:42 +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
path: ./infrastructure/configs
prune: true
2024-04-26 16:38:51 +00:00
patches:
2024-06-29 00:42:01 +00:00
- patch: |
2024-04-26 16:38:51 +00:00
- op: replace
2024-06-29 00:55:45 +00:00
path: /spec/acme/privateKeySecretRef/name
2024-06-29 01:50:07 +00:00
value: letsencrypt-production
2024-06-29 00:42:01 +00:00
target:
kind: ClusterIssuer
name: letsencrypt
- patch: |
2024-06-28 23:59:31 +00:00
- op: replace
2024-06-29 00:55:45 +00:00
path: /spec/acme/server
value: https://acme-staging-v02.api.letsencrypt.org/directory
target:
kind: ClusterIssuer
name: letsencrypt
- patch: |
- op: replace
path: /metadata/name
2024-06-29 01:50:07 +00:00
value: letsencrypt-production
2024-04-26 16:38:51 +00:00
target:
kind: ClusterIssuer
2024-06-29 00:42:01 +00:00
name: letsencrypt