You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tika.apache.org by le...@apache.org on 2024/05/08 22:41:56 UTC

(tika-helm) branch main updated: Add support for service annotations (#20)

This is an automated email from the ASF dual-hosted git repository.

lewismc pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tika-helm.git


The following commit(s) were added to refs/heads/main by this push:
     new 5df056c  Add support for service annotations (#20)
5df056c is described below

commit 5df056ccb53726875dd92b497d6b18ca94be01f2
Author: aidanthewiz <99...@users.noreply.github.com>
AuthorDate: Wed May 8 18:41:52 2024 -0400

    Add support for service annotations (#20)
    
    This update allows users to specify custom annotations using the Helm values file. This is useful for configuring cloud-specific features like internal load balancers on AWS.
---
 templates/service.yaml | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/templates/service.yaml b/templates/service.yaml
index d99b4b2..cc3e253 100644
--- a/templates/service.yaml
+++ b/templates/service.yaml
@@ -22,6 +22,10 @@ metadata:
   name: {{ include "tika-helm.fullname" . }}
   labels:
     {{- include "tika-helm.labels" . | nindent 4 }}
+  annotations:
+    {{- with .Values.service.annotations }}
+      {{- toYaml . | nindent 4 }}
+      {{- end }}
 spec:
   type: {{ .Values.service.type }}
   ports: