Skip to content

Commit

Permalink
Merge pull request #2110 from microsoft/2099-azure-arc-enabled-data-s…
Browse files Browse the repository at this point in the history
…ervices-sept-release

2099 azure arc enabled data services sept release
  • Loading branch information
likamrat authored Oct 2, 2023
2 parents b1c1e90 + 517ec39 commit e7d5a30
Show file tree
Hide file tree
Showing 25 changed files with 40 additions and 31 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,10 @@ However, Liquid template does not support merging objects. In order for it to wo
{%- assign preferredPrimaryReplicaSpec = resource.k8sRaw.spec.preferredPrimaryReplicaSpec -%}
{%- assign backup = resource.k8sRaw.spec.backup -%}
{%- assign settings = resource.k8sRaw.spec.settings -%}
{%- assign fileOverrideConfigMap = resource.k8sRaw.spec.fileOverrideConfigMap -%}

{%- assign securityActiveDirectory = resource.k8sRaw.spec.security.activeDirectory -%}
{%- assign securityTransparentDataEncryption = resource.k8sRaw.spec.security.transparentDataEncryption -%}
{%- assign serviceCertificateSecret = resource.k8sRaw.spec.security.serviceCertificateSecret -%}
{%- assign update = resource.k8sRaw.spec.update -%}

