# sponnet **Repository Path**: mirrors_spinnaker/sponnet ## Basic Information - **Project Name**: sponnet - **Description**: Jsonnet library specifically for Spinnaker - **Primary Language**: Unknown - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-09-26 - **Last Updated**: 2026-10-11 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # sponnet A [Jsonnet](https://jsonnet.org/) library specifically for Spinnaker. ## Example ```js local sponnet = import 'pipeline.libsonnet'; local parameters = [ { name: "image_tag", description: "The docker image tag to deploy", required: true, } ]; local patchKubernetesDeployment = sponnet.stages .patchManifest("Update deployment") .withAccount("my-k8s-cluster") .withApplication("my-app") .withNamespace("default") .withManifestName("deployment", "my-app") .withPatchBody([ { "spec": { "template": { "spec": { "containers": [ { "image": "my-app-docker-image:${parameters.image_tag}", "name": "app" } ] } } } } ]); sponnet.pipeline() .withParameters(parameters) .withStages(patchKubernetesDeployment) ``` More examples can be found in [demo](demo) Can also be combined with a Jsonnet [Terraform provider](https://registry.terraform.io/providers/alxrem/jsonnet/latest/docs) to allow the management of Spinnaker resources using [Terraform](https://www.terraform.io/).