mirror of
https://github.com/amkartashov/gf-k8s.git
synced 2026-01-11 01:49:44 +00:00
60 lines
1.2 KiB
YAML
60 lines
1.2 KiB
YAML
---
|
|
apiVersion: cert-manager.io/v1alpha2
|
|
kind: Certificate
|
|
metadata:
|
|
name: argocd
|
|
spec:
|
|
secretName: argocd-secret
|
|
dnsNames:
|
|
- argocd.gorilych.ru
|
|
- argocd-grpc.gorilych.ru
|
|
acme:
|
|
config:
|
|
- http01:
|
|
ingressClass: nginx
|
|
domains:
|
|
- argocd.gorilych.ru
|
|
- argocd-grpc.gorilych.ru
|
|
issuerRef:
|
|
name: letsencrypt
|
|
kind: ClusterIssuer
|
|
---
|
|
apiVersion: networking.k8s.io/v1beta1
|
|
kind: Ingress
|
|
metadata:
|
|
name: argocd-server-http-ingress
|
|
annotations:
|
|
kubernetes.io/ingress.class: nginx
|
|
spec:
|
|
rules:
|
|
- http:
|
|
paths:
|
|
- backend:
|
|
serviceName: argocd-server
|
|
servicePort: http
|
|
host: argocd.gorilych.ru
|
|
tls:
|
|
- hosts:
|
|
- argocd.gorilych.ru
|
|
secretName: argocd-secret
|
|
---
|
|
apiVersion: networking.k8s.io/v1beta1
|
|
kind: Ingress
|
|
metadata:
|
|
name: argocd-server-grpc-ingress
|
|
annotations:
|
|
kubernetes.io/ingress.class: nginx
|
|
nginx.ingress.kubernetes.io/backend-protocol: GRPC
|
|
spec:
|
|
rules:
|
|
- http:
|
|
paths:
|
|
- backend:
|
|
serviceName: argocd-server
|
|
servicePort: http
|
|
host: argocd-grpc.gorilych.ru
|
|
tls:
|
|
- hosts:
|
|
- argocd-grpc.gorilych.ru
|
|
secretName: argocd-secret
|
|
|