fix: add annotations for service and serviceAccount
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
c336536512
commit
fc2dd72561
@ -1,9 +1,13 @@
|
|||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
kind: Service
|
kind: Service
|
||||||
metadata:
|
metadata:
|
||||||
name: {{ include "drone.fullname" . }}
|
{{- with .Values.service.annotations }}
|
||||||
|
annotations:
|
||||||
|
{{- toYaml . | nindent 4 }}
|
||||||
|
{{- end }}
|
||||||
labels:
|
labels:
|
||||||
{{- include "drone.labels" . | nindent 4 }}
|
{{- include "drone.labels" . | nindent 4 }}
|
||||||
|
name: {{ include "drone.fullname" . }}
|
||||||
spec:
|
spec:
|
||||||
type: {{ .Values.service.type }}
|
type: {{ .Values.service.type }}
|
||||||
ports:
|
ports:
|
||||||
|
@ -1,4 +1,10 @@
|
|||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
kind: ServiceAccount
|
kind: ServiceAccount
|
||||||
metadata:
|
metadata:
|
||||||
|
{{- with .Values.serviceAccount.annotations }}
|
||||||
|
annotations:
|
||||||
|
{{- toYaml . | nindent 4 }}
|
||||||
|
{{- end }}
|
||||||
|
labels:
|
||||||
|
{{- include "drone.labels" . | nindent 4 }}
|
||||||
name: {{ include "drone.fullname" . }}
|
name: {{ include "drone.fullname" . }}
|
@ -522,7 +522,11 @@ config: {}
|
|||||||
# https://docs.drone.io/server/reference/drone-webhook-skip-verify/
|
# https://docs.drone.io/server/reference/drone-webhook-skip-verify/
|
||||||
# DRONE_WEBHOOK_SKIP_VERIFY: ""
|
# DRONE_WEBHOOK_SKIP_VERIFY: ""
|
||||||
|
|
||||||
|
serviceAccount:
|
||||||
|
annotations: {}
|
||||||
|
|
||||||
service:
|
service:
|
||||||
|
annotations: {}
|
||||||
type: ClusterIP
|
type: ClusterIP
|
||||||
port: 80
|
port: 80
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user