fix: add annotations for service and serviceAccount
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Markus Pesch 2022-04-19 11:51:34 +02:00
parent c336536512
commit fc2dd72561
Signed by: volker.raschek
GPG Key ID: 852BCC170D81A982
3 changed files with 15 additions and 1 deletions

View File

@ -1,9 +1,13 @@
apiVersion: v1
kind: Service
metadata:
name: {{ include "drone.fullname" . }}
{{- with .Values.service.annotations }}
annotations:
{{- toYaml . | nindent 4 }}
{{- end }}
labels:
{{- include "drone.labels" . | nindent 4 }}
name: {{ include "drone.fullname" . }}
spec:
type: {{ .Values.service.type }}
ports:

View File

@ -1,4 +1,10 @@
apiVersion: v1
kind: ServiceAccount
metadata:
{{- with .Values.serviceAccount.annotations }}
annotations:
{{- toYaml . | nindent 4 }}
{{- end }}
labels:
{{- include "drone.labels" . | nindent 4 }}
name: {{ include "drone.fullname" . }}

View File

@ -522,7 +522,11 @@ config: {}
# https://docs.drone.io/server/reference/drone-webhook-skip-verify/
# DRONE_WEBHOOK_SKIP_VERIFY: ""
serviceAccount:
annotations: {}
service:
annotations: {}
type: ClusterIP
port: 80