This commit is contained in:
jamesongithub@users.noreply.github.com 2022-05-05 20:32:56 -07:00
Родитель 120824e490
Коммит f5452312e1
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 84C159EEAE8BE65D
5 изменённых файлов: 25 добавлений и 24 удалений

Просмотреть файл

@ -1,6 +1,6 @@
questions:
- variable: mssql.conf.eula.accepteula
label: mssql.conf.eula.accepteula
label: Accept the SQL Server EULA
# no current support for html
# description: Accepts the SQL Server <a href="http://go.microsoft.com/fwlink/?LinkId=746388">EULA</a> (any value confirms acceptance).
description: Accepts the SQL Server EULA (any value confirms acceptance). The EULA is posted @ http://go.microsoft.com/fwlink/?LinkId=746388
@ -14,7 +14,7 @@ questions:
default: false
group: SQL Server options
- variable: mssql.pid
- variable: "mssql.pid"
label: SQL Server Edition aka. MSSQL_PID
description: Select a SQL Server Edition
type: enum
@ -29,7 +29,7 @@ questions:
show_if: USE_PRODUCT_KEY=false
group: SQL Server options
- variable: mssql.pid
- variable: "mssql.pid"
label: SQL Server License Key
description: Enter a Product Key of the format "#####-#####-#####-#####-#####"
required: true
@ -47,7 +47,7 @@ questions:
required: true
group: SQL Server options
- variable: mssql.conf.sqlagent.enabled
- variable: "mssql.conf.sqlagent.enabled"
label: Enable SQL Server Agent
description: Enables the SQL Server Agent
type: boolean

Просмотреть файл

@ -40,6 +40,7 @@ helm.sh/chart: {{ include "sql-server-rancher.chart" . }}
app.kubernetes.io/version: {{ .Chart.AppVersion | quote }}
{{- end }}
app.kubernetes.io/managed-by: {{ .Release.Service }}
app.kubernetes.io/deploy-datetime: {{ now | date "2006-01-02T15-04-05-0700" }}
{{- end }}
{{/*

Просмотреть файл

@ -5,8 +5,8 @@ metadata:
data:
mssql.conf: |
[EULA]
accepteula = {{ ".Values.mssql.conf.eula.accepteula" }}
accepteulaml = {{ ".Values.mssql.conf.eula.accepteulaml" }}
accepteula = {{ index .Values "mssql.conf.eula.accepteula" }}
accepteulaml = {{ index .Values "mssql.conf.eula.accepteulaml" }}
[coredump]
captureminiandfull = true
@ -19,7 +19,7 @@ data:
lcid = 1033
[sqlagent]
enabled = {{ ".Values.mssql.conf.sqlagent.enabled" }}
enabled = {{ index .Values "mssql.conf.sqlagent.enabled" }}
# control.alternatewritethrough Enable optimized write through flush for O_DSYNC requests
# control.hestacksize Host extension stack size in KB

Просмотреть файл

@ -34,7 +34,7 @@ spec:
env:
# prefer mssql-config over env vars
- name: MSSQL_PID
value: {{ ".Values.mssql.pid" }}
value: {{ index .Values "mssql.pid" }}
- name: MSSQL_SA_PASSWORD
valueFrom:
secretKeyRef:

Просмотреть файл

@ -1,17 +1,17 @@
kind: StorageClass
apiVersion: storage.k8s.io/v1
metadata:
name: custom-managed-premium
provisioner: disk.csi.azure.com
parameters:
storageAccountType: Standard_LRS
kind: managed
# kind: StorageClass
# apiVersion: storage.k8s.io/v1
# metadata:
# name: custom-managed-premium
# provisioner: disk.csi.azure.com
# parameters:
# storageAccountType: Standard_LRS
# kind: managed
kind: StorageClass
apiVersion: storage.k8s.io/v1
metadata:
name: custom-managed-standard
provisioner: disk.csi.azure.com
parameters:
storageAccountType: Premium_LRS
kind: managed
# kind: StorageClass
# apiVersion: storage.k8s.io/v1
# metadata:
# name: custom-managed-standard
# provisioner: disk.csi.azure.com
# parameters:
# storageAccountType: Premium_LRS
# kind: managed