This step creates the service account that is needed in the next section as part of the k8s pipeline integration setup.
From the cloud shell clone the demo repository. For example:
git clone https://github.com/dt-demos/JFrog-pipelines-dynatrace-example.git
Navigate into the setup folder.
cd JFrog-pipelines-dynatrace-example/setup
Run this script that creates the k8s service account, adds the namespace for where the sample application will be deployed, and generates a kubeconfig file for a GKE cluster.
./createKubernetesServiceAccounts.sh
Copy the contents from the kubeconfig file to a safe location.