Create Valkey with GitHub Actions ΒΆ

Valkey is only available in GCP

Valkey is only available in GCP clusters, and will not work in on-prem clusters.

Prerequisites ΒΆ

Create the manifest ΒΆ

Create .nais/valkey.yaml:

.nais/valkey.yaml

Change the name and configuration for your needs. See the complete generated example and Valkey manifest reference.

Create the workflow ΒΆ

Create .github/workflows/deploy-valkey.yaml:

.github/workflows/deploy-valkey.yaml

Replace <MY-TEAM> with your Nais team and <MY-ENV> with a GCP environment available to your tenant, such as dev-gcp or prod-gcp for NAV.

The example uses major action tags for readability. Pin actions to full commit SHAs in production, and use Dependabot to keep them updated. See GitHub's secure use reference .

Commit and push both files to main. The push trigger runs when the manifest changes. If you only change the workflow, run it manually from the Actions tab in GitHub.

A manual run applies the manifest from the selected Git ref, regardless of the paths filter.

Next steps ΒΆ

🎯 Use Valkey in your workload