mirror of
https://github.com/morbalint/kemkas-deployment.git
synced 2026-07-17 22:03:46 +00:00
init: basic k8s deployment on DO
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
apiVersion: networking.k8s.io/v1
|
||||
kind: Ingress
|
||||
metadata:
|
||||
name: ingress-argocd
|
||||
namespace: argocd
|
||||
annotations:
|
||||
nginx.ingress.kubernetes.io/force-ssl-redirect: "true"
|
||||
nginx.ingress.kubernetes.io/backend-protocol: "HTTP"
|
||||
cert-manager.io/issuer: letsencrypt-argocd
|
||||
spec:
|
||||
ingressClassName: nginx
|
||||
rules:
|
||||
- http:
|
||||
paths:
|
||||
- path: /
|
||||
pathType: Prefix
|
||||
backend:
|
||||
service:
|
||||
name: argocd-server
|
||||
port:
|
||||
name: http
|
||||
host: argocd.kemkas.hu
|
||||
tls:
|
||||
- hosts:
|
||||
- argocd.kemkas.hu
|
||||
secretName: letsencrypt-argocd
|
||||
@@ -0,0 +1,5 @@
|
||||
server:
|
||||
ingress:
|
||||
enabled: "true"
|
||||
extraArgs:
|
||||
- "--insecure"
|
||||
@@ -0,0 +1,20 @@
|
||||
apiVersion: cert-manager.io/v1
|
||||
kind: Issuer
|
||||
metadata:
|
||||
name: letsencrypt-argocd
|
||||
namespace: argocd
|
||||
spec:
|
||||
# ACME issuer configuration
|
||||
# `email` - the email address to be associated with the ACME account (make sure it's a valid one)
|
||||
# `server` - the URL used to access the ACME server’s directory endpoint
|
||||
# `privateKeySecretRef` - Kubernetes Secret to store the automatically generated ACME account private key
|
||||
acme:
|
||||
email: developer@kemkas.hu
|
||||
server: https://acme-v02.api.letsencrypt.org/directory
|
||||
privateKeySecretRef:
|
||||
name: letsencrypt-argocd-private-key
|
||||
solvers:
|
||||
# Use the HTTP-01 challenge provider
|
||||
- http01:
|
||||
ingress:
|
||||
class: nginx
|
||||
Reference in New Issue
Block a user