Skip to content

Failed to apply default image tag ":1.24.2-tctl-1.18.1-cli-0.13.2": couldn't parse image name ":1.24.2-tctl-1.18.1-cli-0.13.2": invalid reference format #938

@gajus

Description

@gajus

We just ran into the above issue out of the blue, i.e. without any changes to our code.

It started happening after restarting temporal-operator pods. The immediate symptom was that the following job would fail to complete:

operator-create-default-database-4vhtk   0/1     InvalidImageName   0

We were on the v0.20.0 version of the operator.

it remains unclear what caused the issue. However, adding image to both admintools and ui fixed the issue.

These were the changes that fixed the deployment.

apiVersion: temporal.io/v1beta1
kind: TemporalCluster
spec:
  admintools:
    enabled: false
+    image: 'temporalio/admin-tools'
+    version: '1.24.2-tctl-1.18.1-cli-1.0.0'
  image: 'temporalio/server'
  [..]
  ui:
    enabled: true
+    image: 'temporalio/ui'
    version: 2.31.2
  version: 1.24.3

Raising this issue to document the error for posterity, in case anyone else runs into it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions