This is an automated email from the ASF dual-hosted git repository. msciabarra pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/openserverless-operator.git
commit 2b89dc9a255e2450ceff9b9328a91d075a9486bc Author: Michele Sciabarra <[email protected]> AuthorDate: Fri Jul 12 14:35:29 2024 +0200 0.1-dev.2407121422 --- Taskfile.yml | 8 ++------ kaniko-build.yaml | 2 +- registries.yaml | 2 +- 3 files changed, 4 insertions(+), 8 deletions(-) diff --git a/Taskfile.yml b/Taskfile.yml index 8bafb9c..a0865bd 100644 --- a/Taskfile.yml +++ b/Taskfile.yml @@ -25,13 +25,9 @@ tasks: - sudo cp registries.yaml /etc/rancher/k3s/registries.yaml - sudo systemctl restart k3s - helm repo add twuni https://helm.twun.io - - > - helm install docker-registry twuni/docker-registry - --namespace default - --set service.type=NodePort - --set service.nodePort=30050 + - helm install docker-registry twuni/docker-registry --namespace kube-system status: - - kubectl -n default get po -l app=docker-registry | grep docker-registry + - kubectl -n kube-system get po -l app=docker-registry | grep docker-registry tag-commit-push: desc: tag, commit and push to your default upstream repo (see README.md) diff --git a/kaniko-build.yaml b/kaniko-build.yaml index 846e77e..75acab7 100644 --- a/kaniko-build.yaml +++ b/kaniko-build.yaml @@ -14,7 +14,7 @@ spec: image: gcr.io/kaniko-project/executor:latest args: - --context=git://github.com/${GITHUB_USER}/openserverless-operator - - --destination=docker-registry:5000/apache/openserverless-operator:${TAG} + - --destination=docker-registry.kube-system.svc.cluster.local:5000/apache/openserverless-operator:${TAG} - --insecure - --insecure-registry=docker-registry restartPolicy: Never \ No newline at end of file diff --git a/registries.yaml b/registries.yaml index ac1fa83..c61a0f2 100644 --- a/registries.yaml +++ b/registries.yaml @@ -1,5 +1,5 @@ mirrors: ghcr.io: endpoint: - - "http://localhost:30050" + - "http://docker-registry.kube-system.svc.cluster.local:5000"
