Using GCP Secret Manager With Container-Optimized OS VMsUsing Google Cloud Platform Secret Manager service is a convenient way to store and manage secrets. It has many features like automatic rotation, audit logging, access control and many others. It is integrated with GCP services like Cloud Functions, ...11 min read·piotrekkr.hashnode.devNov 10, 2024
Fetch "directories" only from GCS with PHPMy recent task was to search in bucket for objects located in selected "directories" using PHP. Directory list inside bucket is not constant. New directories can be added every few months. Search should fetch all "main directories" that match some pa...3 min read·piotrekkr.hashnode.devOct 7, 2024
Using GitHub secrets may break job outputsIf you don't want to spend hours debugging GitHub CI jobs, avoid using job outputs that may contain secrets inside. Job outputs will not be passed to dependent jobs if they contain secrets in any part of output value. There is a tiny note about this ...2 min read·piotrekkr.hashnode.devAug 18, 2024
How to get multi-architecture manifest SHA256 for a Docker image?Sometimes you have to deal with multiple CPU architectures within your team. For example you have devs using macOS (arm64) and Linux (amd64). This may create some issues when you want to use base image with specific SHA256 inside your app Dockerfile....3 min read·piotrekkr.hashnode.devJul 22, 2024
Cloud-init works differently with COS images in GCPIntroduction When working with VMs you may come across cloud-init tool that could be used to provision your instances. It is a well documented tool and is widely used by cloud providers. You may be quite surprised though that there can be some situat...2 min read·piotrekkr.hashnode.devApr 6, 2024