OctopusDeploy / Issues

| Public | Bug reports and known issues for Octopus Deploy and all related tools
https://octopus.com
162 stars 20 forks source link

"Deploy Kubernetes ingress resource" step template errors when selecting "Octopus Certificate" for the "Ingress TLS" field #6782

Open donnybell opened 3 years ago

donnybell commented 3 years ago

Prerequisites

The bug

"Deploy Kubernetes ingress resource" step template errors when selecting "Octopus Certificate" for the "Ingress TLS" field

What I expected to happen

No error should occur

Steps to reproduce

  1. Go to Library -> Step Templates -> Add
  2. Select "Deploy Kubernetes ingress resource" -> Add
  3. Go to the "Step" tab -> Ingress TLS -> Add TLS Certificate
  4. Choose "Octopus Certificate"

Screen capture

image

Log excerpt

An unexpected error occurred in Octopus v2021.1.0-ci0848: Cannot read property 'map' of undefined

TypeError: Cannot read property 'map' of undefined
t.<anonymous> (https://octopus-operations.octopus.app/app-main.e59590d72034916cf2d0.hashedasset.js:1:6611639)
https://octopus-operations.octopus.app/app-main.e59590d72034916cf2d0.hashedasset.js:1:6610285
Object.next (https://octopus-operations.octopus.app/app-main.e59590d72034916cf2d0.hashedasset.js:1:6610390)
https://octopus-operations.octopus.app/app-main.e59590d72034916cf2d0.hashedasset.js:1:6609302
https://octopus-operations.octopus.app/vendor.a7271da494b3e4ac9cda.hashedasset.js:2:919096
new U (https://octopus-operations.octopus.app/vendor.a7271da494b3e4ac9cda.hashedasset.js:2:919160)
c (https://octopus-operations.octopus.app/app-main.e59590d72034916cf2d0.hashedasset.js:1:6609053)
t.n.getCertificateVariables (https://octopus-operations.octopus.app/app-main.e59590d72034916cf2d0.hashedasset.js:1:6611491)
t.<anonymous> (https://octopus-operations.octopus.app/app-main.e59590d72034916cf2d0.hashedasset.js:1:6613313)
https://octopus-operations.octopus.app/app-main.e59590d72034916cf2d0.hashedasset.js:1:6610285

Affected versions

Confirmed in the following Octopus Server versions:

Workarounds

Do not use the Octopus Certificate option for Ingress TLS

Links

Customer Ticket - https://octopus.zendesk.com/agent/tickets/65689 (internal)

FinnianDempsey commented 3 years ago

Internal - Additional customer encountering this issue