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
|
|
|
|
---
|
|
|
|
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
|
|
|
|
path: /spec/acme/server
|
2024-04-26 22:19:45 +00:00
|
|
|
value: https://acme-staging-v02.api.letsencrypt.org/directory
|
2024-06-29 00:42:01 +00:00
|
|
|
target:
|
|
|
|
kind: ClusterIssuer
|
|
|
|
name: letsencrypt
|
|
|
|
- patch: |
|
2024-06-28 23:59:31 +00:00
|
|
|
- op: replace
|
|
|
|
path: /spec/acme/privateKeySecretRef/name
|
|
|
|
value: letsencrypt-staging
|
2024-06-29 00:42:58 +00:00
|
|
|
target:
|
|
|
|
kind: ClusterIssuer
|
|
|
|
name: letsencrypt
|
|
|
|
- patch: |
|
|
|
|
- op: replace
|
|
|
|
path: /metadata/name
|
|
|
|
value: letsencrypt-staging
|
2024-04-26 16:38:51 +00:00
|
|
|
target:
|
|
|
|
kind: ClusterIssuer
|
2024-06-29 00:42:01 +00:00
|
|
|
name: letsencrypt
|