Skip to content

Commit

Permalink
feat: add annotations on service (#30)
Browse files Browse the repository at this point in the history
  • Loading branch information
braghettos authored Aug 28, 2024
1 parent 309cc9a commit fcf10ba
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 "backend.fullname" . }}
labels:
{{- include "backend.labels" . | nindent 4 }}
annotations:
{{- with .Values.service.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 @@ -40,6 +40,7 @@ securityContext: {}
# runAsUser: 1000

service:
annotations: {}
type: ClusterIP
port: 8443

Expand Down

0 comments on commit fcf10ba

Please sign in to comment.