Errata

GitOps Cookbook

Errata for GitOps Cookbook

Submit your own errata for this product.

The errata list is a list of errors and their corrections that were found after the product was released.

The following errata were submitted by our customers and have not yet been approved or disproved by the author or editor. They solely represent the opinion of the customer.

Color Key: Serious technical mistake Minor technical mistake Language or formatting error Typo Question Note Update

Version Location Description Submitted by Date submitted
PDF Page Page 44
Inside figure 4.1 (Kustomize layout)

Inside the box pointed from the "kustomization.yaml" the value set to the "apiVersion" yaml filed should contain "k8s" subsctring instead of "k85" (i.e. "kustomize.config.k8s.io/v1beta1" instead of "kustomize.config.k85.io/v1beta1")

Antonio Alonso Alarcon  Jan 22, 2023 
PDF Page Page 118
5th code snippet

The following code snippet:

kubectl patch serviceaccount tekton-registry-sa \
-p '{"secrets": [{"name": "container-registry-secret"}]}'

should be replaced with this one:

kubectl patch serviceaccount tekton-registry-sa \
-p '{"imagePullSecrets": [{"name": "container-registry-secret"}]}'

Mohammad Alavi  Jun 23, 2023 
PDF Page Chapter 3.1 Building a Container using Docker
The first code example after the explanation of the dockerfile in the Solution

Original text:
'docker build -f Dockerfile -t quay.io/gitops-cookbook/pythonapp:latest'

Should be:
'docker build -f Dockerfile -t quay.io/gitops-cookbook/pythonapp:latest .'

Without the '.', it just gives error messages about the number of arguments available.

Sarah Ratcliffe  Jan 02, 2025 
PDF Page Chapter 3.1 Building a Container using Docker
After having created the image, when asked to log into quay.io

It doesn't flow very well to be told in chapter 1 to create an account for docker.io, yet the next time we're told to log into an image hosting service, we suddenly need login details for quay.io, which was suggested as an alternative option (not critical for following the instructions).

Sarah Ratcliffe  Jan 02, 2025