Переименовано
This commit is contained in:
28
liquid-code/templates/default-ingress.yaml
Normal file
28
liquid-code/templates/default-ingress.yaml
Normal file
@@ -0,0 +1,28 @@
|
||||
apiVersion: networking.k8s.io/v1
|
||||
kind: Ingress
|
||||
metadata:
|
||||
name: {{ .Release.Name }}-ingress
|
||||
annotations:
|
||||
cert-manager.io/issuer: "{{ .Release.Name }}-certificate-issuer"
|
||||
spec:
|
||||
rules:
|
||||
- host: api.liquidcode.ru
|
||||
http:
|
||||
paths:
|
||||
- path: /
|
||||
pathType: Prefix
|
||||
backend:
|
||||
service:
|
||||
name: {{ .Release.Name }}-backend-service
|
||||
port:
|
||||
number: 80
|
||||
- host: liquidcode.ru
|
||||
http:
|
||||
paths:
|
||||
- path: /
|
||||
pathType: Prefix
|
||||
backend:
|
||||
service:
|
||||
name: {{ .Release.Name }}-frontend-service
|
||||
port:
|
||||
number: 80
|
||||
Reference in New Issue
Block a user