From 49664c908118ae72478e7f173416c6859bb56f75 Mon Sep 17 00:00:00 2001 From: Clayton Jones Date: Thu, 23 May 2019 09:27:08 -0400 Subject: [PATCH] Updates operator.yaml for CTP 3.0 Changed the image for the operator to reflect the CTP 3.0 ubuntu image. Added required environment variable MSSQL_POD_NAME as required by the CTP 3.0 image. --- .../Kubernetes/sample-manifest-files/operator.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/samples/features/high availability/Kubernetes/sample-manifest-files/operator.yaml b/samples/features/high availability/Kubernetes/sample-manifest-files/operator.yaml index e7268fbf6f..d74ec63ca9 100644 --- a/samples/features/high availability/Kubernetes/sample-manifest-files/operator.yaml +++ b/samples/features/high availability/Kubernetes/sample-manifest-files/operator.yaml @@ -63,6 +63,9 @@ spec: - name: MSSQL_K8S_NAMESPACE valueFrom: fieldRef: {fieldPath: metadata.namespace} - image: mcr.microsoft.com/mssql/ha:2019-CTP2.1-ubuntu + - name: MSSQL_POD_NAME + valueFrom: + fieldRef: {fieldPath: metadata.name} + image: mcr.microsoft.com/mssql/ha:2019-CTP3.0-ubuntu name: mssql-operator serviceAccount: mssql-operator