File tree 6 files changed +22
-11
lines changed
6 files changed +22
-11
lines changed Original file line number Diff line number Diff line change
1
+ {{- if .Values.kong.enable -}}
1
2
apiVersion : v1
2
3
kind : ConfigMap
3
4
metadata :
@@ -147,3 +148,4 @@ data:
147
148
allow:
148
149
- admin
149
150
{{- end }}
151
+ {{- end }}
Original file line number Diff line number Diff line change
1
+ {{- if .Values.kong.enable -}}
1
2
apiVersion : apps/v1
2
3
kind : Deployment
3
4
metadata :
70
71
items :
71
72
- key : kong.yml
72
73
path : kong.yml
74
+ {{- end }}
Original file line number Diff line number Diff line change
1
+ {{- if .Values.kong.enable -}}
1
2
{{- if .Values.kong.ingress.enabled -}}
2
3
{{- $fullName := include "supabase.kong.fullname" . -}}
3
4
{{- $svcPort := .Values.kong.service.port -}}
53
54
{{- end }}
54
55
{{- end }}
55
56
{{- end }}
57
+ {{- end }}
Original file line number Diff line number Diff line change
1
+ {{- if .Values.kong.enable -}}
1
2
apiVersion : v1
2
3
kind : Service
3
4
metadata :
13
14
name : http
14
15
selector :
15
16
{{- include "supabase.kong.selectorLabels" . | nindent 4 }}
17
+ {{- end }}
Original file line number Diff line number Diff line change 1
- {{- if .Values.kong.serviceAccount.create -}}
2
- apiVersion : v1
3
- kind : ServiceAccount
4
- metadata :
5
- name : {{ include "supabase.kong.serviceAccountName" . }}
6
- labels :
7
- {{- include "supabase.labels" . | nindent 4 }}
8
- {{- with .Values.kong.serviceAccount.annotations }}
9
- annotations :
10
- {{- toYaml . | nindent 4 }}
1
+ {{- if .Values.kong.enable -}}
2
+ {{- if .Values.kong.serviceAccount.create -}}
3
+ apiVersion : v1
4
+ kind : ServiceAccount
5
+ metadata :
6
+ name : {{ include "supabase.kong.serviceAccountName" . }}
7
+ labels :
8
+ {{- include "supabase.labels" . | nindent 4 }}
9
+ {{- with .Values.kong.serviceAccount.annotations }}
10
+ annotations :
11
+ {{- toYaml . | nindent 4 }}
12
+ {{- end }}
11
13
{{- end }}
12
- {{- end }}
14
+ {{- end }}
Original file line number Diff line number Diff line change @@ -518,6 +518,7 @@ storage:
518
518
affinity : {}
519
519
520
520
kong :
521
+ enable : true
521
522
replicaCount : 1
522
523
image :
523
524
repository : kong
You can’t perform that action at this time.
0 commit comments