diff --git a/stable/mssql-linux/Chart.yaml b/stable/mssql-linux/Chart.yaml index ae8957cb3b..eae7776849 100644 --- a/stable/mssql-linux/Chart.yaml +++ b/stable/mssql-linux/Chart.yaml @@ -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 diff --git a/stable/mssql-linux/README.md b/stable/mssql-linux/README.md index bd1dc3b967..5b87b4488d 100644 --- a/stable/mssql-linux/README.md +++ b/stable/mssql-linux/README.md @@ -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` | diff --git a/stable/mssql-linux/templates/deployment.yaml b/stable/mssql-linux/templates/deployment.yaml index 64a704330c..22fc6451dd 100644 --- a/stable/mssql-linux/templates/deployment.yaml +++ b/stable/mssql-linux/templates/deployment.yaml @@ -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: diff --git a/stable/mssql-linux/values.yaml b/stable/mssql-linux/values.yaml index 78daddf7e3..b321f36fdf 100644 --- a/stable/mssql-linux/values.yaml +++ b/stable/mssql-linux/values.yaml @@ -15,6 +15,8 @@ service: type: ClusterIP port: 1433 annotations: {} +deployment: + annotations: {} persistence: enabled: true # existingDataClaim: