docker-registry app setup
This commit is contained in:
25
ansible-5/roles/prod.k3s/templates/dkregistry/ingress.yaml
Normal file
25
ansible-5/roles/prod.k3s/templates/dkregistry/ingress.yaml
Normal file
@@ -0,0 +1,25 @@
|
||||
---
|
||||
apiVersion: networking.k8s.io/v1
|
||||
kind: Ingress
|
||||
metadata:
|
||||
name: dkregistry
|
||||
namespace: "{{apps.dkregistry.namespace}}"
|
||||
annotations:
|
||||
kubernetes.io/ingress.class: "traefik"
|
||||
traefik.ingress.kubernetes.io/router.entrypoints: websecure
|
||||
traefik.ingress.kubernetes.io/router.tls: "true"
|
||||
spec:
|
||||
rules:
|
||||
- host: www.xai-corp.net
|
||||
http:
|
||||
paths:
|
||||
- path: /v2/
|
||||
pathType: Prefix
|
||||
backend:
|
||||
service:
|
||||
name: docker-registry
|
||||
port:
|
||||
number: 5000
|
||||
|
||||
tls: # < placing a host in the TLS config will determine what ends up in the cert's subjectAltNames
|
||||
- secretName: xai-corp-production-tls
|
||||
Reference in New Issue
Block a user