Skip to content

Commit

Permalink
Merge pull request #24 from ovotech/add-service-annotations
Browse files Browse the repository at this point in the history
Add service annotations
  • Loading branch information
bootc authored Sep 6, 2020
2 parents 2427412 + 466d0f6 commit ee3f6a1
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
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 "netbox.fullname" . }}
labels:
{{ include "netbox.labels" . | indent 4 }}
{{- with .Values.service.annotations }}
annotations:
{{- toYaml . | nindent 4 }}
{{- end }}
spec:
type: {{ .Values.service.type }}
ports:
Expand Down
4 changes: 4 additions & 0 deletions values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -300,6 +300,10 @@ reportsPersistence:
size: 1Gi

service:
annotations: {}
# service.beta.kubernetes.io/aws-load-balancer-backend-protocol: http
# service.beta.kubernetes.io/aws-load-balancer-ssl-cert: <acm_cert_arn>
# service.beta.kubernetes.io/aws-load-balancer-ssl-ports: http
type: ClusterIP
port: 80
loadBalancerSourceRanges: []
Expand Down

0 comments on commit ee3f6a1

Please sign in to comment.