diff --git a/charts/supabase/Chart.yaml b/charts/supabase/Chart.yaml index b0bae58..b872140 100644 --- a/charts/supabase/Chart.yaml +++ b/charts/supabase/Chart.yaml @@ -15,7 +15,7 @@ type: application # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 0.1.2 +version: 0.1.4 # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. Versions are not expected to diff --git a/charts/supabase/templates/kong/service.yaml b/charts/supabase/templates/kong/service.yaml index a4e6c14..0afee1e 100644 --- a/charts/supabase/templates/kong/service.yaml +++ b/charts/supabase/templates/kong/service.yaml @@ -5,6 +5,10 @@ metadata: name: {{ include "supabase.kong.fullname" . }} labels: {{- include "supabase.labels" . | nindent 4 }} + {{- with .Values.kong.service.annotations }} + annotations: + {{- toYaml . | nindent 4 }} + {{- end }} spec: type: {{ .Values.kong.service.type }} ports: @@ -14,4 +18,4 @@ spec: name: http selector: {{- include "supabase.kong.selectorLabels" . | nindent 4 }} -{{- end }} \ No newline at end of file +{{- end }} diff --git a/charts/supabase/values.yaml b/charts/supabase/values.yaml index 62dbe13..92ff918 100644 --- a/charts/supabase/values.yaml +++ b/charts/supabase/values.yaml @@ -786,6 +786,10 @@ kong: service: type: ClusterIP port: 8000 + # Annotations to add to the service + annotations: { + # service.beta.kubernetes.io/azure-pip-name: kong-static-ip-name + } environment: KONG_DATABASE: "off" KONG_DECLARATIVE_CONFIG: /usr/local/kong/kong.yml