mirror of
https://github.com/zoriya/snow.git
synced 2026-06-03 04:02:25 +00:00
Add cert issuer
This commit is contained in:
@@ -28,4 +28,6 @@ spec:
|
||||
annotations:
|
||||
ingress.cilium.io/tls-passthrough: "true"
|
||||
ingress.cilium.io/force-https: "true"
|
||||
cert-manager.io/cluster-issuer: letsencrypt
|
||||
hostname: argocd.sdg.moe
|
||||
tls: true
|
||||
|
||||
@@ -0,0 +1,20 @@
|
||||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: Application
|
||||
metadata:
|
||||
name: misc
|
||||
namespace: argocd
|
||||
spec:
|
||||
project: default
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: argocd
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: true
|
||||
selfHeal: false
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
source:
|
||||
repoURL: https://github.com/zoriya/snow
|
||||
targetRevision: HEAD
|
||||
path: apps/misc
|
||||
@@ -0,0 +1,15 @@
|
||||
apiVersion: cert-manager.io/v1
|
||||
kind: ClusterIssuer
|
||||
metadata:
|
||||
name: letsencrypt
|
||||
spec:
|
||||
acme:
|
||||
email: zoe.roux@zoriya.dev
|
||||
profile: tlsserver
|
||||
server: https://acme-staging-v02.api.letsencrypt.org/directory
|
||||
privateKeySecretRef:
|
||||
name: lets-encrypt-pk
|
||||
solvers:
|
||||
- http01:
|
||||
ingress:
|
||||
ingressClassName: cilium
|
||||
@@ -0,0 +1,5 @@
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
|
||||
resources:
|
||||
- cluster-issuer.yaml
|
||||
Reference in New Issue
Block a user