Initial Commit
This commit is contained in:
18
chart/templates/ingress.yaml
Normal file
18
chart/templates/ingress.yaml
Normal file
@@ -0,0 +1,18 @@
|
||||
apiVersion: networking.k8s.io/v1
|
||||
kind: Ingress
|
||||
metadata:
|
||||
labels:
|
||||
app: {{ .Values.appName }}
|
||||
name: {{ .Values.appName }}-ingress
|
||||
spec:
|
||||
rules:
|
||||
- host: {{ .Values.domain }}
|
||||
http:
|
||||
paths:
|
||||
- backend:
|
||||
service:
|
||||
name: {{ .Values.appName }}-svc
|
||||
port:
|
||||
number: 80
|
||||
path: /
|
||||
pathType: Exact
|
||||
Reference in New Issue
Block a user