add annotations

This commit is contained in:
root
2022-01-04 19:47:35 +00:00
parent dc3e82364d
commit 4ff7a90cb1
2 changed files with 6 additions and 1 deletions

View File

@@ -33,4 +33,4 @@ name: databunker
sources: sources:
- https://github.com/securitybunker/databunker - https://github.com/securitybunker/databunker
- https://databunker.org/ - https://databunker.org/
version: 1.0.12 version: 1.0.15

View File

@@ -9,6 +9,11 @@ metadata:
{{- end }} {{- end }}
{{- if .Values.commonAnnotations }} {{- if .Values.commonAnnotations }}
annotations: {{- include "common.tplvalues.render" ( dict "value" .Values.commonAnnotations "context" $ ) | nindent 4 }} annotations: {{- include "common.tplvalues.render" ( dict "value" .Values.commonAnnotations "context" $ ) | nindent 4 }}
{{- else }}
annotations:
service.beta.kubernetes.io/aws-load-balancer-name: "databunker-lb"
service.beta.kubernetes.io/aws-load-balancer-backend-protocol: "HTTPS"
service.beta.kubernetes.io/aws-load-balancer-healthcheck-path: "/status"
{{- end }} {{- end }}
spec: spec:
type: {{ .Values.service.type }} type: {{ .Values.service.type }}