Start using ingress instead of virtual service
This commit is contained in:
@ -2,10 +2,10 @@ apiVersion: v2
|
||||
name: badhouseplants-net
|
||||
description: A Helm chart for Kubernetes
|
||||
type: application
|
||||
version: 0.8.6
|
||||
version: 0.9.0
|
||||
appVersion: "4.20.0"
|
||||
dependencies:
|
||||
- name: remark42
|
||||
version: 0.5.5
|
||||
version: 0.7.0
|
||||
repository: https://groundhog2k.github.io/helm-charts/
|
||||
condition: remark42.enabled
|
||||
|
@ -1,57 +0,0 @@
|
||||
{{- if .Values.istio.enabled -}}
|
||||
apiVersion: networking.istio.io/v1beta1
|
||||
kind: VirtualService
|
||||
metadata:
|
||||
name: {{ include "badhouseplants-net.fullname" . }}
|
||||
labels:
|
||||
{{- include "badhouseplants-net.labels" . | nindent 4 }}
|
||||
{{- with .Values.istio.annotations }}
|
||||
annotations:
|
||||
{{- toYaml . | nindent 4 }}
|
||||
{{- end }}
|
||||
spec:
|
||||
gateways:
|
||||
- istio-system/badhouseplants-net
|
||||
hosts:
|
||||
{{- range .Values.istio.hosts}}
|
||||
- {{ . }}
|
||||
{{- end }}
|
||||
http:
|
||||
- match:
|
||||
- uri:
|
||||
prefix: {{ .Values.istio.prefix }}
|
||||
route:
|
||||
- destination:
|
||||
host: {{ include "badhouseplants-net.fullname" . }}
|
||||
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 }}
|
@ -39,14 +39,6 @@ hugo:
|
||||
env:
|
||||
HUGO_PARAMS_GITBRANCH: main
|
||||
|
||||
istio:
|
||||
annotations: {}
|
||||
enabled: true
|
||||
hosts:
|
||||
- badhouseplants.net
|
||||
- www.badhouseplants.net
|
||||
prefix: /
|
||||
|
||||
volumes:
|
||||
# ----------------------------------------------
|
||||
# -- An emptydir volume where hugo should
|
||||
|
Reference in New Issue
Block a user