- download configmaps
- filter out generated fields in configmaps
- snapshot
gcloud container clusters get-credentials autopilot-cluster-1 --region us-central1 --project test-kubernetes-environment
# Download Configmaps
./1-download-configmaps.sh -o snapdir gamestore
# Download CRDs
./1-download-configmaps.sh -o snapdir -c gamestore
source env/bin/activate
mkdir /tmp/snapdir
python src/filter_configmaps.py /tmp/snapdir
kosli snapshot server kubernetes-configurations \
--paths "/tmp/snapdir/*"
pytest