mirror of
https://github.com/Microsoft/sql-server-samples.git
synced 2025-12-08 14:58:54 +00:00
Validated
Update image name for CTP 2.1
This commit is contained in:
@@ -18,7 +18,7 @@ from utils import (AgRole, AgMode, OperatorYaml, SqlSecretsYaml,
|
||||
SqlServerYaml, AgServiceYaml, FailoverYaml)
|
||||
|
||||
DEFAULT_K8S_AGENTS_IMAGE = (
|
||||
"mcr.microsoft.com/mssql/ha:vNext-CTP2.0-ubuntu")
|
||||
"mcr.microsoft.com/mssql/ha:2019-CTP2.1-ubuntu")
|
||||
|
||||
|
||||
|
||||
|
||||
+1
-1
@@ -10,7 +10,7 @@ metadata:
|
||||
spec:
|
||||
|
||||
sqlServerContainer:
|
||||
image: mcr.microsoft.com/mssql/server:vNext-CTP2.0-ubuntu
|
||||
image: mcr.microsoft.com/mssql/server:2019-CTP2.1-ubuntu
|
||||
|
||||
saPassword:
|
||||
secretKeyRef:
|
||||
|
||||
@@ -40,7 +40,7 @@ spec:
|
||||
- name: MSSQL_K8S_NAMESPACE
|
||||
valueFrom:
|
||||
fieldRef: {fieldPath: metadata.namespace}
|
||||
image: mcr.microsoft.com/mssql/ha:vNext-CTP2.0-ubuntu
|
||||
image: mcr.microsoft.com/mssql/ha:2019-CTP2.1-ubuntu
|
||||
name: manual-failover
|
||||
restartPolicy: Never
|
||||
serviceAccount: manual-failover
|
||||
|
||||
@@ -63,6 +63,6 @@ spec:
|
||||
- name: MSSQL_K8S_NAMESPACE
|
||||
valueFrom:
|
||||
fieldRef: {fieldPath: metadata.namespace}
|
||||
image: mcr.microsoft.com/mssql/ha:vNext-CTP2.0-ubuntu
|
||||
image: mcr.microsoft.com/mssql/ha:2019-CTP2.1-ubuntu
|
||||
name: mssql-operator
|
||||
serviceAccount: mssql-operator
|
||||
|
||||
+1
-1
@@ -64,7 +64,7 @@ spec:
|
||||
restartPolicy: Never
|
||||
containers:
|
||||
- name: rotate-creds
|
||||
image: mcr.microsoft.com/mssql/ha:vNext-CTP2.0-ubuntu
|
||||
image: mcr.microsoft.com/mssql/ha:2019-CTP2.1-ubuntu
|
||||
command: ["/mssql-server-k8s-rotate-creds"]
|
||||
env:
|
||||
- name: MSSQL_K8S_SQL_SERVER_NAME
|
||||
|
||||
@@ -6,7 +6,7 @@ metadata:
|
||||
namespace: ag1
|
||||
spec:
|
||||
acceptEula: true
|
||||
agentsContainerImage: mcr.microsoft.com/mssql/ha:vNext-CTP2.0-ubuntu
|
||||
agentsContainerImage: mcr.microsoft.com/mssql/ha:2019-CTP2.1-ubuntu
|
||||
availabilityGroups: [ag1]
|
||||
instanceRootVolumeClaimTemplate:
|
||||
accessModes: [ReadWriteOnce]
|
||||
@@ -15,7 +15,7 @@ spec:
|
||||
storageClass: default
|
||||
saPassword:
|
||||
secretKeyRef: {key: sapassword, name: sql-secrets}
|
||||
sqlServerContainer: {image: 'mcr.microsoft.com/mssql/server:vNext-CTP2.0-ubuntu'}
|
||||
sqlServerContainer: {image: 'mcr.microsoft.com/mssql/server:2019-CTP2.1-ubuntu'}
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
@@ -34,7 +34,7 @@ metadata:
|
||||
namespace: ag1
|
||||
spec:
|
||||
acceptEula: true
|
||||
agentsContainerImage: mcr.microsoft.com/mssql/ha:vNext-CTP2.0-ubuntu
|
||||
agentsContainerImage: mcr.microsoft.com/mssql/ha:2019-CTP2.1-ubuntu
|
||||
availabilityGroups: [ag1]
|
||||
instanceRootVolumeClaimTemplate:
|
||||
accessModes: [ReadWriteOnce]
|
||||
@@ -43,7 +43,7 @@ spec:
|
||||
storageClass: default
|
||||
saPassword:
|
||||
secretKeyRef: {key: sapassword, name: sql-secrets}
|
||||
sqlServerContainer: {image: 'mcr.microsoft.com/mssql/server:vNext-CTP2.0-ubuntu'}
|
||||
sqlServerContainer: {image: 'mcr.microsoft.com/mssql/server:2019-CTP2.1-ubuntu'}
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
@@ -62,7 +62,7 @@ metadata:
|
||||
namespace: ag1
|
||||
spec:
|
||||
acceptEula: true
|
||||
agentsContainerImage: mcr.microsoft.com/mssql/ha:vNext-CTP2.0-ubuntu
|
||||
agentsContainerImage: mcr.microsoft.com/mssql/ha:2019-CTP2.1-ubuntu
|
||||
availabilityGroups: [ag1]
|
||||
instanceRootVolumeClaimTemplate:
|
||||
accessModes: [ReadWriteOnce]
|
||||
@@ -71,7 +71,7 @@ spec:
|
||||
storageClass: default
|
||||
saPassword:
|
||||
secretKeyRef: {key: sapassword, name: sql-secrets}
|
||||
sqlServerContainer: {image: 'mcr.microsoft.com/mssql/server:vNext-CTP2.0-ubuntu'}
|
||||
sqlServerContainer: {image: 'mcr.microsoft.com/mssql/server:2019-CTP2.1-ubuntu'}
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
|
||||
Reference in New Issue
Block a user