Using the Kubernetes manifest and Kustomization
Cloud Deploy uses Skaffold to render your manifest (or service definition, for Cloud Run) and deploy it to the target runtime. In Chapter 2, you learned about Skaffold (and the skaffold.yaml
configuration file), and you learned about using Kustomize with Skaffold profiles to tailor your configuration for each target.
This chapter uses a Kubernetes manifest and Kustomization (a configuration file for Kustomize), which is available in this book’s GitHub repository: https://github.com/PacktPublishing/Secure-Continuous-Delivery-on-Google-Cloud/tree/main/ch8.
You can get the manifest from this book’s repository, but here’s a look at what’s in the file:
# Copyright 2021 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http...