aboutsummaryrefslogtreecommitdiff
path: root/script/helm/garage/templates/ingress.yaml
diff options
context:
space:
mode:
authorPatrick Jahns <kontakt@patrickjahns.de>2022-11-16 12:21:18 +0100
committerGitea <gitea@fake.local>2022-12-11 23:11:56 +0000
commitedb0b9c1ee30a595833fd0bf46b42b3bb165b299 (patch)
tree0e9280512fe2b95d02cc99a1d82a4e0d7e2465c7 /script/helm/garage/templates/ingress.yaml
parentf58a813a36de7b356d72ba1e6f2f991da5491285 (diff)
downloadgarage-edb0b9c1ee30a595833fd0bf46b42b3bb165b299.tar.gz
garage-edb0b9c1ee30a595833fd0bf46b42b3bb165b299.zip
feat(helm): allow to add custom labels to created ingress resources
Diffstat (limited to 'script/helm/garage/templates/ingress.yaml')
-rw-r--r--script/helm/garage/templates/ingress.yaml6
1 files changed, 6 insertions, 0 deletions
diff --git a/script/helm/garage/templates/ingress.yaml b/script/helm/garage/templates/ingress.yaml
index c4ee5a3f..35225daa 100644
--- a/script/helm/garage/templates/ingress.yaml
+++ b/script/helm/garage/templates/ingress.yaml
@@ -18,6 +18,9 @@ metadata:
name: {{ $fullName }}-s3-api
labels:
{{- include "garage.labels" . | nindent 4 }}
+ {{- with .Values.ingress.s3.api.labels }}
+ {{- toYaml . | nindent 4 }}
+ {{- end }}
{{- with .Values.ingress.s3.api.annotations }}
annotations:
{{- toYaml . | nindent 4 }}
@@ -80,6 +83,9 @@ metadata:
name: {{ $fullName }}-s3-web
labels:
{{- include "garage.labels" . | nindent 4 }}
+ {{- with .Values.ingress.s3.web.labels }}
+ {{- toYaml . | nindent 4 }}
+ {{- end }}
{{- with .Values.ingress.s3.web.annotations }}
annotations:
{{- toYaml . | nindent 4 }}