Expand All @@ -35,6 +37,7 @@ However, Liquid template does not support merging objects. In order for it to wo
"spec": {
{% if docker != nil %} "docker": {{ docker }}, {% endif %}
{% if services != nil %} "services": {{ services }}, {% endif %}
{% if fileOverrideConfigMap != nil %} "fileOverrideConfigMap": {{ fileOverrideConfigMap | json }}, {% endif %}
"security": {
{% if securityActiveDirectory != nil %}
"activeDirectory": {
Expand All @@ -48,6 +51,12 @@ However, Liquid template does not support merging objects. In order for it to wo
{% if securityActiveDirectory.encryptionTypes != nil %} "encryptionTypes": {{ securityActiveDirectory.encryptionTypes | json }}, {% endif %}
},
{% endif %}
{% if securityTransparentDataEncryption != nil %}
"transparentDataEncryption": {
{% if securityTransparentDataEncryption.mode != nil %} "mode": {{ securityTransparentDataEncryption.mode | json }}, {% endif %}
{% if securityTransparentDataEncryption.protectorSecret != nil %} "protectorSecret": {{ securityTransparentDataEncryption.protectorSecret | json }}, {% endif %}
},
{% endif %}
{% if serviceCertificateSecret != nil %} "serviceCertificateSecret": {{ serviceCertificateSecret | json }}, {% endif %}
{% if resource.k8sRaw.spec.security.adminLoginSecret != nil %}
"adminLoginSecret": {{ resource.k8sRaw.spec.security.adminLoginSecret | json }}
Expand Down
2 changes: 1 addition & 1 deletion arc_data_services/charts/arcdataservices/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ Azure:
InstallerServiceAccount: ""
RuntimeServiceAccount: ""
systemDefaultValues:
image: mcr.microsoft.com/arcdata/arc-bootstrapper:v1.22.0_2023-08-08
image: mcr.microsoft.com/arcdata/arc-bootstrapper:v1.23.0_2023-09-12
imagePullPolicy: Always
imagePullSecret: arc-private-registry
installerServiceAccount: ""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,9 @@ def execute_cmd(cmd):
if os.getenv("SOURCE_DOCKER_TAG") is None:
SOURCE_DOCKER_TAG = (
input(
"Provide container image tag for the images at the source - press ENTER for using 'v1.22.0_2023-08-08': "
"Provide container image tag for the images at the source - press ENTER for using 'v1.23.0_2023-09-12': "
)
or "v1.22.0_2023-08-08"
or "v1.23.0_2023-09-12"
)
else:
SOURCE_DOCKER_TAG = os.environ["SOURCE_DOCKER_TAG"]
Expand Down
4 changes: 2 additions & 2 deletions arc_data_services/deploy/yaml/bootstrapper-unified.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -331,11 +331,11 @@ spec:
kubernetes.io/os: linux
containers:
- name: bootstrapper
image: mcr.microsoft.com/arcdata/arc-bootstrapper:v1.22.0_2023-08-08
image: mcr.microsoft.com/arcdata/arc-bootstrapper:v1.23.0_2023-09-12
imagePullPolicy: Always
args:
- -image
- mcr.microsoft.com/arcdata/arc-bootstrapper:v1.22.0_2023-08-08
- mcr.microsoft.com/arcdata/arc-bootstrapper:v1.23.0_2023-09-12
- -policy
- Always
- -chart
Expand Down
4 changes: 2 additions & 2 deletions arc_data_services/deploy/yaml/bootstrapper.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ spec:
kubernetes.io/os: linux
containers:
- name: bootstrapper
image: mcr.microsoft.com/arcdata/arc-bootstrapper:v1.22.0_2023-08-08
image: mcr.microsoft.com/arcdata/arc-bootstrapper:v1.23.0_2023-09-12
imagePullPolicy: Always
args:
- -image
- mcr.microsoft.com/arcdata/arc-bootstrapper:v1.22.0_2023-08-08
- mcr.microsoft.com/arcdata/arc-bootstrapper:v1.23.0_2023-09-12
- -policy
- Always
- -chart
Expand Down
2 changes: 1 addition & 1 deletion arc_data_services/deploy/yaml/data-controller.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ spec:
serviceAccount: sa-arc-controller
docker:
imagePullPolicy: Always
imageTag: v1.22.0_2023-08-08
imageTag: v1.23.0_2023-09-12
registry: mcr.microsoft.com
repository: arcdata
infrastructure: other # Must be a value in the array [alibaba, aws, azure, gcp, onpremises, other]
Expand Down
2 changes: 1 addition & 1 deletion arc_data_services/deploy/yaml/uninstall.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ spec:
kubernetes.io/os: linux
containers:
- name: bootstrapper
image: mcr.microsoft.com/arcdata/arc-bootstrapper:v1.22.0_2023-08-08
image: mcr.microsoft.com/arcdata/arc-bootstrapper:v1.23.0_2023-09-12
imagePullPolicy: IfNotPresent
args: ["-uninstall"]
command: ["/opt/bootstrapper/bin/bootstrapper"]
Expand Down
2 changes: 1 addition & 1 deletion arc_data_services/test/launcher/base/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ secretGenerator:
images:
- name: arc-ci-launcher
newName: mcr.microsoft.com/arcdata/arc-ci-launcher
newTag: v1.22.0_2023-08-08
newTag: vv1.23.0_2023-09-12
4 changes: 2 additions & 2 deletions arc_data_services/upgrade/yaml/bootstrapper-upgrade-job.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ spec:
- name: your-private-registry
containers:
- name: bootstrapper
image: mcr.microsoft.com/arcdata/arc-bootstrapper:v1.22.0_2023-08-08
image: mcr.microsoft.com/arcdata/arc-bootstrapper:v1.23.0_2023-09-12
imagePullPolicy: Always
command: ["/opt/bootstrapper/bin/bootstrapper"]
args: ["-image", "mcr.microsoft.com/arcdata/arc-bootstrapper:v1.22.0_2023-08-08", "-policy", "Always", "-chart", "/opt/helm/arcdataservices", "-bootstrap"]
args: ["-image", "mcr.microsoft.com/arcdata/arc-bootstrapper:v1.23.0_2023-09-12", "-policy", "Always", "-chart", "/opt/helm/arcdataservices", "-bootstrap"]
resources:
limits:
cpu: 200m
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ metadata:
name: arc
spec:
docker:
imageTag: v1.22.0_2023-08-08
imageTag: v1.23.0_2023-09-12
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
},
"docker": {
"imagePullPolicy": "Always",
"imageTag": "v1.22.0_2023-08-08",
"imageTag": "v1.23.0_2023-09-12",
"registry": "<registry>",
"repository": "<repository>"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
},
"docker": {
"imagePullPolicy": "Always",
"imageTag": "v1.22.0_2023-08-08",
"imageTag": "v1.23.0_2023-09-12",
"registry": "<registry>",
"repository": "<repository>"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ az k8s-extension create --name arc-data-services `
--resource-group $Env:resourceGroup `
--auto-upgrade false `
--scope cluster `
--version 1.22.0 `
--version 1.23.0 `
--release-namespace arc `
--config Microsoft.CustomLocation.ServiceAccount=sa-arc-bootstrapper

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ az k8s-extension create --name arc-data-services `
--resource-group $Env:resourceGroup `
--auto-upgrade false `
--scope cluster `
--version 1.22.0 `
--version 1.23.0 `
--release-namespace arc `
--config Microsoft.CustomLocation.ServiceAccount=sa-arc-bootstrapper `

Expand Down Expand Up @@ -229,7 +229,7 @@ az k8s-extension create --name arc-data-services `
--resource-group $Env:resourceGroup `
--auto-upgrade false `
--scope cluster `
--version 1.22.0 `
--version 1.23.0 `
--release-namespace arc `
--config Microsoft.CustomLocation.ServiceAccount=sa-arc-bootstrapper `

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ az k8s-extension create --name arc-data-services `
--resource-group $Env:resourceGroup `
--auto-upgrade false `
--scope cluster `
--version 1.22.0 `
--version 1.23.0 `
--release-namespace arc `
--config Microsoft.CustomLocation.ServiceAccount=sa-arc-bootstrapper `

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ az k8s-extension create --name arc-data-services `
--resource-group $Env:resourceGroup `
--auto-upgrade false `
--scope cluster `
--version 1.22.0 `
--version 1.23.0 `
--release-namespace arc `
--config Microsoft.CustomLocation.ServiceAccount=sa-arc-bootstrapper `

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ az k8s-extension create --name arc-data-services `
--resource-group $Env:resourceGroup `
--auto-upgrade false `
--scope cluster `
--version 1.22.0 `
--version 1.23.0 `
--release-namespace arc `
--config Microsoft.CustomLocation.ServiceAccount=sa-arc-bootstrapper

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ az k8s-extension create --name arc-data-services `
--resource-group $env:resourceGroup `
--auto-upgrade false `
--scope cluster `
--version 1.22.0 `
--version 1.23.0 `
--release-namespace arc `
--config Microsoft.CustomLocation.ServiceAccount=sa-arc-bootstrapper `

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ az k8s-extension create --name arc-data-services `
--resource-group $Env:resourceGroup `
--auto-upgrade false `
--scope cluster `
--version 1.22.0 `
--version 1.23.0 `
--release-namespace arc `
--config Microsoft.CustomLocation.ServiceAccount=sa-arc-bootstrapper

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ az k8s-extension create --name arc-data-services `
--resource-group $Env:resourceGroup `
--auto-upgrade false `
--scope cluster `
--version 1.22.0 `
--version 1.23.0 `
--release-namespace arc `
--config Microsoft.CustomLocation.ServiceAccount=sa-arc-bootstrapper `

Expand Down
6 changes: 3 additions & 3 deletions azure_jumpstart_arcbox/ARM/clientVm/clientVm.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"type": "securestring",
"minLength": 12,
"maxLength": 123,
"defaultValue": "ArcPassword123!!",
"defaultValue": "ArcDemo123!!",
"metadata": {
"description": "Password for Windows account. Password must have 3 of the following: 1 lower case character, 1 upper case character, 1 number, and 1 special character. The value must be between 12 and 123 characters long"
}
Expand Down Expand Up @@ -94,7 +94,7 @@
},
"azdataPassword": {
"type": "securestring",
"defaultValue": "ArcDemo123!!"
"defaultValue": "fMQch2T58L9H3v$7"
},
"acceptEula": {
"type": "string",
Expand Down Expand Up @@ -355,4 +355,4 @@
"value": "[concat(reference(variables('publicIPAddressName')).IpAddress)]"
}
}
}
}
2 changes: 1 addition & 1 deletion azure_jumpstart_arcbox/artifacts/DataOpsLogonScript.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ foreach ($cluster in $clusters) {
--auto-upgrade false `
--scope cluster `
--release-namespace arc `
--version 1.22.0 `
--version 1.23.0 `
--config Microsoft.CustomLocation.ServiceAccount=sa-bootstrapper

Write-Host "`n"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ az k8s-extension create --name arc-data-services `
--resource-group $Env:resourceGroup `
--auto-upgrade false `
--scope cluster `
--version 1.22.0 `
--version 1.23.0 `
--release-namespace arc `
--config Microsoft.CustomLocation.ServiceAccount=sa-bootstrapper

Expand Down
2 changes: 1 addition & 1 deletion azure_jumpstart_arcbox/artifacts/DeploySQLMIADAuth.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -434,7 +434,7 @@ $sqlServerConnection = @"
"database": "",
"authenticationType": "SqlLogin",
"user": "sa",
"password": "$sa_password",
"password": "ArcDemo123!!",
"applicationName": "azdata",
"groupId": "C777F06B-202E-4480-B475-FA416154D458",
"databaseDisplayName": ""
Expand Down
2 changes: 1 addition & 1 deletion azure_jumpstart_hcibox/artifacts/Deploy-SQLMI.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ Invoke-Command -VMName $SDNConfig.HostList[0] -Credential $adcred -ScriptBlock {
--resource-group $using:rg `
--auto-upgrade false `
--scope cluster `
--version 1.22.0 `
--version 1.23.0 `
--release-namespace arc `
--config Microsoft.CustomLocation.ServiceAccount=sa-bootstrapper `
--only-show-errors
Expand Down

0 comments on commit e7d5a30

Please sign in to comment.