Skip to content
This repository was archived by the owner on Aug 20, 2025. It is now read-only.

Commit d850435

Browse files
committed
chore(django-app): add annotation on api ingress
1 parent 5696177 commit d850435

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

toggle/django-app/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ apiVersion: v2
22
name: django-app
33
description: "Helm Chart to deploy the Django application"
44
type: application
5-
version: 0.1.1
5+
version: 0.1.2
66
sources:
77
- https://github.com/toggle-corp/charts
88

toggle/django-app/templates/api/ingress.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,12 @@ metadata:
99
component: api
1010
environment: {{ .Values.environment }}
1111
release: {{ .Release.Name }}
12+
{{- with .Values.ingress.labels }}
13+
{{- toYaml . | nindent 4 }}
14+
{{- end }}
15+
{{- with .Values.ingress.annotations }}
16+
annotations: {{- toYaml . | nindent 4 }}
17+
{{- end }}
1218
spec:
1319
ingressClassName: {{ required "ingress.className" .Values.ingress.className | quote }}
1420
rules:

0 commit comments

Comments
 (0)