diff --git a/templates/gitea/http-svc.yaml b/templates/gitea/http-svc.yaml index ae9c065..54fd7a8 100644 --- a/templates/gitea/http-svc.yaml +++ b/templates/gitea/http-svc.yaml @@ -4,6 +4,8 @@ metadata: name: {{ include "gitea.fullname" . }}-http labels: {{- include "gitea.labels" . | nindent 4 }} + annotations: + {{- toYaml .Values.service.http.annotations | nindent 4 }} spec: type: {{ .Values.service.http.type }} {{- if and .Values.service.http.loadBalancerIP (eq .Values.service.http.type "LoadBalancer") }} diff --git a/values.yaml b/values.yaml index 22a41cf..2c47618 100644 --- a/values.yaml +++ b/values.yaml @@ -17,6 +17,7 @@ service: http: type: ClusterIP port: 3000 + annotations: ssh: type: ClusterIP port: 22