I'm testing the 3.0.0rc9 release and the azure-con...
# prefect-azure
p
I'm testing the 3.0.0rc9 release and the azure-container-instance base job template looks weird:
Copy code
"env": {
        "type": "object",
        "title": "Environment Variables",
        "description": "Environment variables to set when starting a flow run.",
        "additionalProperties": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        }
      },
      "name": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Name",
        "default": null,
        "description": "Name given to infrastructure created by a worker."
is it supposed to be like that?
for a comparison, in 2.x it was
Copy code
"env": {
        "type": "object",
        "title": "Environment Variables",
        "description": "Environment variables to set when starting a flow run.",
        "additionalProperties": {
          "type": "string"
        }
      },
      "name": {
        "type": "string",
        "title": "Name",
        "description": "Name given to infrastructure created by a worker."
      },
In the UI it turns into this switch between string and null
can I use the old template or do I have to stick with the new one?
the container registry is broken in the new template, this is the definition:
Copy code
"image_registry": {
        "anyOf": [
          {
            "$ref": "#/definitions/ACRManagedIdentity"
          },
          {},
          {
            "type": "null"
          }
        ],
        "title": "Image Registry (Optional)",
        "description": "To use any private container registry with a username and password, choose DockerRegistry. To use a private Azure Container Registry with a managed identity, choose ACRManagedIdentity."
      }
and it renders to a blank field in UI
before it was a reference to a docker registry block (which is getting deprecated anyway...)