feat: Put ClusterIssuer under certificates
This commit is contained in:
@@ -12,7 +12,6 @@ resources:
|
|||||||
- ../../controllers/cnpg/cnpg.yaml
|
- ../../controllers/cnpg/cnpg.yaml
|
||||||
|
|
||||||
- ../../configs/artifacts.yaml
|
- ../../configs/artifacts.yaml
|
||||||
- ../../configs/letsencrypt/letsencrypt.yaml
|
|
||||||
- ../../configs/certificates/certificates.yaml
|
- ../../configs/certificates/certificates.yaml
|
||||||
- ../../configs/alerts/alerts.yaml
|
- ../../configs/alerts/alerts.yaml
|
||||||
- ../../configs/longhorn-jobs/longhorn-jobs.yaml
|
- ../../configs/longhorn-jobs/longhorn-jobs.yaml
|
||||||
|
|||||||
@@ -9,11 +9,6 @@ spec:
|
|||||||
kind: GitRepository
|
kind: GitRepository
|
||||||
name: flux-system
|
name: flux-system
|
||||||
artifacts:
|
artifacts:
|
||||||
- name: letsencrypt
|
|
||||||
originRevision: "@foundation"
|
|
||||||
copy:
|
|
||||||
- from: "@foundation/configs/letsencrypt/**"
|
|
||||||
to: "@artifact/"
|
|
||||||
- name: certificates
|
- name: certificates
|
||||||
originRevision: "@foundation"
|
originRevision: "@foundation"
|
||||||
copy:
|
copy:
|
||||||
|
|||||||
@@ -3,3 +3,5 @@ kind: Kustomization
|
|||||||
resources:
|
resources:
|
||||||
- namespace.yaml
|
- namespace.yaml
|
||||||
- certificate-huizinga-dev.yaml
|
- certificate-huizinga-dev.yaml
|
||||||
|
- secret-cloudflare-token.enc.yaml
|
||||||
|
- cluster-issuer.yaml
|
||||||
|
|||||||
@@ -8,10 +8,14 @@ spec:
|
|||||||
retryInterval: 2m
|
retryInterval: 2m
|
||||||
timeout: 15m
|
timeout: 15m
|
||||||
dependsOn:
|
dependsOn:
|
||||||
- name: letsencrypt
|
- name: cert-manager
|
||||||
sourceRef:
|
sourceRef:
|
||||||
kind: ExternalArtifact
|
kind: ExternalArtifact
|
||||||
name: certificates
|
name: certificates
|
||||||
|
decryption:
|
||||||
|
provider: sops
|
||||||
|
secretRef:
|
||||||
|
name: sops-gpg
|
||||||
path: ./${cluster_env}
|
path: ./${cluster_env}
|
||||||
prune: true
|
prune: true
|
||||||
wait: true
|
wait: true
|
||||||
|
|||||||
@@ -1,5 +0,0 @@
|
|||||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
|
||||||
kind: Kustomization
|
|
||||||
resources:
|
|
||||||
- secret-cloudflare-token.enc.yaml
|
|
||||||
- cluster-issuer.yaml
|
|
||||||
@@ -1,21 +0,0 @@
|
|||||||
apiVersion: kustomize.toolkit.fluxcd.io/v1
|
|
||||||
kind: Kustomization
|
|
||||||
metadata:
|
|
||||||
name: letsencrypt
|
|
||||||
namespace: flux-system
|
|
||||||
spec:
|
|
||||||
interval: 1h
|
|
||||||
retryInterval: 2m
|
|
||||||
timeout: 5m
|
|
||||||
dependsOn:
|
|
||||||
- name: cert-manager
|
|
||||||
sourceRef:
|
|
||||||
kind: ExternalArtifact
|
|
||||||
name: letsencrypt
|
|
||||||
decryption:
|
|
||||||
provider: sops
|
|
||||||
secretRef:
|
|
||||||
name: sops-gpg
|
|
||||||
path: ./
|
|
||||||
prune: true
|
|
||||||
wait: true
|
|
||||||
Reference in New Issue
Block a user