diff --git a/stable/mssql-linux/Chart.yaml b/stable/mssql-linux/Chart.yaml index e7d9e363f0..ae8957cb3b 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.0 +version: 0.5.1 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 158a3cf069..bd1dc3b967 100644 --- a/stable/mssql-linux/README.md +++ b/stable/mssql-linux/README.md @@ -96,6 +96,7 @@ The configuration parameters in this section control the resources requested and | nodeSelector | Node labels for pod assignment | `{}` | | service.type | Service Type | `ClusterIP` | | service.port | Service Port | `1433` | +| service.annotations | Kubernetes service 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/service.yaml b/stable/mssql-linux/templates/service.yaml index 600b6a5768..1b9f4b1633 100644 --- a/stable/mssql-linux/templates/service.yaml +++ b/stable/mssql-linux/templates/service.yaml @@ -7,6 +7,10 @@ metadata: chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }} release: {{ .Release.Name }} heritage: {{ .Release.Service }} +{{- if .Values.service.annotations }} + annotations: +{{ toYaml .Values.service.annotations | indent 4 }} +{{- end }} spec: type: {{ .Values.service.type }} ports: diff --git a/stable/mssql-linux/values.yaml b/stable/mssql-linux/values.yaml index a28aa46be3..78daddf7e3 100644 --- a/stable/mssql-linux/values.yaml +++ b/stable/mssql-linux/values.yaml @@ -14,6 +14,7 @@ image: service: type: ClusterIP port: 1433 + annotations: {} persistence: enabled: true # existingDataClaim: