Skip to content

Commit 4cdaf6d

Browse files
committed
chore(dockerfile): removing any reference from quay.io
1 parent b57445a commit 4cdaf6d

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

CONTRIBUTING.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,8 @@ $ go run main.go --ssl-cert-path=/tmp/localhost.pem --ssl-key-path=/tmp/localhos
5656
In some cases, you would need to debug the in-cluster mode and [`delve`](https://github.com/go-delve/delve) plays a big role here.
5757

5858
1. build the Docker image with `delve` issuing `make dlv-build`
59-
2. with the `quay.io/clastix/capsule-proxy:dlv` produced Docker image, publish it or load it to your [KinD](https://github.com/kubernetes-sigs/kind) instance (`kind load docker-image --name capsule --nodes capsule-control-plane quay.io/clastix/capsule-proxy:dlv`)
60-
3. change the Deployment image using `kubectl edit` or `kubectl set image deployment/capsule-proxy capsule-proxy=quay.io/clastix/capsule-proxy:dlv`
59+
2. with the `clastix/capsule-proxy:dlv` produced Docker image, publish it or load it to your [KinD](https://github.com/kubernetes-sigs/kind) instance (`kind load docker-image --name capsule --nodes capsule-control-plane clastix/capsule-proxy:dlv`)
60+
3. change the Deployment image using `kubectl edit` or `kubectl set image deployment/capsule-proxy capsule-proxy=clastix/capsule-proxy:dlv`
6161
4. wait for the image rollout (`kubectl -n capsule-system rollout status deployment/capsule-proxy`)
6262
5. perform the port-forwarding with `kubectl -n capsule-system port-forward $(kubectl -n capsule-system get pods -l app.kubernetes.io/name=capsule-proxy --output name) 2345:2345`
6363
6. connect using your `delve` options

Makefile

+3-3
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@ else
66
endif
77

88
dlv-build:
9-
docker build . --build-arg "GCFLAGS=all=-N -l" --tag quay.io/clastix/capsule-proxy:dlv --target dlv
9+
docker build . --build-arg "GCFLAGS=all=-N -l" --tag clastix/capsule-proxy:dlv --target dlv
1010

1111

1212
docker/build:
1313
@echo "Building docker image..."
14-
@docker build . -t quay.io/clastix/capsule-proxy:latest
14+
@docker build . -t clastix/capsule-proxy:latest
1515

1616
kind/clean:
1717
@echo "Deleting cluser..."
@@ -39,7 +39,7 @@ capsule:
3939
capsule-proxy:
4040
@echo "Installing Capsule-Proxy..."
4141
@echo "Loading Docker image..."
42-
@kind load docker-image --name capsule --nodes capsule-worker quay.io/clastix/capsule-proxy:latest
42+
@kind load docker-image --name capsule --nodes capsule-worker clastix/capsule-proxy:latest
4343
ifeq ($(CAPSULE_PROXY_MODE),http)
4444
@echo "Running in HTTP mode"
4545
@echo "kubeconfig configurations..."

config/deploy/sidecar-setup.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ spec:
7373
spec:
7474
containers:
7575
- name: proxy
76-
image: quay.io/clastix/capsule-proxy
76+
image: clastix/capsule-proxy
7777
imagePullPolicy: Always
7878
args:
7979
- --capsule-user-group=capsule.clastix.io

config/deploy/standalone-setup.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ spec:
4747
name: certs
4848
containers:
4949
- name: proxy
50-
image: quay.io/clastix/capsule-proxy
50+
image: clastix/capsule-proxy
5151
imagePullPolicy: IfNotPresent
5252
args:
5353
- --capsule-user-group=capsule.clastix.io

0 commit comments

Comments
 (0)