Skip to content

Brew symlink even if the target file doesn't exist #2400

Open
@aungzanbaw

Description

Versions and Operating System

  • Kubernetes version:

    Output of kubectl version:

     Client Version: v1.30.2
     Kustomize Version: v5.0.4-0.20230601165947-6ce0bf390ce3
     Server Version: v1.30.2
    
  • Tekton Pipeline version:

    Output of tkn version or kubectl get pods -n tekton-pipelines -l app=tekton-pipelines-controller -o=jsonpath='{.items[0].metadata.labels.version}'

    Client version: 0.38.1
    Pipeline version: v0.63.0t
    
  • Operating System:

    ProductName:		macOS
    ProductVersion:		14.6.1
    BuildVersion:	        23G93
    

Expected Behavior

Symbol linking from brew directory folder path changed, it's depends upon Mac silicon too.
ln symlink even if the target file doesn't exist.

Actual Behavior

/usr/local/bin/tkn would trigger but no such file or directory on Mac. ref

Steps to Reproduce the Problem

  1. Install tekton via brew brew install tektoncd-cli
  2. ln -s /usr/local/bin/tkn /usr/local/bin/kubectl-tkn

Additional Info

Metadata

Assignees

No one assigned

    Labels

    kind/bugCategorizes issue or PR as related to a bug.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions