Skip to content

[BUG]: ##[error]Cannot read properties of undefined (reading 'trim') - Kubelogin #21080

Closed
@validis-ad

Description

@validis-ad

New issue checklist

Task name

KubeloginInstaller@0

Task version

0.255.0

Issue Description

We are seeing this issue transiently in our pipelines. A third run worked.

This is our task, very simple:

- ${{ if eq(parameters.azureRBAC, true)}}:
  - task: KubeloginInstaller@0
    displayName: '(Step) Install Kubelogin'

Image

Environment type (Please select at least one enviroment where you face this issue)

  • Self-Hosted
  • Microsoft Hosted
  • VMSS Pool
  • Container

Azure DevOps Server type

dev.azure.com (formerly visualstudio.com)

Azure DevOps Server Version (if applicable)

No response

Operation system

Ubuntu

Relevant log output

See screenshot.

Full task logs with system.debug enabled

 [REPLACE THIS WITH YOUR INFORMATION] 

Repro steps

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions