helmfile.yaml.save
3.03 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
bases:
- ../common/environments.yaml
---
epositories:
- name: istio
url: https://istio-release.storage.googleapis.com/charts
releases:
- name: istio-gateway-{{ .Values.name }}
namespace: istio-system
chart: istio/gateway
version: {{ $.Values.version.istio }}
disableValidationOnInstall: true
# dependencies:
# {{- range $gateway_index, $gateway := .Values.gateway }}
# - chart: charts/gateway
# alias: gateway-{{ $gateway.name }}
# {{- end }}
values:
- name: istio-gateway-{{ .Values.name }}
nameSuffix: -{{ .Values.name }}
#
#
# strategicMergePatches:
# - apiVersion: apps/v1
# kind: Deployment
# metadata:
# name: istio-gateway-{{ .Values.name }}
# namespace: {{ .Values.namespace }}
#
# - apiVersion: networking.istio.io/v1beta1
# kind: Gateway
# metadata:
# name: istio-gateway-{{ .Values.name }}
# namespace: {{ .Values.namespace }}
# spec:
# selector: {{ .Values.selector | toYaml | nindent 12 }}
# servers:
# {{- if .Values.http.hosts }}
# - port:
# name: http
# number: 80
# protocol: HTTP
# hosts: {{ .Values.http.hosts | toYaml | nindent 16 }}
# {{- end }}
# {{- if .Values.tls.hosts }}
# - port:
# name: https
# number: 443
# protocol: HTTPS
# hosts: {{ .Values.http.hosts | toYaml | nindent 16 }}
# tls:
# credentialName: istio-gateway-cert-{{ .Values.name }}
# mode: {{ .Values.tls.mode | quote }}
# {{- end }}
# - apiVersion: cert-manager.io/v1
# kind: Certificate
# metadata:
# name: istio-gateway-basecert-{{ .Values.name }}
# namespace: {{ .Values.namespace }}
# {{- if .Values.tls.hosts }}
# spec:
# secretName: istio-gateway-basecert-{{ .Values.name }}
# dnsNames: {{ .Values.tls.hosts | toYaml | nindent 12 }}
# issuerRef: {{ .Values.tls.issuerRef | toYaml | nindent 12 }}
# {{ else }}
# $patch: delete
# {{- end }}
# - apiVersion: cert-manager.io/v1
# kind: Certificate
# metadata:
# name: istio-gateway-wildcardcert-{{ .Values.name }}
# namespace: {{ .Values.namespace }}
# {{- if .Values.tls.hosts }}
# spec:
# secretName: istio-gateway-basecert-{{ .Values.name }}
# dnsNames: {{ .Values.tls.hosts | toYaml | nindent 12 }}
# issuerRef: {{ .Values.tls.issuerRef | toYaml | nindent 12 }}
# {{ else }}
# $patch: delete
# {{- end }}
#
#
#namespace: default
#name: default
#selector: {}
#tls:
# hosts:
# - "*"
# issuerRef:
# name: ca-issuer
# # We can reference ClusterIssuers by changing the kind here.
# # The default value is Issuer (i.e. a locally namespaced Issuer)
# kind: ClusterIssuer
# group: cert-manager.io
# mode: SIMPLE
#http:
# hosts:
# - "*"
#