Skip to content

Commit

Permalink
Updating for new repository location
Browse files Browse the repository at this point in the history
  • Loading branch information
jorgemoralespou committed Jul 12, 2024
1 parent 949a23f commit 412e78b
Show file tree
Hide file tree
Showing 9 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion projects/frontend/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM getwarped/warp0-debian10-python37:latest
FROM getwarped/warp0-debian10-python38:latest

COPY --chown=1001:0 . /opt/app-root/src

Expand Down
2 changes: 1 addition & 1 deletion templates/frontend-v1/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ spec:
runAsUser: 1001
containers:
- name: blog
image: ghcr.io/vmware-tanzu-labs/lab-k8s-fundamentals-frontend:2.0
image: ghcr.io/educates/lab-k8s-fundamentals-frontend:2.0
securityContext:
allowPrivilegeEscalation: false
capabilities:
Expand Down
2 changes: 1 addition & 1 deletion templates/frontend-v2/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ spec:
runAsUser: 1001
containers:
- name: blog
image: ghcr.io/vmware-tanzu-labs/lab-k8s-fundamentals-frontend:2.0
image: ghcr.io/educates/lab-k8s-fundamentals-frontend:2.0
securityContext:
allowPrivilegeEscalation: false
capabilities:
Expand Down
2 changes: 1 addition & 1 deletion templates/frontend-v3/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ spec:
runAsUser: 1001
containers:
- name: blog
image: ghcr.io/vmware-tanzu-labs/lab-k8s-fundamentals-frontend:2.0
image: ghcr.io/educates/lab-k8s-fundamentals-frontend:2.0
securityContext:
allowPrivilegeEscalation: false
capabilities:
Expand Down
2 changes: 1 addition & 1 deletion templates/frontend-v4/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ spec:
runAsUser: 1001
containers:
- name: blog
image: ghcr.io/vmware-tanzu-labs/lab-k8s-fundamentals-frontend:2.0
image: ghcr.io/educates/lab-k8s-fundamentals-frontend:2.0
securityContext:
allowPrivilegeEscalation: false
capabilities:
Expand Down
2 changes: 1 addition & 1 deletion templates/frontend-v5/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ spec:
- blog
containers:
- name: blog
image: ghcr.io/vmware-tanzu-labs/lab-k8s-fundamentals-frontend:2.0
image: ghcr.io/educates/lab-k8s-fundamentals-frontend:2.0
securityContext:
allowPrivilegeEscalation: false
capabilities:
Expand Down
2 changes: 1 addition & 1 deletion templates/frontend/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ spec:
- blog
containers:
- name: blog
image: ghcr.io/vmware-tanzu-labs/lab-k8s-fundamentals-frontend:2.0
image: ghcr.io/educates/lab-k8s-fundamentals-frontend:2.0
securityContext:
allowPrivilegeEscalation: false
capabilities:
Expand Down
6 changes: 3 additions & 3 deletions workshop/content/exercises/06-deployment-resource.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,12 @@ An alternative is to have `kubectl` create it for you. For a `deployment`, you c
kubectl create deployment --help
```

For the deployment of the front end web application, the container image we want to use is `ghcr.io/vmware-tanzu-labs/lab-k8s-fundamentals-frontend:2.0`.
For the deployment of the front end web application, the container image we want to use is `ghcr.io/educates/lab-k8s-fundamentals-frontend:2.0`.

To see what `kubectl create deployment` would create for us run:

```execute
kubectl create deployment blog --image ghcr.io/vmware-tanzu-labs/lab-k8s-fundamentals-frontend:2.0 --port 8080 --replicas=2 --dry-run=client -o yaml
kubectl create deployment blog --image ghcr.io/educates/lab-k8s-fundamentals-frontend:2.0 --port 8080 --replicas=2 --dry-run=client -o yaml
```

This should yield:
Expand Down Expand Up @@ -49,7 +49,7 @@ spec:
securityContext:
runAsUser: 1001
containers:
- image: ghcr.io/vmware-tanzu-labs/lab-k8s-fundamentals-frontend:2.0
- image: ghcr.io/educates/lab-k8s-fundamentals-frontend:2.0
name: app-k8s-fundamentals-frontend
ports:
- containerPort: 8080
Expand Down
2 changes: 1 addition & 1 deletion workshop/content/exercises/07-replicasets-and-pods.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ In this you will see that the `spec` section contains:
pod-template-hash: 7b747746cc
spec:
containers:
- image: ghcr.io/vmware-tanzu-labs/lab-k8s-fundamentals-frontend:2.0
- image: ghcr.io/educates/lab-k8s-fundamentals-frontend:2.0
imagePullPolicy: Always
name: blog
ports:
Expand Down

0 comments on commit 412e78b

Please sign in to comment.