Commit 784b1994 authored by Hordur Freyr Yngvason's avatar Hordur Freyr Yngvason
Browse files

Merge branch...

Merge branch '214-pipeline-are-using-depreciated-dry-run-and-needs-to-be-replaced-with-dry-run-client' into 'master'

fix: update `kubectl --dry-run=client` as `--dry-run` is deprecated

Closes #214

See merge request gitlab-org/cluster-integration/auto-deploy-image!280
parents cded3c1b 698a3ce4
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -145,7 +145,7 @@ function create_secret() {
    --docker-username="${CI_DEPLOY_USER:-$CI_REGISTRY_USER}" \
    --docker-password="${CI_DEPLOY_PASSWORD:-$CI_REGISTRY_PASSWORD}" \
    --docker-email="$GITLAB_USER_EMAIL" \
    -o yaml --dry-run | kubectl replace -n "$KUBE_NAMESPACE" --force -f -
    -o yaml --dry-run=client | kubectl replace -n "$KUBE_NAMESPACE" --force -f -
}

# shellcheck disable=SC2086