mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
[stable/mssql-linux] Add service annotations (#7311)
Add the ability to set annotations on the service this chart creates.
This commit is contained in:
committed by
k8s-ci-robot
parent
bd0464647c
commit
c46c81ca44
@@ -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
|
||||
|
||||
@@ -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` |
|
||||
|
||||
@@ -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:
|
||||
|
||||
@@ -14,6 +14,7 @@ image:
|
||||
service:
|
||||
type: ClusterIP
|
||||
port: 1433
|
||||
annotations: {}
|
||||
persistence:
|
||||
enabled: true
|
||||
# existingDataClaim:
|
||||
|
||||
Reference in New Issue
Block a user