Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/actions/deploy-keptn-on-cluster/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,14 +57,14 @@
for image in $(ls | grep image.tar);
do
echo "Importing image: $image"
kind load image-archive $image/$image -n ${{ inputs.cluster-name }}

Check failure on line 60 in .github/actions/deploy-keptn-on-cluster/action.yml

View check run for this annotation

SonarQubeCloud / SonarCloud Code Analysis

inputs.cluster-name is vulnerable to script injection: values of inputs are provided by whoever triggers the workflow. Change this action to not use user-controlled data directly in a run block, for example by assigning this expression to an environment variable.

See more on https://sonarcloud.io/project/issues?id=keptn_lifecycle-toolkit&issues=AZ1Azpmzyfsr8ozQdvxW&open=AZ1Azpmzyfsr8ozQdvxW&pullRequest=3917
done

- name: Install cert-manager.io
if: inputs.cert-manager-io-enabled == 'cert_manager_io_on'
env:
# renovate: datasource=github-releases depName=cert-manager/cert-manager
CERT_MANAGER_IO_VERSION: "v1.16.5"
CERT_MANAGER_IO_VERSION: "v1.20.2"
shell: bash
run: |
kubectl apply -f https://github.com/cert-manager/cert-manager/releases/download/$CERT_MANAGER_IO_VERSION/cert-manager.yaml
Expand Down Expand Up @@ -98,8 +98,8 @@

cd .github/actions/deploy-keptn-on-cluster

export TAG=${{ inputs.runtime_tag }}

Check failure on line 101 in .github/actions/deploy-keptn-on-cluster/action.yml

View check run for this annotation

SonarQubeCloud / SonarCloud Code Analysis

inputs.runtime_tag is vulnerable to script injection: values of inputs are provided by whoever triggers the workflow. Change this action to not use user-controlled data directly in a run block, for example by assigning this expression to an environment variable.

See more on https://sonarcloud.io/project/issues?id=keptn_lifecycle-toolkit&issues=AZwvOCneYHpoLZ_4MB9k&open=AZwvOCneYHpoLZ_4MB9k&pullRequest=3917
envsubst < values/${{ inputs.values-file }} > tmp.yaml

Check failure on line 102 in .github/actions/deploy-keptn-on-cluster/action.yml

View check run for this annotation

SonarQubeCloud / SonarCloud Code Analysis

inputs.values-file is vulnerable to script injection: values of inputs are provided by whoever triggers the workflow. Change this action to not use user-controlled data directly in a run block, for example by assigning this expression to an environment variable.

See more on https://sonarcloud.io/project/issues?id=keptn_lifecycle-toolkit&issues=AZ1Azpmzyfsr8ozQdvxX&open=AZ1Azpmzyfsr8ozQdvxX&pullRequest=3917

echo "installing with values.yaml file:"
cat tmp.yaml
Expand Down
Loading