Compare commits
2 Commits
498f300d93
...
e48917613d
Author | SHA1 | Date | |
---|---|---|---|
e48917613d | |||
be45aa0bdb |
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
*nocommit
|
20
argocd-applications/base/cert-manager.yaml
Normal file
20
argocd-applications/base/cert-manager.yaml
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
apiVersion: argoproj.io/v1alpha1
|
||||||
|
kind: Application
|
||||||
|
metadata:
|
||||||
|
name: argo-app-cert-manager
|
||||||
|
namespace: argocd
|
||||||
|
spec:
|
||||||
|
destination:
|
||||||
|
name: ''
|
||||||
|
namespace: default
|
||||||
|
server: https://kubernetes.default.svc
|
||||||
|
source:
|
||||||
|
path: cert-manager
|
||||||
|
repoURL: https://git.mziesel.nl/mans/argocd-test
|
||||||
|
targetRevision: HEAD
|
||||||
|
sources: []
|
||||||
|
project: default
|
||||||
|
syncPolicy:
|
||||||
|
automated:
|
||||||
|
prune: true
|
||||||
|
selfHeal: true
|
@ -8,3 +8,4 @@ resources:
|
|||||||
- ./base/metallb-application.yaml
|
- ./base/metallb-application.yaml
|
||||||
- ./base/traefik-application.yaml
|
- ./base/traefik-application.yaml
|
||||||
- ./base/ip-mziesel-nl-application.yaml
|
- ./base/ip-mziesel-nl-application.yaml
|
||||||
|
- ./base/cert-manager.yaml
|
||||||
|
4
cert-manager/base/cert-manager-namespace.yaml
Normal file
4
cert-manager/base/cert-manager-namespace.yaml
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
apiVersion: v1
|
||||||
|
kind: Namespace
|
||||||
|
metadata:
|
||||||
|
name: cert-manager
|
30
cert-manager/base/mziesel-ca.yaml
Normal file
30
cert-manager/base/mziesel-ca.yaml
Normal file
@ -0,0 +1,30 @@
|
|||||||
|
apiVersion: cert-manager.io/v1
|
||||||
|
kind: ClusterIssuer
|
||||||
|
metadata:
|
||||||
|
name: mziesel-root-ca-issuer
|
||||||
|
spec:
|
||||||
|
selfSigned: {}
|
||||||
|
---
|
||||||
|
apiVersion: cert-manager.io/v1
|
||||||
|
kind: Certificate
|
||||||
|
metadata:
|
||||||
|
name: mziesel-ca
|
||||||
|
spec:
|
||||||
|
isCA: true
|
||||||
|
commonName: mziesel-ca
|
||||||
|
secretName: mziesel-root-secret
|
||||||
|
privateKey:
|
||||||
|
algorithm: ECDSA
|
||||||
|
size: 256
|
||||||
|
issuerRef:
|
||||||
|
name: mziesel-root-ca-issuer
|
||||||
|
kind: ClusterIssuer
|
||||||
|
group: cert-manager.io
|
||||||
|
---
|
||||||
|
apiVersion: cert-manager.io/v1
|
||||||
|
kind: ClusterIssuer
|
||||||
|
metadata:
|
||||||
|
name: mziesel-ca-issuer
|
||||||
|
spec:
|
||||||
|
ca:
|
||||||
|
secretName: mziesel-root-secret
|
9
cert-manager/kustomization.yaml
Normal file
9
cert-manager/kustomization.yaml
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||||
|
kind: Kustomization
|
||||||
|
|
||||||
|
namespace: cert-manager
|
||||||
|
|
||||||
|
resources:
|
||||||
|
- ./base/cert-manager-namespace.yaml
|
||||||
|
- https://github.com/cert-manager/cert-manager/releases/download/v1.16.1/cert-manager.yaml
|
||||||
|
- ./base/mziesel-ca.yaml
|
@ -9,3 +9,4 @@ spec:
|
|||||||
services:
|
services:
|
||||||
- name: ip-mziesel-nl
|
- name: ip-mziesel-nl
|
||||||
port: web
|
port: web
|
||||||
|
tls: {}
|
||||||
|
Loading…
Reference in New Issue
Block a user