FEATURE: helm add deployment annotation

This commit is contained in:
chechia 2023-06-27 17:24:33 +08:00
parent f2427ef803
commit 680f6a65a4
No known key found for this signature in database
GPG Key ID: BF5216A9961E11A6
3 changed files with 7 additions and 1 deletions

View File

@ -15,7 +15,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.3.3
version: 0.3.4
# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to

View File

@ -2,6 +2,10 @@ apiVersion: apps/v1
kind: Deployment
metadata:
name: {{ include "bbgo.fullname" . }}
{{- with .Values.deploymentAnnotations }}
annotations:
{{- toYaml . | nindent 4 }}
{{- end }}
labels:
{{- include "bbgo.labels" . | nindent 4 }}
spec:

View File

@ -39,6 +39,8 @@ serviceAccount:
additionalLabels: {}
deploymentAnnotations: {}
podAnnotations: {}
podSecurityContext: {}