IntegrationsContainer Registry Integrations
Google Container Registry Integration
Learn how to integrate Google Container Registry with Cokpit
Google Container Registry (GCR) Credentials
Step 1: Create Service Account Key
-
Go to Google Cloud Console → IAM & Admin → Service Accounts.
-
Click Create Service Account.
-
Fill in the service account details.
-
Assign the following roles:
- Storage Admin (
roles/storage.admin) - Storage Object Viewer (
roles/storage.objectViewer)
- Storage Admin (
-
Click Create and Continue.
-
Click Create Key and select JSON format.
-
Download and save your key file securely.
💡 Tip: Store your service account key securely. You won't be able to download it again!
Step 2: Add GCR Credentials to Cokpit
-
Open Cokpit and go to Integrations → Container Registry → Google Container Registry.
-
Click Add secret.
-
Fill in the required fields:
- Enter a unique Secret Name
- Upload your Service Account Key file
- Enter the URL (usually
gcr.io)
-
Click Submit.
Security Best Practices
- Create service accounts with minimal required permissions
- Rotate service account keys regularly
- Store service account keys securely
- Use different service accounts for different environments
- Monitor service account usage in Cloud Audit Logs