mirror of
https://github.com/helm/charts.git
synced 2026-08-20 12:57:55 +00:00
Allow for annotations to be added to deployment (#8478)
* Optional annotations for the deployments Signed-off-by: William Mowery <william@diamanti.com> * Modify readme to include new value Signed-off-by: William Mowery <william@diamanti.com> * Bumped version Signed-off-by: William Mowery <william@diamanti.com> * Upping version to 0.6.0 due to new feature Signed-off-by: William Mowery <william@diamanti.com>
This commit is contained in:
committed by
k8s-ci-robot
parent
3bc4e6c760
commit
cfad46930e
@@ -1,7 +1,7 @@
|
||||
apiVersion: v1
|
||||
description: SQL Server 2017 Linux Helm Chart
|
||||
name: mssql-linux
|
||||
version: 0.5.1
|
||||
version: 0.6.0
|
||||
appVersion: 14.0.3023.8
|
||||
home: https://hub.docker.com/r/microsoft/mssql-server-linux/
|
||||
icon: https://img-prod-cms-rt-microsoft-com.akamaized.net/cms/api/am/imageFileData/RE1I4Dx
|
||||
|
||||
@@ -97,6 +97,7 @@ The configuration parameters in this section control the resources requested and
|
||||
| service.type | Service Type | `ClusterIP` |
|
||||
| service.port | Service Port | `1433` |
|
||||
| service.annotations | Kubernetes service annotations | `{}` |
|
||||
| deployment.annotations | Kubernetes deployment annotations | `{}` |
|
||||
| collation | Default collation for SQL Server | `SQL_Latin1_General_CP1_CI_AS` |
|
||||
| lcid | Default languages for SQL Server | `1033` |
|
||||
| hadr | Enable Availability Group | `0` |
|
||||
|
||||
@@ -7,6 +7,10 @@ metadata:
|
||||
chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}
|
||||
release: {{ .Release.Name }}
|
||||
heritage: {{ .Release.Service }}
|
||||
{{- if .Values.deployment.annotations }}
|
||||
annotations:
|
||||
{{ toYaml .Values.deployment.annotations | indent 4 }}
|
||||
{{- end }}
|
||||
spec:
|
||||
replicas: {{ .Values.replicaCount }}
|
||||
selector:
|
||||
|
||||
@@ -15,6 +15,8 @@ service:
|
||||
type: ClusterIP
|
||||
port: 1433
|
||||
annotations: {}
|
||||
deployment:
|
||||
annotations: {}
|
||||
persistence:
|
||||
enabled: true
|
||||
# existingDataClaim:
|
||||
|
||||
Reference in New Issue
Block a user