pega-helm-charts
pega-helm-charts copied to clipboard
Error when providing Image.name and Image tag in Traefik Addon
Describe the bug Need to specify traefik image to come from private registry, does not work if installing thru Pega addon (works ok if deploying Traefik Helm chart directly)
To Reproduce
-
helm repo --namespace pegaaddons add pega https://pegasystems.github.io/pega-helm-charts
-
helm upgrade --namespace pegaaddons --install --set traefik.image.name="ACRName/repo" mypega-addon pega/addons
Errors:
coalesce.go:175: warning: skipped value for addons.traefik.image: Not a table.
coalesce.go:223: warning: destination for addons.traefik.image is a table. Ignoring non-table value (traefik)
coalesce.go:175: warning: skipped value for addons.traefik.image: Not a table.
Error: UPGRADE FAILED: timed out waiting for the condition
##[error]coalesce.go:175: warning: skipped value for addons.traefik.image: Not a table.
coalesce.go:223: warning: destination for addons.traefik.image is a table. Ignoring non-table value (traefik)
coalesce.go:175: warning: skipped value for addons.traefik.image: Not a table.
Error: UPGRADE FAILED: timed out waiting for the condition
Checking Ingress Pod:
Containers:
mypega-addon-traefik:
Container ID:
Image: map[name:acr60109.azurecr.io/traefik]:1.7.14
Image ID:
Ports: 80/TCP, 8880/TCP, 443/TCP
Host Ports: 0/TCP, 0/TCP, 0/TCP
Events:
Type Reason Age From Message
---- ------ ---- ---- -------
Normal Scheduled 7m18s default-scheduler Successfully assigned pegaaddons/mypega-addon-traefik-d5d6dc478-k56jr to aks-usernp-81751
724-vmss000001
Warning Failed 5m5s (x12 over 7m17s) kubelet Error: InvalidImageName
Warning InspectFailed 2m7s (x26 over 7m17s) kubelet Failed to apply default image tag "map[name:acr60109.azurecr.io/traefik]:1.7.14": couldn'
t parse image reference "map[name:acr60109.azurecr.io/traefik]:1.7.14": invalid reference format
Where is strange map[] coming from?
Expected behavior Traefik ingress controller pull image and start