Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions linux/rancher/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
jy-sql.yaml
2 changes: 1 addition & 1 deletion linux/rancher/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.0.1
version: 0.0.2

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
Expand Down
112 changes: 84 additions & 28 deletions linux/rancher/questions.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
questions:
- variable: ACCEPT_EULA
label: ACCEPT_EULA
- variable: 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
required: true
default: true
group: SQL Server options

- variable: USE_PRODUCT_KEY
Expand All @@ -14,7 +15,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
Expand All @@ -25,18 +26,19 @@ questions:
- Web
- Standard
- Enterprise
required: true
required: true
default: Developer
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
show_if: USE_PRODUCT_KEY=true
group: SQL Server options

- variable: MSSQL_SA_PASSWORD
- variable: mssql.sa.password
label: MSSQL SA user password
description: Sets the SA user password. Password requirements @ https://docs.microsoft.com/en-us/sql/relational-databases/security/password-policy?view=sql-server-ver15#password-complexity
type: password
Expand All @@ -47,10 +49,16 @@ questions:
required: true
group: SQL Server options

- variable: MSSQL_AGENT_ENABLED
- variable: mssql.conf.lcid
label: SQL Server Locale
description: Sets SQL Server Locale
group: SQL Server options

- variable: mssql.conf.sqlagent.enabled
label: Enable SQL Server Agent
description: Enables the SQL Server Agent
type: boolean
default: true
group: SQL Server options

- variable: defaultContainerImage
Expand All @@ -60,44 +68,92 @@ questions:
show_subquestion_if: false
group: Container Image Options
subquestions:
- variable: image.repository
default: mcr.microsoft.com/mssql/server
- variable: statefulset.template.spec.containers.sqlServer.image.repository
description: Image Repository
label: Image Repository
- variable: image.pullPolicy
default: IfNotPresent
- variable: statefulset.template.spec.containers.sqlServer.image.pullPolicy
label: Image Pull Policy
type: enum
options:
- IfNotPresent
- Always
- Never
- variable: image.tag
default: 2019-latest
- variable: statefulset.template.spec.containers.sqlServer.image.tag
label: Image Tag

- variable: replicas
description: Replicas of the SQL Server StatefulSet
label: Replicas
type: int
group: Kubernetes StatefulSet options

- variable: podSecurityContext.fsGroup
- variable: statefulset.template.spec.securityContext.fsGroup
description: |
Specifies a supplementary group id for all processes of the container.
Specifies a supplementary group id for all pod processes
See https://kubernetes.io/docs/tasks/configure-pod-container/security-context for
additional details.
label: podSecurityContext.fsGroup
group: Kubernetes Pod options
label: statefulset.template.spec.securityContext.fsGroup
group: Kubernetes Statefulset options

- variable: containers.ports.containerPort
- variable: statefulset.template.spec.containers.sqlServer.ports.databaseEngineContainerPort
description: >
Specifies containerPort for SQL Server
label: SQL Server Container Port
group: Kubernetes Pod Options
Specifies containerPort for SQL Server Database Engine
label: SQL Server Database Engine Container Port
group: Kubernetes Statefulset Options

- variable: service.port
- variable: service.spec.ports.sqlServerDatabasePort
description: Kubernetes service port for SQL Server
group: Kubernetes Service Options
label: Kubernetes Service Port
type: int

- variable: storageClass.provisioner
description: StorageClass provisioner for SQL Server
group: Kubernetes Storage Options
label: Kubernetes StorageClass Provisioner
type: enum
options:
- disk.csi.azure.com
- ebs.csi.aws.com
- pd.csi.storage.gke.io

- variable: storageClass.type
description: StorageClass Type for Azure Disk CSI. CSI Drivers are default after k8s v1.21
group: Kubernetes Storage Options
label: Kubernetes StorageClass Type
show_if: "storageClass.provisioner=disk.csi.azure.com"
type: enum
default: Standard_LRS
options:
- Standard_LRS
- Premium_LRS
- StandardSSD_LRS
- UltraSSD_LRS

- variable: storageClass.type
description: StorageClass Type for AWS EBS CSI. Install the csi driver on the target cluster first. https://docs.aws.amazon.com/eks/latest/userguide/managing-ebs-csi.html#adding-ebs-csi-eks-add-on
group: Kubernetes Storage Options
label: Kubernetes StorageClass Type
show_if: "storageClass.provisioner=ebs.csi.aws.com"
type: enum
default: standard
options:
- io1
- io2
- gp2
- gp3
- sc1
- st1
- standard

- variable: storageClass.type
description: StorageClass Type for GCE PD CSI. CSI Driver are default after Linux clusters 1.18.10-gke.2100 or 1.19.3-gke.2100
group: Kubernetes Storage Options
label: Kubernetes StorageClass Type
show_if: "storageClass.provisioner=pd.csi.storage.gke.io"
type: enum
default: pd-standard
options:
- pd-standard
- pd-balanced
- pd-ssd
- pd-extreme

- variable: storage.size
description: Size for Storage Volume in Gibibytes (Gi)
group: Kubernetes Storage Options
label: Kubernetes Storage Size
Loading