diff --git a/ch04/docker-images/amd64.yml b/ch04/docker-images/amd64.yml index cd87554b..f097683a 100644 --- a/ch04/docker-images/amd64.yml +++ b/ch04/docker-images/amd64.yml @@ -2,4 +2,4 @@ version: "3.7" services: ch04-todo-list: - image: kiamol/ch04-todo-list:latest-linux-amd64 \ No newline at end of file + image: tsouhaieb/todofix:latest-linux-amd64 diff --git a/ch04/docker-images/arm64.yml b/ch04/docker-images/arm64.yml index 6bfaf90d..33f35f20 100644 --- a/ch04/docker-images/arm64.yml +++ b/ch04/docker-images/arm64.yml @@ -2,4 +2,4 @@ version: "3.7" services: ch04-todo-list: - image: kiamol/ch04-todo-list:latest-linux-arm64 \ No newline at end of file + image: tsouhaieb/todofix:latest-linux-arm64 diff --git a/ch04/docker-images/docker-compose.yml b/ch04/docker-images/docker-compose.yml index 911297b8..64e49c7c 100644 --- a/ch04/docker-images/docker-compose.yml +++ b/ch04/docker-images/docker-compose.yml @@ -2,6 +2,6 @@ version: "3.7" services: ch04-todo-list: - image: kiamol/ch04-todo-list:latest + image: tsouhaieb/todofix:latest build: context: ./todo-list \ No newline at end of file diff --git a/ch04/todo-list/todo-web-dev-broken.yaml b/ch04/todo-list/todo-web-dev-broken.yaml index 6ee5d1b2..53da6c75 100644 --- a/ch04/todo-list/todo-web-dev-broken.yaml +++ b/ch04/todo-list/todo-web-dev-broken.yaml @@ -13,7 +13,7 @@ spec: spec: containers: - name: web - image: kiamol/ch04-todo-list + image: tsouhaieb/todofix volumeMounts: - name: config mountPath: "/app" diff --git a/ch04/todo-list/todo-web-dev-no-logging.yaml b/ch04/todo-list/todo-web-dev-no-logging.yaml index db02d591..0f9a2284 100644 --- a/ch04/todo-list/todo-web-dev-no-logging.yaml +++ b/ch04/todo-list/todo-web-dev-no-logging.yaml @@ -13,7 +13,7 @@ spec: spec: containers: - name: web - image: kiamol/ch04-todo-list + image: tsouhaieb/todofix volumeMounts: - name: config mountPath: "/app/config" @@ -23,5 +23,5 @@ spec: configMap: name: todo-web-config-dev items: - - key: config.json - path: config.json + - key: config.json + path: config.json diff --git a/ch04/todo-list/todo-web-dev.yaml b/ch04/todo-list/todo-web-dev.yaml index 5d54cce6..8f7bc9f9 100644 --- a/ch04/todo-list/todo-web-dev.yaml +++ b/ch04/todo-list/todo-web-dev.yaml @@ -13,7 +13,7 @@ spec: spec: containers: - name: web - image: kiamol/ch04-todo-list + image: tsouhaieb/todofix volumeMounts: - name: config mountPath: "/app/config" diff --git a/ch04/todo-list/todo-web-test.yaml b/ch04/todo-list/todo-web-test.yaml index 75b80b47..b4750126 100644 --- a/ch04/todo-list/todo-web-test.yaml +++ b/ch04/todo-list/todo-web-test.yaml @@ -28,10 +28,10 @@ spec: spec: containers: - name: web - image: kiamol/ch04-todo-list + image: tsouhaieb/todofix env: - - name: ASPNETCORE_ENVIRONMENT - value: Test + - name: ASPNETCORE_ENVIRONMENT + value: Test volumeMounts: - name: config mountPath: "/app/config" @@ -44,12 +44,12 @@ spec: configMap: name: todo-web-config-test items: - - key: config.json - path: config.json + - key: config.json + path: config.json - name: secret secret: secretName: todo-web-secret-test defaultMode: 0400 items: - - key: secrets.json - path: secrets.json + - key: secrets.json + path: secrets.json diff --git a/ch04/todo-list/todo-web.yaml b/ch04/todo-list/todo-web.yaml index a424c6f0..e56de24d 100644 --- a/ch04/todo-list/todo-web.yaml +++ b/ch04/todo-list/todo-web.yaml @@ -25,7 +25,7 @@ spec: spec: containers: - name: web - image: kiamol/ch04-todo-list + image: tsouhaieb/todofix env: - name: Logging__LogLevel__Default value: Warning diff --git a/ch05/lab/solution/web.yaml b/ch05/lab/solution/web.yaml index f1fa6fb8..0f67d2b5 100644 --- a/ch05/lab/solution/web.yaml +++ b/ch05/lab/solution/web.yaml @@ -24,12 +24,12 @@ spec: spec: containers: - name: web - image: kiamol/ch04-todo-list + image: tsouhaieb/todofix env: - - name: Database__Provider - value: Sqlite - - name: ConnectionStrings__ToDoDb - value: "Filename=/data/todo-list-lab.db" + - name: Database__Provider + value: Sqlite + - name: ConnectionStrings__ToDoDb + value: "Filename=/data/todo-list-lab.db" volumeMounts: - name: data mountPath: /data diff --git a/ch05/lab/todo-list/web.yaml b/ch05/lab/todo-list/web.yaml index b14988af..b822881c 100644 --- a/ch05/lab/todo-list/web.yaml +++ b/ch05/lab/todo-list/web.yaml @@ -25,9 +25,9 @@ spec: spec: containers: - name: web - image: kiamol/ch04-todo-list + image: tsouhaieb/todofix env: - - name: Database__Provider - value: Sqlite - - name: ConnectionStrings__ToDoDb - value: "Filename=/data/todo-list-lab.db" + - name: Database__Provider + value: Sqlite + - name: ConnectionStrings__ToDoDb + value: "Filename=/data/todo-list-lab.db" diff --git a/ch05/todo-list/web/todo-web.yaml b/ch05/todo-list/web/todo-web.yaml index cd7b85c5..37a6c07d 100644 --- a/ch05/todo-list/web/todo-web.yaml +++ b/ch05/todo-list/web/todo-web.yaml @@ -25,10 +25,10 @@ spec: spec: containers: - name: web - image: kiamol/ch04-todo-list + image: tsouhaieb/todofix env: - - name: ASPNETCORE_ENVIRONMENT - value: Test + - name: ASPNETCORE_ENVIRONMENT + value: Test volumeMounts: - name: config mountPath: "/app/config" @@ -41,12 +41,12 @@ spec: configMap: name: todo-web-config items: - - key: config.json - path: config.json + - key: config.json + path: config.json - name: secret secret: secretName: todo-web-secret defaultMode: 0400 items: - - key: secrets.json - path: secrets.json + - key: secrets.json + path: secrets.json diff --git a/ch08/todo-list/web/todo-web.yaml b/ch08/todo-list/web/todo-web.yaml index 4633c596..f175a243 100644 --- a/ch08/todo-list/web/todo-web.yaml +++ b/ch08/todo-list/web/todo-web.yaml @@ -15,10 +15,10 @@ spec: spec: containers: - name: web - image: kiamol/ch04-todo-list + image: tsouhaieb/todofix env: - - name: ASPNETCORE_ENVIRONMENT - value: Test + - name: ASPNETCORE_ENVIRONMENT + value: Test volumeMounts: - name: config mountPath: "/app/config" @@ -31,12 +31,12 @@ spec: configMap: name: todo-web-config items: - - key: config.json - path: config.json + - key: config.json + path: config.json - name: secret secret: secretName: todo-web-secret defaultMode: 0400 items: - - key: secrets.json - path: secrets.json + - key: secrets.json + path: secrets.json diff --git a/ch08/todo-list/web/update/todo-web-readonly.yaml b/ch08/todo-list/web/update/todo-web-readonly.yaml index f1c90660..cd8767e8 100644 --- a/ch08/todo-list/web/update/todo-web-readonly.yaml +++ b/ch08/todo-list/web/update/todo-web-readonly.yaml @@ -15,12 +15,12 @@ spec: spec: containers: - name: web - image: kiamol/ch04-todo-list + image: tsouhaieb/todofix env: - - name: ASPNETCORE_ENVIRONMENT - value: Test - - name: Database__ReadOnly - value: "true" + - name: ASPNETCORE_ENVIRONMENT + value: Test + - name: Database__ReadOnly + value: "true" volumeMounts: - name: config mountPath: "/app/config" @@ -33,12 +33,12 @@ spec: configMap: name: todo-web-config items: - - key: config.json - path: config.json + - key: config.json + path: config.json - name: secret secret: secretName: todo-web-secret defaultMode: 0400 items: - - key: secrets.json - path: secrets.json + - key: secrets.json + path: secrets.json diff --git a/ch09/todo-list/web/todo-web.yaml b/ch09/todo-list/web/todo-web.yaml index b3cde14a..51c31309 100644 --- a/ch09/todo-list/web/todo-web.yaml +++ b/ch09/todo-list/web/todo-web.yaml @@ -15,10 +15,10 @@ spec: spec: containers: - name: web - image: kiamol/ch04-todo-list + image: tsouhaieb/todofix env: - - name: ASPNETCORE_ENVIRONMENT - value: Test + - name: ASPNETCORE_ENVIRONMENT + value: Test volumeMounts: - name: config mountPath: "/app/config" @@ -31,12 +31,12 @@ spec: configMap: name: todo-web-config items: - - key: config.json - path: config.json + - key: config.json + path: config.json - name: secret secret: secretName: todo-web-secret defaultMode: 0400 items: - - key: secrets.json - path: secrets.json + - key: secrets.json + path: secrets.json diff --git a/ch09/todo-list/web/update/todo-web-readonly.yaml b/ch09/todo-list/web/update/todo-web-readonly.yaml index 8cd3c7ec..b7e60bb4 100644 --- a/ch09/todo-list/web/update/todo-web-readonly.yaml +++ b/ch09/todo-list/web/update/todo-web-readonly.yaml @@ -15,12 +15,12 @@ spec: spec: containers: - name: web - image: kiamol/ch04-todo-list + image: tsouhaieb/todofix env: - - name: ASPNETCORE_ENVIRONMENT - value: Test - - name: Database__ReadOnly - value: "true" + - name: ASPNETCORE_ENVIRONMENT + value: Test + - name: Database__ReadOnly + value: "true" volumeMounts: - name: config mountPath: "/app/config" @@ -33,12 +33,12 @@ spec: configMap: name: todo-web-config items: - - key: config.json - path: config.json + - key: config.json + path: config.json - name: secret secret: secretName: todo-web-secret defaultMode: 0400 items: - - key: secrets.json - path: secrets.json + - key: secrets.json + path: secrets.json diff --git a/ch10/lab/ch10-lab-solution/templates/todo-web-deployment.yaml b/ch10/lab/ch10-lab-solution/templates/todo-web-deployment.yaml index 777f7c8e..5ff3bf98 100644 --- a/ch10/lab/ch10-lab-solution/templates/todo-web-deployment.yaml +++ b/ch10/lab/ch10-lab-solution/templates/todo-web-deployment.yaml @@ -17,7 +17,7 @@ spec: spec: containers: - name: web - image: kiamol/ch04-todo-list + image: tsouhaieb/todofix env: - name: ASPNETCORE_ENVIRONMENT value: {{ .Values.environment | title }} diff --git a/ch10/lab/todo-list/todo-web-deployment.yaml b/ch10/lab/todo-list/todo-web-deployment.yaml index dace28ab..c3614604 100644 --- a/ch10/lab/todo-list/todo-web-deployment.yaml +++ b/ch10/lab/todo-list/todo-web-deployment.yaml @@ -1,26 +1,26 @@ apiVersion: apps/v1 kind: Deployment metadata: - name: todo-web # this needs to be templated + name: todo-web # this needs to be templated labels: kiamol: ch10-lab spec: selector: - matchLabels: # this needs to be templated - app: todo-web + matchLabels: # this needs to be templated + app: todo-web environment: test template: metadata: - labels: # this needs to be templated + labels: # this needs to be templated app: todo-web environment: test spec: containers: - name: web - image: kiamol/ch04-todo-list + image: tsouhaieb/todofix env: - - name: ASPNETCORE_ENVIRONMENT - value: Test # this should be parameterized + - name: ASPNETCORE_ENVIRONMENT + value: Test # this should be parameterized volumeMounts: - name: config mountPath: "/app/config" @@ -28,4 +28,4 @@ spec: volumes: - name: config configMap: - name: todo-web-config # this needs to be templated + name: todo-web-config # this needs to be templated diff --git a/ch12/todo-list/helm/v1/todo-list/templates/todo-web-deployment.yaml b/ch12/todo-list/helm/v1/todo-list/templates/todo-web-deployment.yaml index 53946591..1c2edfb5 100644 --- a/ch12/todo-list/helm/v1/todo-list/templates/todo-web-deployment.yaml +++ b/ch12/todo-list/helm/v1/todo-list/templates/todo-web-deployment.yaml @@ -16,7 +16,7 @@ spec: spec: containers: - name: web - image: kiamol/ch04-todo-list + image: tsouhaieb/todofix volumeMounts: - name: config mountPath: "/app/config" diff --git a/ch12/todo-list/helm/v2/todo-list/templates/todo-web-deployment.yaml b/ch12/todo-list/helm/v2/todo-list/templates/todo-web-deployment.yaml index 53946591..1c2edfb5 100644 --- a/ch12/todo-list/helm/v2/todo-list/templates/todo-web-deployment.yaml +++ b/ch12/todo-list/helm/v2/todo-list/templates/todo-web-deployment.yaml @@ -16,7 +16,7 @@ spec: spec: containers: - name: web - image: kiamol/ch04-todo-list + image: tsouhaieb/todofix volumeMounts: - name: config mountPath: "/app/config" diff --git a/ch12/todo-list/helm/v3/todo-list/templates/todo-web-deployment.yaml b/ch12/todo-list/helm/v3/todo-list/templates/todo-web-deployment.yaml index 53946591..1c2edfb5 100644 --- a/ch12/todo-list/helm/v3/todo-list/templates/todo-web-deployment.yaml +++ b/ch12/todo-list/helm/v3/todo-list/templates/todo-web-deployment.yaml @@ -16,7 +16,7 @@ spec: spec: containers: - name: web - image: kiamol/ch04-todo-list + image: tsouhaieb/todofix volumeMounts: - name: config mountPath: "/app/config" diff --git a/ch12/todo-list/helm/v4/todo-list/templates/todo-web-deployment.yaml b/ch12/todo-list/helm/v4/todo-list/templates/todo-web-deployment.yaml index 53946591..1c2edfb5 100644 --- a/ch12/todo-list/helm/v4/todo-list/templates/todo-web-deployment.yaml +++ b/ch12/todo-list/helm/v4/todo-list/templates/todo-web-deployment.yaml @@ -16,7 +16,7 @@ spec: spec: containers: - name: web - image: kiamol/ch04-todo-list + image: tsouhaieb/todofix volumeMounts: - name: config mountPath: "/app/config" diff --git a/ch12/todo-list/web/todo-web.yaml b/ch12/todo-list/web/todo-web.yaml index 8ecf50a3..c0fe3c7b 100644 --- a/ch12/todo-list/web/todo-web.yaml +++ b/ch12/todo-list/web/todo-web.yaml @@ -16,7 +16,7 @@ spec: spec: containers: - name: web - image: kiamol/ch04-todo-list + image: tsouhaieb/todofix volumeMounts: - name: config mountPath: "/app/config" @@ -40,12 +40,12 @@ spec: configMap: name: todo-web-config items: - - key: config.json - path: config.json + - key: config.json + path: config.json - name: secret secret: secretName: todo-web-secret defaultMode: 0400 items: - - key: secrets.json - path: secrets.json + - key: secrets.json + path: secrets.json diff --git a/ch14/todo-list/web.yaml b/ch14/todo-list/web.yaml index db9f3f55..ef0c41e7 100644 --- a/ch14/todo-list/web.yaml +++ b/ch14/todo-list/web.yaml @@ -59,7 +59,7 @@ spec: spec: containers: - name: web - image: kiamol/ch04-todo-list + image: tsouhaieb/todofix volumeMounts: - name: config mountPath: "/app/config" @@ -72,12 +72,12 @@ spec: configMap: name: todo-web-config items: - - key: config.json - path: config.json + - key: config.json + path: config.json - name: secret secret: secretName: todo-web-secret defaultMode: 0400 items: - - key: secrets.json - path: secrets.json + - key: secrets.json + path: secrets.json diff --git a/ch15/todo-list/web.yaml b/ch15/todo-list/web.yaml index 5d5ef6f5..0c3c65b3 100644 --- a/ch15/todo-list/web.yaml +++ b/ch15/todo-list/web.yaml @@ -63,7 +63,7 @@ spec: spec: containers: - name: web - image: kiamol/ch04-todo-list + image: tsouhaieb/todofix volumeMounts: - name: config mountPath: "/app/config" diff --git a/ch16/todo-list/production/update/web.yaml b/ch16/todo-list/production/update/web.yaml index ad125fc0..a4cde66b 100644 --- a/ch16/todo-list/production/update/web.yaml +++ b/ch16/todo-list/production/update/web.yaml @@ -54,7 +54,7 @@ spec: spec: containers: - name: web - image: kiamol/ch04-todo-list + image: tsouhaieb/todofix readinessProbe: httpGet: path: / diff --git a/ch16/todo-list/production/web.yaml b/ch16/todo-list/production/web.yaml index e3f8a820..342672df 100644 --- a/ch16/todo-list/production/web.yaml +++ b/ch16/todo-list/production/web.yaml @@ -53,7 +53,7 @@ spec: spec: containers: - name: web - image: kiamol/ch04-todo-list + image: tsouhaieb/todofix volumeMounts: - name: config mountPath: "/app/config" diff --git a/ch16/todo-list/update/web-with-kiamol-labels.yaml b/ch16/todo-list/update/web-with-kiamol-labels.yaml index 011a2be0..6348def1 100644 --- a/ch16/todo-list/update/web-with-kiamol-labels.yaml +++ b/ch16/todo-list/update/web-with-kiamol-labels.yaml @@ -43,7 +43,7 @@ spec: spec: containers: - name: web - image: kiamol/ch04-todo-list + image: tsouhaieb/todofix volumeMounts: - name: config mountPath: "/app/config" diff --git a/ch16/todo-list/web.yaml b/ch16/todo-list/web.yaml index 3218d644..49b3702c 100644 --- a/ch16/todo-list/web.yaml +++ b/ch16/todo-list/web.yaml @@ -37,7 +37,7 @@ spec: spec: containers: - name: web - image: kiamol/ch04-todo-list + image: tsouhaieb/todofix volumeMounts: - name: config mountPath: "/app/config" diff --git a/ch17/todo-list/01-service-account.yaml b/ch17/todo-list/01-service-account.yaml index e351fda5..cfd1f27e 100644 --- a/ch17/todo-list/01-service-account.yaml +++ b/ch17/todo-list/01-service-account.yaml @@ -28,7 +28,7 @@ spec: readOnly: false containers: - name: web - image: kiamol/ch04-todo-list + image: tsouhaieb/todofix volumeMounts: - name: shared mountPath: "/app/config" diff --git a/ch17/todo-list/03-deployment.yaml b/ch17/todo-list/03-deployment.yaml index e351fda5..cfd1f27e 100644 --- a/ch17/todo-list/03-deployment.yaml +++ b/ch17/todo-list/03-deployment.yaml @@ -28,7 +28,7 @@ spec: readOnly: false containers: - name: web - image: kiamol/ch04-todo-list + image: tsouhaieb/todofix volumeMounts: - name: shared mountPath: "/app/config"