feat: use public Gitea registry as default
This commit is contained in:
@@ -36,7 +36,7 @@ deploy:
|
|||||||
kubectl apply -f deploy/namespace.yaml
|
kubectl apply -f deploy/namespace.yaml
|
||||||
kubectl apply -f deploy/rbac.yaml
|
kubectl apply -f deploy/rbac.yaml
|
||||||
# Ensure images in manifests match our registry
|
# Ensure images in manifests match our registry
|
||||||
sed -i "s|image: .*/inject-ds-webhook:latest|image: $(WEBHOOK_IMAGE)|" deploy/webhook.yaml
|
sed -i "s|image: .*/webhook:latest|image: $(WEBHOOK_IMAGE)|" deploy/webhook.yaml
|
||||||
sed -i "s|image: .*/test-client:latest|image: $(CLIENT_IMAGE)|" deploy/test-ds.yaml
|
sed -i "s|image: .*/test-client:latest|image: $(CLIENT_IMAGE)|" deploy/test-ds.yaml
|
||||||
kubectl apply -f deploy/webhook.yaml
|
kubectl apply -f deploy/webhook.yaml
|
||||||
@echo "Waiting for webhook to be ready..."
|
@echo "Waiting for webhook to be ready..."
|
||||||
@@ -48,4 +48,4 @@ clean:
|
|||||||
kubectl delete -f deploy/webhook.yaml --ignore-not-found
|
kubectl delete -f deploy/webhook.yaml --ignore-not-found
|
||||||
kubectl delete -f deploy/rbac.yaml --ignore-not-found
|
kubectl delete -f deploy/rbac.yaml --ignore-not-found
|
||||||
kubectl delete namespace $(NAMESPACE) --ignore-not-found
|
kubectl delete namespace $(NAMESPACE) --ignore-not-found
|
||||||
rm -rf bin/ key.pem cert.pem
|
rm -rf bin/ key.pem cert.pem
|
||||||
Reference in New Issue
Block a user