Skip to content

Commit

Permalink
Add configurable annotations to service (#241)
Browse files Browse the repository at this point in the history
Co-authored-by: Danny Pas <[email protected]>
  • Loading branch information
dannypas00 and Danny Pas authored May 23, 2024
1 parent df3b56a commit 2846c1f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions chart/templates/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ metadata:
name: {{ include "kube-httpcache.fullname" . }}
labels:
{{- include "kube-httpcache.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 chart/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,7 @@ service:
type: ClusterIP
port: 80
target: 8080
# annotations: {}

ingress:
enabled: false
Expand Down

0 comments on commit 2846c1f

Please sign in to comment.