change build way
This commit is contained in:
@@ -95,26 +95,27 @@ spec:
|
||||
protocol: TCP
|
||||
selector:
|
||||
app: {{ appName }}
|
||||
---
|
||||
apiVersion: networking.k8s.io/v1
|
||||
kind: Ingress
|
||||
metadata:
|
||||
name: {{ appName }}
|
||||
namespace: {{ namespace }}
|
||||
spec:
|
||||
ingressClassName: nginx
|
||||
rules:
|
||||
- host: {{ domainName }}
|
||||
http:
|
||||
paths:
|
||||
- backend:
|
||||
service:
|
||||
name: {{ appName }}
|
||||
port:
|
||||
number: {{ appPort }}
|
||||
path: /
|
||||
pathType: Prefix
|
||||
tls:
|
||||
- hosts:
|
||||
- {{ domainName }}
|
||||
secretName: api-deck-tls
|
||||
|
||||
# ---
|
||||
# apiVersion: networking.k8s.io/v1
|
||||
# kind: Ingress
|
||||
# metadata:
|
||||
# name: {{ appName }}
|
||||
# namespace: {{ namespace }}
|
||||
# spec:
|
||||
# ingressClassName: nginx
|
||||
# rules:
|
||||
# - host: {{ domainName }}
|
||||
# http:
|
||||
# paths:
|
||||
# - backend:
|
||||
# service:
|
||||
# name: {{ appName }}
|
||||
# port:
|
||||
# number: {{ appPort }}
|
||||
# path: /
|
||||
# pathType: Prefix
|
||||
# tls:
|
||||
# - hosts:
|
||||
# - {{ domainName }}
|
||||
# secretName: api-deck-tls
|
||||
|
||||
Reference in New Issue
Block a user