helm: ingress для внешнего доступа
Build Media Mirror API / Build and publish (release) Successful in 31s
Build Media Mirror API / Build and publish (release) Successful in 31s
This commit is contained in:
@@ -0,0 +1,17 @@
|
|||||||
|
apiVersion: networking.k8s.io/v1
|
||||||
|
kind: Ingress
|
||||||
|
metadata:
|
||||||
|
name: "{{ $.Release.Name }}-{{ $.Chart.Name }}"
|
||||||
|
annotations: {}
|
||||||
|
spec:
|
||||||
|
rules:
|
||||||
|
- host: {{.Values.ingress.host }}
|
||||||
|
http:
|
||||||
|
paths:
|
||||||
|
- backend:
|
||||||
|
service:
|
||||||
|
name: "{{ $.Release.Name }}-{{ $.Chart.Name }}"
|
||||||
|
port:
|
||||||
|
number: {{ .Values.port }}
|
||||||
|
path: /
|
||||||
|
pathType: Prefix
|
||||||
@@ -37,3 +37,5 @@ app:
|
|||||||
|
|
||||||
securityContext:
|
securityContext:
|
||||||
privileged: false
|
privileged: false
|
||||||
|
ingress:
|
||||||
|
host: null
|
||||||
|
|||||||
Reference in New Issue
Block a user