diff --git a/README.md b/README.md index 787e262..c2c2b7e 100644 --- a/README.md +++ b/README.md @@ -189,6 +189,7 @@ securityContext: { } service: type: ClusterIP port: 80 + annotations: {} ingress: enabled: false diff --git a/templates/service.yaml b/templates/service.yaml index 0151b7d..e57089e 100644 --- a/templates/service.yaml +++ b/templates/service.yaml @@ -4,6 +4,10 @@ metadata: name: {{ include "n8n.fullname" . }} labels: {{- include "n8n.labels" . | nindent 4 }} + {{- with .Values.service.annotations }} + annotations: + {{- toYaml . | nindent 4 }} + {{- end }} spec: type: {{ .Values.service.type }} ports: diff --git a/values.yaml b/values.yaml index 7488dd6..2947915 100644 --- a/values.yaml +++ b/values.yaml @@ -171,6 +171,7 @@ securityContext: service: type: ClusterIP port: 80 + annotations: {} ingress: enabled: false