Skip to content

Commit

Permalink
Add mssql new version: 2022-cu16 (#1449)
Browse files Browse the repository at this point in the history
Signed-off-by: Neaj Morshad <[email protected]>
  • Loading branch information
Neaj-Morshad-101 authored Dec 17, 2024
1 parent 1a894a7 commit 5e27a29
Show file tree
Hide file tree
Showing 3 changed files with 68 additions and 0 deletions.
1 change: 1 addition & 0 deletions catalog/kubedb/active_versions.json
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@
"gcs-0.13.0"
],
"MSSQLServer": [
"2022-cu16",
"2022-cu14",
"2022-cu12"
],
Expand Down
32 changes: 32 additions & 0 deletions catalog/kubedb/raw/mssqlserver/mssqlserver-2022.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -60,3 +60,35 @@ spec:
securityContext:
runAsUser: 10001
version: "2022"

---
apiVersion: catalog.kubedb.com/v1alpha1
kind: MSSQLServerVersion
metadata:
name: 2022-cu16
spec:
archiver:
addon:
name: mssqlserver-addon
tasks:
fullBackup:
name: logical-backup
fullBackupRestore:
name: logical-backup-restore
manifestBackup:
name: manifest-backup
manifestRestore:
name: manifest-restore
walg:
image: ghcr.io/kubedb/mssqlserver-archiver:v0.3.0
coordinator:
image: ghcr.io/kubedb/mssql-coordinator:v0.4.0
db:
image: mcr.microsoft.com/mssql/server:2022-CU16-ubuntu-22.04
exporter:
image: ghcr.io/kubedb/mssql-exporter:1.1.0
initContainer:
image: ghcr.io/kubedb/mssql-init:2022-ubuntu-22-v3
securityContext:
runAsUser: 10001
version: "2022"
35 changes: 35 additions & 0 deletions charts/kubedb-catalog/templates/mssqlserver/mssqlserver-2022.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -72,4 +72,39 @@ spec:
securityContext:
runAsUser: 10001
version: "2022"

---

apiVersion: catalog.kubedb.com/v1alpha1
kind: MSSQLServerVersion
metadata:
name: '2022-cu16'
labels:
{{- include "kubedb-catalog.labels" . | nindent 4 }}
spec:
archiver:
addon:
name: mssqlserver-addon
tasks:
fullBackup:
name: logical-backup
fullBackupRestore:
name: logical-backup-restore
manifestBackup:
name: manifest-backup
manifestRestore:
name: manifest-restore
walg:
image: '{{ include "image.ghcr" (merge (dict "_repo" "kubedb/mssqlserver-archiver") $) }}:v0.3.0'
coordinator:
image: '{{ include "image.ghcr" (merge (dict "_repo" "kubedb/mssql-coordinator") $) }}:v0.4.0'
db:
image: '{{ include "image.microsoft" (merge (dict "_repo" "mssql/server") $) }}:2022-CU16-ubuntu-22.04'
exporter:
image: '{{ include "image.ghcr" (merge (dict "_repo" "kubedb/mssql-exporter") $) }}:1.1.0'
initContainer:
image: '{{ include "image.ghcr" (merge (dict "_repo" "kubedb/mssql-init") $) }}:2022-ubuntu-22-v3'
securityContext:
runAsUser: 10001
version: "2022"
{{ end }}

0 comments on commit 5e27a29

Please sign in to comment.