зеркало из https://github.com/Azure/draft-classic.git
add back ingress, disable by default
This commit is contained in:
Родитель
fe22736d76
Коммит
ad5db7864c
|
@ -0,0 +1,17 @@
|
|||
{{- if .Values.ingress.enabled -}}
|
||||
apiVersion: extensions/v1beta1
|
||||
kind: Ingress
|
||||
metadata:
|
||||
name: {{ template "fullname" . }}
|
||||
labels:
|
||||
chart: "{{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}"
|
||||
spec:
|
||||
rules:
|
||||
- host: {{ .Release.Name }}.{{ .Values.basedomain }}
|
||||
http:
|
||||
paths:
|
||||
- path: /
|
||||
backend:
|
||||
serviceName: {{ template "fullname" . }}
|
||||
servicePort: {{ .Values.service.externalPort }}
|
||||
{{- end -}}
|
|
@ -16,3 +16,5 @@ resources:
|
|||
requests:
|
||||
cpu: 1000m
|
||||
memory: 128Mi
|
||||
ingress:
|
||||
enabled: false
|
||||
|
|
|
@ -0,0 +1,17 @@
|
|||
{{- if .Values.ingress.enabled -}}
|
||||
apiVersion: extensions/v1beta1
|
||||
kind: Ingress
|
||||
metadata:
|
||||
name: {{ template "fullname" . }}
|
||||
labels:
|
||||
chart: "{{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}"
|
||||
spec:
|
||||
rules:
|
||||
- host: {{ .Release.Name }}.{{ .Values.basedomain }}
|
||||
http:
|
||||
paths:
|
||||
- path: /
|
||||
backend:
|
||||
serviceName: {{ template "fullname" . }}
|
||||
servicePort: {{ .Values.service.externalPort }}
|
||||
{{- end -}}
|
|
@ -16,3 +16,5 @@ resources:
|
|||
requests:
|
||||
cpu: 250m
|
||||
memory: 256Mi
|
||||
ingress:
|
||||
enabled: false
|
||||
|
|
|
@ -0,0 +1,17 @@
|
|||
{{- if .Values.ingress.enabled -}}
|
||||
apiVersion: extensions/v1beta1
|
||||
kind: Ingress
|
||||
metadata:
|
||||
name: {{ template "fullname" . }}
|
||||
labels:
|
||||
chart: "{{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}"
|
||||
spec:
|
||||
rules:
|
||||
- host: {{ .Release.Name }}.{{ .Values.basedomain }}
|
||||
http:
|
||||
paths:
|
||||
- path: /
|
||||
backend:
|
||||
serviceName: {{ template "fullname" . }}
|
||||
servicePort: {{ .Values.service.externalPort }}
|
||||
{{- end -}}
|
|
@ -16,3 +16,5 @@ resources:
|
|||
requests:
|
||||
cpu: 100m
|
||||
memory: 128Mi
|
||||
ingress:
|
||||
enabled: false
|
||||
|
|
|
@ -0,0 +1,17 @@
|
|||
{{- if .Values.ingress.enabled -}}
|
||||
apiVersion: extensions/v1beta1
|
||||
kind: Ingress
|
||||
metadata:
|
||||
name: {{ template "fullname" . }}
|
||||
labels:
|
||||
chart: "{{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}"
|
||||
spec:
|
||||
rules:
|
||||
- host: {{ .Release.Name }}.{{ .Values.basedomain }}
|
||||
http:
|
||||
paths:
|
||||
- path: /
|
||||
backend:
|
||||
serviceName: {{ template "fullname" . }}
|
||||
servicePort: {{ .Values.service.externalPort }}
|
||||
{{- end -}}
|
|
@ -16,3 +16,5 @@ resources:
|
|||
requests:
|
||||
cpu: 100m
|
||||
memory: 128Mi
|
||||
ingress:
|
||||
enabled: false
|
||||
|
|
|
@ -0,0 +1,17 @@
|
|||
{{- if .Values.ingress.enabled -}}
|
||||
apiVersion: extensions/v1beta1
|
||||
kind: Ingress
|
||||
metadata:
|
||||
name: {{ template "fullname" . }}
|
||||
labels:
|
||||
chart: "{{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}"
|
||||
spec:
|
||||
rules:
|
||||
- host: {{ .Release.Name }}.{{ .Values.basedomain }}
|
||||
http:
|
||||
paths:
|
||||
- path: /
|
||||
backend:
|
||||
serviceName: {{ template "fullname" . }}
|
||||
servicePort: {{ .Values.service.externalPort }}
|
||||
{{- end -}}
|
|
@ -16,3 +16,5 @@ resources:
|
|||
requests:
|
||||
cpu: 100m
|
||||
memory: 128Mi
|
||||
ingress:
|
||||
enabled: false
|
||||
|
|
|
@ -0,0 +1,17 @@
|
|||
{{- if .Values.ingress.enabled -}}
|
||||
apiVersion: extensions/v1beta1
|
||||
kind: Ingress
|
||||
metadata:
|
||||
name: {{ template "fullname" . }}
|
||||
labels:
|
||||
chart: "{{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}"
|
||||
spec:
|
||||
rules:
|
||||
- host: {{ .Release.Name }}.{{ .Values.basedomain }}
|
||||
http:
|
||||
paths:
|
||||
- path: /
|
||||
backend:
|
||||
serviceName: {{ template "fullname" . }}
|
||||
servicePort: {{ .Values.service.externalPort }}
|
||||
{{- end -}}
|
|
@ -16,3 +16,5 @@ resources:
|
|||
requests:
|
||||
cpu: 100m
|
||||
memory: 128Mi
|
||||
ingress:
|
||||
enabled: false
|
||||
|
|
|
@ -0,0 +1,17 @@
|
|||
{{- if .Values.ingress.enabled -}}
|
||||
apiVersion: extensions/v1beta1
|
||||
kind: Ingress
|
||||
metadata:
|
||||
name: {{ template "fullname" . }}
|
||||
labels:
|
||||
chart: "{{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}"
|
||||
spec:
|
||||
rules:
|
||||
- host: {{ .Release.Name }}.{{ .Values.basedomain }}
|
||||
http:
|
||||
paths:
|
||||
- path: /
|
||||
backend:
|
||||
serviceName: {{ template "fullname" . }}
|
||||
servicePort: {{ .Values.service.externalPort }}
|
||||
{{- end -}}
|
|
@ -16,3 +16,5 @@ resources:
|
|||
requests:
|
||||
cpu: 100m
|
||||
memory: 128Mi
|
||||
ingress:
|
||||
enabled: false
|
||||
|
|
|
@ -0,0 +1,17 @@
|
|||
{{- if .Values.ingress.enabled -}}
|
||||
apiVersion: extensions/v1beta1
|
||||
kind: Ingress
|
||||
metadata:
|
||||
name: {{ template "fullname" . }}
|
||||
labels:
|
||||
chart: "{{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}"
|
||||
spec:
|
||||
rules:
|
||||
- host: {{ .Release.Name }}.{{ .Values.basedomain }}
|
||||
http:
|
||||
paths:
|
||||
- path: /
|
||||
backend:
|
||||
serviceName: {{ template "fullname" . }}
|
||||
servicePort: {{ .Values.service.externalPort }}
|
||||
{{- end -}}
|
|
@ -16,3 +16,5 @@ resources:
|
|||
requests:
|
||||
cpu: 100m
|
||||
memory: 128Mi
|
||||
ingress:
|
||||
enabled: false
|
||||
|
|
|
@ -0,0 +1,17 @@
|
|||
{{- if .Values.ingress.enabled -}}
|
||||
apiVersion: extensions/v1beta1
|
||||
kind: Ingress
|
||||
metadata:
|
||||
name: {{ template "fullname" . }}
|
||||
labels:
|
||||
chart: "{{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}"
|
||||
spec:
|
||||
rules:
|
||||
- host: {{ .Release.Name }}.{{ .Values.basedomain }}
|
||||
http:
|
||||
paths:
|
||||
- path: /
|
||||
backend:
|
||||
serviceName: {{ template "fullname" . }}
|
||||
servicePort: {{ .Values.service.externalPort }}
|
||||
{{- end -}}
|
|
@ -16,3 +16,5 @@ resources:
|
|||
requests:
|
||||
cpu: 100m
|
||||
memory: 128Mi
|
||||
ingress:
|
||||
enabled: false
|
||||
|
|
|
@ -0,0 +1,17 @@
|
|||
{{- if .Values.ingress.enabled -}}
|
||||
apiVersion: extensions/v1beta1
|
||||
kind: Ingress
|
||||
metadata:
|
||||
name: {{ template "fullname" . }}
|
||||
labels:
|
||||
chart: "{{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}"
|
||||
spec:
|
||||
rules:
|
||||
- host: {{ .Release.Name }}.{{ .Values.basedomain }}
|
||||
http:
|
||||
paths:
|
||||
- path: /
|
||||
backend:
|
||||
serviceName: {{ template "fullname" . }}
|
||||
servicePort: {{ .Values.service.externalPort }}
|
||||
{{- end -}}
|
|
@ -18,3 +18,5 @@ resources:
|
|||
requests:
|
||||
cpu: 100m
|
||||
memory: 128Mi
|
||||
ingress:
|
||||
enabled: false
|
||||
|
|
Загрузка…
Ссылка в новой задаче