Using a Skaffold configuration
Cloud Deploy requires that you have at least a minimal Skaffold configuration. Cloud Deploy uses Skaffold to render your manifest (or service definition, for Cloud Run) and apply that manifest to deploy your application.
As with the Kubernetes manifest, you can find the Skaffold configuration (skaffold.yaml
) in the same GitHub repository folder: https://github.com/PacktPublishing/Secure-Continuous-Delivery-on-Google-Cloud/tree/main/ch8.
This is what the skaffold.yaml
looks like:
# 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://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS...