Skip to content

var is referenced but not assigned for env variables #45

@johnbieren

Description

@johnbieren

The shellchecker reports var is referenced but not assigned. when you define something in the tekton step env. For example, this

      env:
        - name: gwCert
           valueFrom:
            secretKeyRef:
              name: $(params.gwSecret)
              key: cert

results in shellchecker reporting

SC2154
gwCert is referenced but not assigned.

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