From 412e78b0a8c642596643a1eadad7543037c98408 Mon Sep 17 00:00:00 2001 From: Jorge Morales Pou Date: Fri, 12 Jul 2024 13:57:36 +0200 Subject: [PATCH] Updating for new repository location --- projects/frontend/Dockerfile | 2 +- templates/frontend-v1/deployment.yaml | 2 +- templates/frontend-v2/deployment.yaml | 2 +- templates/frontend-v3/deployment.yaml | 2 +- templates/frontend-v4/deployment.yaml | 2 +- templates/frontend-v5/deployment.yaml | 2 +- templates/frontend/deployment.yaml | 2 +- workshop/content/exercises/06-deployment-resource.md | 6 +++--- workshop/content/exercises/07-replicasets-and-pods.md | 2 +- 9 files changed, 11 insertions(+), 11 deletions(-) diff --git a/projects/frontend/Dockerfile b/projects/frontend/Dockerfile index 65ad260..5d08dc2 100644 --- a/projects/frontend/Dockerfile +++ b/projects/frontend/Dockerfile @@ -1,4 +1,4 @@ -FROM getwarped/warp0-debian10-python37:latest +FROM getwarped/warp0-debian10-python38:latest COPY --chown=1001:0 . /opt/app-root/src diff --git a/templates/frontend-v1/deployment.yaml b/templates/frontend-v1/deployment.yaml index 5e80d35..d2783fc 100644 --- a/templates/frontend-v1/deployment.yaml +++ b/templates/frontend-v1/deployment.yaml @@ -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: diff --git a/templates/frontend-v2/deployment.yaml b/templates/frontend-v2/deployment.yaml index 5e80d35..d2783fc 100644 --- a/templates/frontend-v2/deployment.yaml +++ b/templates/frontend-v2/deployment.yaml @@ -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: diff --git a/templates/frontend-v3/deployment.yaml b/templates/frontend-v3/deployment.yaml index 5e80d35..d2783fc 100644 --- a/templates/frontend-v3/deployment.yaml +++ b/templates/frontend-v3/deployment.yaml @@ -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: diff --git a/templates/frontend-v4/deployment.yaml b/templates/frontend-v4/deployment.yaml index 33299a9..a4ed916 100644 --- a/templates/frontend-v4/deployment.yaml +++ b/templates/frontend-v4/deployment.yaml @@ -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: diff --git a/templates/frontend-v5/deployment.yaml b/templates/frontend-v5/deployment.yaml index 73a346a..6239bfe 100644 --- a/templates/frontend-v5/deployment.yaml +++ b/templates/frontend-v5/deployment.yaml @@ -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: diff --git a/templates/frontend/deployment.yaml b/templates/frontend/deployment.yaml index 73a346a..6239bfe 100644 --- a/templates/frontend/deployment.yaml +++ b/templates/frontend/deployment.yaml @@ -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: diff --git a/workshop/content/exercises/06-deployment-resource.md b/workshop/content/exercises/06-deployment-resource.md index b7cd18c..809537c 100644 --- a/workshop/content/exercises/06-deployment-resource.md +++ b/workshop/content/exercises/06-deployment-resource.md @@ -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: @@ -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 diff --git a/workshop/content/exercises/07-replicasets-and-pods.md b/workshop/content/exercises/07-replicasets-and-pods.md index 78d051c..7eabc8d 100644 --- a/workshop/content/exercises/07-replicasets-and-pods.md +++ b/workshop/content/exercises/07-replicasets-and-pods.md @@ -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: