J release changes
[ric-plt/ric-dep.git] / helm / infrastructure / subcharts / kong / templates / NOTES.txt
1 To connect to Kong, please execute the following commands:
2 {{ if contains "LoadBalancer" .Values.proxy.type }}
3 HOST=$(kubectl get svc --namespace {{ template "kong.namespace" . }} {{ template "kong.fullname" . }}-proxy -o jsonpath='{.status.loadBalancer.ingress[0].ip}')
4 PORT=$(kubectl get svc --namespace {{ template "kong.namespace" . }} {{ template "kong.fullname" . }}-proxy -o jsonpath='{.spec.ports[0].port}')
5 {{ else if contains "NodePort" .Values.proxy.type }}HOST=$(kubectl get nodes --namespace {{ template "kong.namespace" . }} -o jsonpath='{.items[0].status.addresses[0].address}')
6 PORT=$(kubectl get svc --namespace {{ template "kong.namespace" . }} {{ template "kong.fullname" . }}-proxy -o jsonpath='{.spec.ports[0].nodePort}')
7 {{ end -}}
8 export PROXY_IP=${HOST}:${PORT}
9 curl $PROXY_IP
10
11 Once installed, please follow along the getting started guide to start using
12 Kong: https://docs.konghq.com/kubernetes-ingress-controller/latest/guides/getting-started/
13
14 {{ $warnings := list -}}
15
16 {{- if (hasKey .Values.ingressController "serviceAccount") -}}
17 {{- if (or (hasKey .Values.ingressController.serviceAccount "name") (hasKey .Values.ingressController.serviceAccount "annotations")) -}}
18 {{- $warnings = append $warnings "you have set either .ingressController.serviceAccount.name or .ingressController.serviceAccount.annotations. These settings have moved to .deployment.serviceAccount.name and .deployment.serviceAccount.annotations. You must move your configuration to the new location in values.yaml" -}}
19 {{- end -}}
20 {{- end -}}
21
22 {{- if and .Values.manager.enabled (or .Values.manager.http.enabled .Values.manager.tls.enabled) -}}
23 {{- if not (and .Values.admin.enabled (or .Values.admin.http.enabled .Values.admin.tls.enabled)) -}}
24 {{- $warnings = append $warnings "Kong Manager will not be functional because the Admin API is not enabled. Setting both .admin.enabled and .admin.http.enabled and/or .admin.tls.enabled to true to enable the Admin API over HTTP/TLS." -}}
25 {{- end -}}
26 {{- end -}}
27
28 {{- include "kong.deprecation-warnings" $warnings -}}
29
30 {{- if .Values.demo -}}
31
32 #############################################################################################
33 ##### WARNING: DEMO VALUES USED
34 #############################################################################################
35
36 The values file used has been marked as a demo configuration.
37 It should NOT be used in production without comprehensive review of all settings provided.
38
39 #############################################################################################
40 ##### WARNING: DEMO VALUES USED
41 #############################################################################################
42 {{- end -}}