cert-manager-issuers

This commit is contained in:
azykov@mail.ru
2026-07-18 23:46:38 +03:00
parent ceb71c9e0a
commit 65cf981eda
8 changed files with 55 additions and 6 deletions
@@ -0,0 +1,4 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- letsencrypt-prod.yaml
@@ -0,0 +1,16 @@
apiVersion: cert-manager.io/v1
kind: ClusterIssuer
metadata:
name: letsencrypt-prod
spec:
acme:
# server: https://acme-v02.api.letsencrypt.org/directory
server: https://acme-staging-v02.api.letsencrypt.org/directory
email: admin@aggtaa.com
privateKeySecretRef:
name: letsencrypt-prod-account-key
solvers:
- http01:
ingress:
ingressClassName: traefik
+4 -1
View File
@@ -4,10 +4,13 @@ metadata:
name: apps name: apps
namespace: flux-system namespace: flux-system
spec: spec:
interval: 10m interval: 1m
sourceRef: sourceRef:
kind: GitRepository kind: GitRepository
name: flux-system name: flux-system
path: ./clusters/home/apps path: ./clusters/home/apps
prune: true prune: true
wait: true wait: true
dependsOn:
- name: namespaces
- name: infra-apps
+16
View File
@@ -0,0 +1,16 @@
apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization
metadata:
name: infra-apps
namespace: flux-system
spec:
interval: 1m
sourceRef:
kind: GitRepository
name: flux-system
path: ./clusters/home/infra-apps
prune: true
wait: true
dependsOn:
- name: namespaces
- name: infra
@@ -0,0 +1,4 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- ../../base/infra-apps/cert-manager-issuers
@@ -1,12 +1,15 @@
apiVersion: kustomize.toolkit.fluxcd.io/v1 apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization kind: Kustomization
metadata: metadata:
name: infrastructure name: infra
namespace: flux-system namespace: flux-system
spec: spec:
interval: 1m interval: 1m
sourceRef: sourceRef:
kind: GitRepository kind: GitRepository
name: flux-system name: flux-system
path: ./clusters/home/infrastructure path: ./clusters/home/infra
prune: true prune: true
wait: true
dependsOn:
- name: namespaces
+3
View File
@@ -0,0 +1,3 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources: []
+2 -2
View File
@@ -3,7 +3,7 @@ kind: Kustomization
resources: resources:
- flux-system - flux-system
- namespaces.yaml - namespaces.yaml
# - infra.yaml - infra.yaml
# - infra-nodes.yaml # - infra-nodes.yaml
# - infra-apps.yaml - infra-apps.yaml
- apps.yaml - apps.yaml