diff --git a/.gitignore b/.gitignore index 32a79679f04..4b0ce2fb59a 100644 --- a/.gitignore +++ b/.gitignore @@ -7,6 +7,7 @@ bin/** **/__debug_bin **/__pycache__ +**/venv # Test binary, build with `go test -c` *.test diff --git a/Makefile b/Makefile index a32c4ad26e9..f97576e03b3 100644 --- a/Makefile +++ b/Makefile @@ -317,6 +317,10 @@ buildah-dev-build: podman-dev-build: podman build --tag ${IMG} $(GOCACHE_VOL_ARG) -f ./Dockerfile . +.PHONY: podman-dev-push +podman-dev-push: podman-dev-build + podman push --tls-verify=false ${IMG} + # Build and push the dev image with buildah .PHONY: buildah-dev-push buildah-dev-push: buildah-dev-build diff --git a/hack/create-service-account-secrets.sh b/hack/create-service-account-secrets.sh index c980b712d1f..e00f5904ab6 100755 --- a/hack/create-service-account-secrets.sh +++ b/hack/create-service-account-secrets.sh @@ -5,7 +5,7 @@ # - hiveadmission # - hive-controllers # -cat < server.crt +oc get csr hiveadmission.${HIVE_NS} -o jsonpath='{.status.certificate}' | base64 --decode > server.crt cat server.crt -cat <