Fixing warning of deprecated flag at least since Kubernetes 19.2+
Error received: ``` kubectl create secret docker-registry gitlab-registry --docker-server="$CI_REGISTRY" --docker-username="$CI_DEPLOY_USER" --docker-password="$CI_DEPLOY_PASSWORD" --docker-email="$GITLAB_USER_EMAIL" -o yaml --dry-run | kubectl apply -f - W1122 14:55:31.155747 360186 helpers.go:553] --dry-run is deprecated and can be replaced with --dry-run=client. ``` has as suggested simple fix to replace the flag and fix a warning
Showing
Please register or sign in to comment