Fix it!
This commit is contained in:
parent
5db059bb28
commit
802ec6ef13
1 changed files with 10 additions and 10 deletions
|
@ -3,14 +3,14 @@
|
||||||
apiVersion: cert-manager.io/v1
|
apiVersion: cert-manager.io/v1
|
||||||
kind: Certificate
|
kind: Certificate
|
||||||
metadata:
|
metadata:
|
||||||
name: {{ .Values.name }}-cert
|
name: {{ .Values.istio.name }}-cert
|
||||||
namespace: istio-system
|
namespace: istio-system
|
||||||
spec:
|
spec:
|
||||||
secretName: {{ .Values.name }}-cert
|
secretName: {{ .Values.istio.name }}-cert
|
||||||
commonName: {{ .Values.istio.commonName }}
|
commonName: {{ .Values.istio.commonName }}
|
||||||
dnsNames:
|
dnsNames:
|
||||||
- {{ .Values.istio.commonName }}
|
- {{ .Values.istio.commonName }}
|
||||||
{{- range .Values.sans }}
|
{{- range .Values.istio.sans }}
|
||||||
- {{ . }}
|
- {{ . }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
issuerRef:
|
issuerRef:
|
||||||
|
@ -22,8 +22,8 @@ spec:
|
||||||
apiVersion: networking.istio.io/v1beta1
|
apiVersion: networking.istio.io/v1beta1
|
||||||
kind: Gateway
|
kind: Gateway
|
||||||
metadata:
|
metadata:
|
||||||
name: {{ .Values.name }}-gateway
|
name: {{ .Values.istio.name }}-gateway
|
||||||
namespace: {{ .Values.namespace }}
|
namespace: {{ .Values.istio.namespace }}
|
||||||
spec:
|
spec:
|
||||||
selector:
|
selector:
|
||||||
istio: {{ .Values.istio.ingressSelector }}
|
istio: {{ .Values.istio.ingressSelector }}
|
||||||
|
@ -34,7 +34,7 @@ spec:
|
||||||
protocol: HTTPS
|
protocol: HTTPS
|
||||||
tls:
|
tls:
|
||||||
mode: SIMPLE
|
mode: SIMPLE
|
||||||
credentialName: {{ .Values.name }}-cert
|
credentialName: {{ .Values.istio.name }}-cert
|
||||||
hosts:
|
hosts:
|
||||||
- {{ .Values.istio.commonName }}
|
- {{ .Values.istio.commonName }}
|
||||||
...
|
...
|
||||||
|
@ -42,13 +42,13 @@ spec:
|
||||||
apiVersion: networking.istio.io/v1beta1
|
apiVersion: networking.istio.io/v1beta1
|
||||||
kind: VirtualService
|
kind: VirtualService
|
||||||
metadata:
|
metadata:
|
||||||
name: {{ .Values.name }}-gateway
|
name: {{ .Values.istio.name }}-gateway
|
||||||
namespace: {{ .Values.namespace }}
|
namespace: {{ .Values.istio.namespace }}
|
||||||
spec:
|
spec:
|
||||||
hosts:
|
hosts:
|
||||||
- {{ .Values.istio.commonName }}
|
- {{ .Values.istio.commonName }}
|
||||||
gateways:
|
gateways:
|
||||||
- {{ .Values.name }}-gateway
|
- {{ .Values.istio.name }}-gateway
|
||||||
http:
|
http:
|
||||||
- match:
|
- match:
|
||||||
- uri:
|
- uri:
|
||||||
|
@ -57,6 +57,6 @@ spec:
|
||||||
- destination:
|
- destination:
|
||||||
port:
|
port:
|
||||||
number: {{ .Values.istio.port }}
|
number: {{ .Values.istio.port }}
|
||||||
host: {{ .Values.name }}
|
host: {{ .Values.istio.name }}
|
||||||
...
|
...
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
Loading…
Reference in a new issue