Skip to content

Commit

Permalink
Merge pull request 8gears#17 from KirioXX/master
Browse files Browse the repository at this point in the history
Allow adding annotations to service
  • Loading branch information
Vad1mo committed Aug 20, 2021
2 parents 03cff1c + 479d98d commit 9226f41
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,7 @@ securityContext: { }
service:
type: ClusterIP
port: 80
annotations: {}

ingress:
enabled: false
Expand Down
4 changes: 4 additions & 0 deletions templates/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
1 change: 1 addition & 0 deletions values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,7 @@ securityContext:
service:
type: ClusterIP
port: 80
annotations: {}

ingress:
enabled: false
Expand Down

0 comments on commit 9226f41

Please sign in to comment.