feat: Comments section is added
This commit is contained in:
@ -2,7 +2,7 @@
|
||||
apiVersion: networking.istio.io/v1beta1
|
||||
kind: VirtualService
|
||||
metadata:
|
||||
name: blog-virtual-service
|
||||
name: {{ include "badhouseplants-net.fullname" . }}
|
||||
labels:
|
||||
{{- include "badhouseplants-net.labels" . | nindent 4 }}
|
||||
{{- with .Values.istio.annotations }}
|
||||
@ -26,3 +26,32 @@ spec:
|
||||
port:
|
||||
number: {{ .Values.service.port }}
|
||||
{{- end }}
|
||||
---
|
||||
{{- if .Values.remark42.istio.enabled -}}
|
||||
apiVersion: networking.istio.io/v1beta1
|
||||
kind: VirtualService
|
||||
metadata:
|
||||
name: {{ include "remark42.fullname" . }}-remark42
|
||||
labels:
|
||||
{{- include "badhouseplants-net.labels" . | nindent 4 }}
|
||||
{{- with .Values.remark42.istio.annotations }}
|
||||
annotations:
|
||||
{{- toYaml . | nindent 4 }}
|
||||
{{- end }}
|
||||
spec:
|
||||
gateways:
|
||||
- istio-system/badhouseplants-net
|
||||
hosts:
|
||||
{{- range .Values.remark42.istio.hosts}}
|
||||
- {{ . }}
|
||||
{{- end }}
|
||||
http:
|
||||
- match:
|
||||
- uri:
|
||||
prefix: {{ .Values.remark42.istio.prefix }}
|
||||
route:
|
||||
- destination:
|
||||
host: {{ .Release.Name }}-remark42
|
||||
port:
|
||||
number: {{ .Values.remark42.service.port }}
|
||||
{{- end }}
|
||||
|
Reference in New Issue
Block a user